Closed Bug 529222 Opened 15 years ago Closed 14 years ago

Paint is slow on Windows Mobile

Categories

(Firefox for Android Graveyard :: General, defect)

All
Windows Mobile 6 Professional
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: alexp, Unassigned)

Details

(Whiteboard: mothballed)

Attachments

(1 file)

Attached file 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.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → WONTFIX
Whiteboard: mothballed
Component: Windows Mobile → General
QA Contact: mobile-windows → general
Hardware: x86 → All
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: