View Single Post
Old 03-04-2010, 12:02 PM   #16
Kolenka
<Insert Wit Here>
Kolenka ought to be getting tired of karma fortunes by now.Kolenka ought to be getting tired of karma fortunes by now.Kolenka ought to be getting tired of karma fortunes by now.Kolenka ought to be getting tired of karma fortunes by now.Kolenka ought to be getting tired of karma fortunes by now.Kolenka ought to be getting tired of karma fortunes by now.Kolenka ought to be getting tired of karma fortunes by now.Kolenka ought to be getting tired of karma fortunes by now.Kolenka ought to be getting tired of karma fortunes by now.Kolenka ought to be getting tired of karma fortunes by now.Kolenka ought to be getting tired of karma fortunes by now.
 
Kolenka's Avatar
 
Posts: 1,017
Karma: 1275899
Join Date: Jan 2008
Location: Puget Sound
Device: Kindle Oasis, Kobo Forma
Quote:
Originally Posted by badbob001 View Post
I've also heard that zipping with zero compression may speed things up.
I actually tried that... but it didn't really make any difference. There is a little bit of randomness in the time it takes to load a file (since there is other stuff happening on the device at the same time), and the overhead of decompressing is smaller than that.

The real performance killers are PNGs that are just too big (as the image passes about 2-2.5MB it starts taking longer than 2 seconds to load the PNG), and progressive JPEGs.

My performance on a real device with a compressed zip, and baseline JPEGs of up to 1600 pixels high is about 2-3 seconds the load the comic once UDS is running, and at most about 1-1.2 seconds to turn a page when I managed to empty the cache by spamming the 'next page' button. If the page is in the cache, it should be instant.

If you are getting a lag of ~3 seconds or longer to switch a page, progressive JPEGs are your likely culprit.
Kolenka is offline   Reply With Quote