S
Simon
Hey gang.
First off I want to say thanks for all the efforts on the NETCF. I really
love the library set.
I am a mobile developer who works on 3 major mobile platforms
(WM/BlackBerry/iPhone) and by far .NET is my most experienced platform for me
however our applications start up time is far longer on NETCF than the other
2 platforms.
I really want to eliminate the "slow WM" perception and I really think it
relates to our application start up time because I think once the app is up
and going it flies through some seriously impressive amount of code. NETCF2
really improved huge performance in this regard.
No other SDK comes even close to NETCFv2+. Seriously the best SDK.
However application start up is taking around 10-14 seconds of the spinning
cursor until the Main() methods first line occurs in our application.
What kinds of things can I improve on to reduce this?
Perception is reality sadly. The iPhone does not have super fast app loading
either, but they do some hacky things to improve the "perception". I doubt
I'm able to publically discuss this because of their license agreements
however
I really want to try and improve this experience if possible. I am thinking
of taking any code out of the Main() and constructor so that a window can pop
up as fast as possible, and then do loading.
People want to see the "window" pop up ASAP generally, or else they consider
it slow, even if a wait cursor occurs once the window has shown.
However it takes 10-14 seconds to hit the Main method, so what kinds of
things can cause this?
I imagine straight up amounts of code the JIT has to munch through is one
factor. Is there anything programatically I can do to relieve this?
Are static objects being allocated at this point and increasing the loading
time?
Any help would be greatly appreciated!
Thanks and take care,
Simon
First off I want to say thanks for all the efforts on the NETCF. I really
love the library set.
I am a mobile developer who works on 3 major mobile platforms
(WM/BlackBerry/iPhone) and by far .NET is my most experienced platform for me
however our applications start up time is far longer on NETCF than the other
2 platforms.
I really want to eliminate the "slow WM" perception and I really think it
relates to our application start up time because I think once the app is up
and going it flies through some seriously impressive amount of code. NETCF2
really improved huge performance in this regard.
No other SDK comes even close to NETCFv2+. Seriously the best SDK.
However application start up is taking around 10-14 seconds of the spinning
cursor until the Main() methods first line occurs in our application.
What kinds of things can I improve on to reduce this?
Perception is reality sadly. The iPhone does not have super fast app loading
either, but they do some hacky things to improve the "perception". I doubt
I'm able to publically discuss this because of their license agreements
however
I really want to try and improve this experience if possible. I am thinking
of taking any code out of the Main() and constructor so that a window can pop
up as fast as possible, and then do loading.
People want to see the "window" pop up ASAP generally, or else they consider
it slow, even if a wait cursor occurs once the window has shown.
However it takes 10-14 seconds to hit the Main method, so what kinds of
things can cause this?
I imagine straight up amounts of code the JIT has to munch through is one
factor. Is there anything programatically I can do to relieve this?
Are static objects being allocated at this point and increasing the loading
time?
Any help would be greatly appreciated!
Thanks and take care,
Simon