3 ms·
Are you changing the position of the divs multiple times per "event" (i.e. mouse/keyboard event, etc) or just very frequently on separate events? Very frequent
by gruseom 18y ago
Are you changing the position of the divs multiple times per "event" (i.e. mouse/keyboard event, etc) or just very frequently on separate events?
Very frequently on separate events.
What are all these divs?
The cells of a spreadsheet. (The pos/size resets happen as the user scrolls or does something resizey. Oh, and the content of the divs changes under these conditions too.)
Are they simple enough they could be drawn with Canvas?
They're about as simple as you could get (at least before you add in formatting and all that). I never considered Canvas as an option - do you recommend trying it?
We might not need to do anything, since the deterioration in FF3 is already getting better with the next release of FF (Shiretoko), though not as good as FF2. On the other hand, performance of this particular UI is critical to its user-acceptance, and if there's something we can do to get significant improvement I'd probably go for it.