Hello everybody,
back from profiling in IE8:
After profiling my monster form I noticed that from a total of 24
seconds (profiling runtime) for the first open it spent 13 seconds (over
50%) in line 71 of the method getWidth of qx.bom.element.Dimension. Here
is the code:
return element.offsetWidth;
After crosschecking with qx 0.7 where getWidth has the same
implementation for mshtml I digged around where the difference may come
from.
I then noticed that my qx 0.7 app was executed in IE8 in quirksmode
where my 1.2 app was executed in IE8 standards mode.
After forcing my qx 1.2 app in quirksmode line 71 of
qx.bom.element.Dimension disappeared from the top places of the profiler
run and the total runtime for the first open run went down to 12 seconds!!!!
Running the build version of the qx 1.2 app, the first open of the
monster form went down to 6 seconds from 17 seconds for the build
version!!!!
Using the lightweight widgets for radiobutton and checkbox cuts down
another second from the runtime so now the form opens after 5 seconds
for the first run.
By default a new skeleton app generates a xhtml-file which forces IE8 in
standard mode.
Why is element.offsetWidth so much faster in quirksmode?
Any ideas???
Regards...
Am 17.08.2010 11:54, schrieb Dietrich Streifert:
> I integrated the lightweight radiobutton and checkbox widgets into my
> project and the disappointing fact is that I only gained 1 sec for the
> first open.
>
> I've done some more exact measurement using differences of
> Date.getTime() from the start of subwidget creation of the dialog up to
> the "loading finished" event.
> Here they are for IE8:
>
> svn trunk 1.3.x with builtin checkbox and radiobutton: 18587
> svn trunk 1.3.x with lightweight checkbox and radiobutton: 17557
> svn branches/legacy_0_7_x: 3172
>
> I think the lightweight widgets are a dead end. So my invstigations will
> go next into exact profiling with IE, but that's another thread.
>
> Thanks a lot to everybody posting in this thread.
>
> Regards...
>
--
Mit freundlichen Grüßen
Dietrich Streifert
--
Visionet GmbH
Firmensitz: Am Weichselgarten 7, 91058 Erlangen
Registergericht: Handelsregister Fürth, HRB 6573
Geschäftsführer: Stefan Lindner
------------------------------------------------------------------------------
This SF.net email is sponsored by
Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel