Improve Application Startup Peformance

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a fairly large CF 2.0 application with three files: 2 DLL's 556KB,
361KB and the .exe of 108K. I'm looking for any hints on how to make the
initial load of my application run faster. I'm using CeDbgView32 and it
looks like from the time the first thread is started until the first line of
code is executed in my app is about 5 seconds on an iPAQ with 550MHz
processor.

Once it finally gets to my code it's about 2.25 seconds until the app
"appears" ready and performance from then on seems acceptable. I'm just
looking for a way to get that initial 5 seconds down to a more reasonable 1-3
seconds.

Anyone have any thoughts?
 
It's actually GREAT startup performance as is. If you check forum's
archives, you'll find many developers been trying to go from something like
30-45 seconds to 15-20 seconds.

You have only 5 seconds which is rather impressive for application that big.


--
Best regards,

Ilya

This posting is provided "AS IS" with no warranties, and confers no rights.

*** Want to find answers instantly? Here's how... ***

1. Go to
http://groups-beta.google.com/group/microsoft.public.dotnet.framework.compactframework?hl=en
2. Type your question in the text box near "Search this group" button.
3. Hit "Search this group" button.
4. Read answer(s).
 
Thank you for the response Ilya - Can I quote you to my client ;) They have
a difficult time understanding why messaging/outlook on a Pocket PC can start
within 1-2 seconds and my app takes as long as it does...my solution was to
create a simple C++ app to bring up a screen immediately then use that to
launch the rest of the app...
 
That's because outlook is a native built-in (read: already loaded)
application, there's no need to load data from slow flash, validate strong
names, JIT code and so on.

In any case, 5 seconds startup time is very reasonable even by desktop
standards.


--
Best regards,

Ilya

This posting is provided "AS IS" with no warranties, and confers no rights.

*** Want to find answers instantly? Here's how... ***

1. Go to
http://groups-beta.google.com/group/microsoft.public.dotnet.framework.compactframework?hl=en
2. Type your question in the text box near "Search this group" button.
3. Hit "Search this group" button.
4. Read answer(s).
 
Back
Top