PC Review


Reply
Thread Tools Rate Thread

Slow load on MS Smartphone

 
 
Miron Ophir
Guest
Posts: n/a
 
      28th Dec 2004
Our application use a lot of graphics as embedded resources.
Application load time is 30 to 40 seconds!
Without the images it is a couple of seconds only.
Is there an optimized way of using graphics in graphics extensive
application?


 
Reply With Quote
 
 
 
 
Ed Kaim
Guest
Posts: n/a
 
      4th Jan 2005
The problem with using embedded resources is that they can take twice as
much memory for each image. For example, having a 100KB image as an embedded
resource gets counted once by loading the app itself and again by the new
bitmap object you create to wrap it. A way to speed up performance would be
to deploy the images as files to the file system and then load them from
there at runtime.

Another alternative is to use vector drawing, which only works if your
images break down into shape primitives nicely.

"Miron Ophir" <miron a_t mobimate d_o_t com> wrote in message
news:(E-Mail Removed)...
> Our application use a lot of graphics as embedded resources.
> Application load time is 30 to 40 seconds!
> Without the images it is a couple of seconds only.
> Is there an optimized way of using graphics in graphics extensive
> application?
>
>



 
Reply With Quote
 
Ryan Chapman [MSFT]
Guest
Posts: n/a
 
      8th Jan 2005
Hi Miron,

Is this on SmartPhone? If so, using graphics as an embedded resource will
inflate the executable size which can lead to slow start times as the OS
performs a hash check on the file before executing it. If the executable
is also strong name signed, the CLR may perform a second hash check to
verify the strong name signature. You may consider moving the graphic
files to a separate assembly or a set of assemblies to improve performance.

Ryan Chapman
..NET Compact Framework

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

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Slow Startup/Shutdown and Slow Application Load Times =?Utf-8?B?Um9i?= Windows XP Performance 2 10th Feb 2007 08:26 PM
smartphone load user profiles (normal,miting,mute,ecc..) TG Microsoft Dot NET Compact Framework 1 20th Nov 2004 09:46 AM
how to load image from URL on smartphone =?Utf-8?B?QW5uZWI=?= Microsoft Dot NET Compact Framework 0 29th Jun 2004 06:41 PM
Smartphone app retrieving a document from another smartphone Daryl Wilding-McBride Microsoft Dot NET Compact Framework 2 10th Jun 2004 08:51 AM
Re: WORD documents load slow slow slow Graham Mayor Microsoft Word Document Management 1 9th Jan 2004 08:16 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:42 PM.