Created attachment 412780 [details] Timings The slowdowns in the Paint functions seem to be due to the files loading. The log with timings is attached. A section from the log for one OnPaint call is copied here: http://pastebin.mozilla.org/684303 Every time when a new nsImageLoader is created, the nsCSSRendering::PaintBackground function takes up to 100 ms compared to normal 3-4 ms. Once the file used for rendering is loaded and cached, further timings come back to normal. Similar slowdowns happen for many elements, the background is probably just one of the most noticeable.
do you know what the image is being loaded and if it has a alpha channel set?
I believe the slowdown is just because of the fact of file loading itself, it is not related to a specific image. File system on WinMo is just too slow.
Is it being loaded from a JAR file? We should have mmap working for JAR files now.
The measurements were made three weeks ago. The situation may have changed since then - needs confirmation.
This year we mothballed windows mobile development. See: http://blog.pavlov.net/2010/03/22/stopping-development-for-windows-mobile/ Marking bugs in the windows mobile / windows ce bucket as WONTFIX.