Hi Jasper, here I go with the "CFMessage" version:
(note: the url posted recently doesnt work anymore, use
http://www.24fun.com/downloadcenter/benchjs/
instead if you do the same tests as they seem to need
the parent frameset now for the submit-JS)
TEST 1 time: 1.68 sec.
TEST 2 time: 1.149 sec.
TEST 3 time: 1.583 sec.
TEST 4 time: 0.909 sec.
TEST 5 time: 0.419 sec.
TEST 6 time: 3.575 sec.
TEST 7 time: 1.162 sec.
TOTAL 10.48 seconds
That's much closer to the "OEH Camino", still with significantly
smoother layer test (6). I also think Test 6 shouldn't count on the OEH
version because it is not displayed correctly (skips frames...).
Test 1 isn't anymore a bottleneck, that's good news :)
I'm adding the test descriptions for reference...
Test 1 counts to a 10000 and displays the figures inside the status bar.
At the same time it displays a red progress bar.
Test 2 opens eight red popup-windows and closes them again
Test 3 replaces 300 tiny images as fast as possible. It repeats this
procedure 10 times.
Test 4 manipulates a long text in different ways.
Test 5 creates 2000 table-cells and calculates a random backgroundcolor
for each table-cell.
Test 6 creates a phrase out of 50 different layers that are pulled
together.
Test 7 calculates the days of the week for the next 10000 x-mas.
IMPORTANT: The test considers only the calculating-time NOT the
time required to display the result!
Regards,
LP
On 23. Nov 2004, at 16:38, Jasper Hauser wrote:
Hi Lorenzo,
An new build was put up that contains an even better patch, have a look
at bug https://bugzilla.mozilla.org/show_bug.cgi?id=271050 and you will
find the url. It would be nice if you could do the same tests for us.
Jasper
On 23-nov-04, at 16:25, Lorenzo Perone wrote:
Hi, I've run both versions on the test page
http://www.24fun.com/downloadcenter/benchjs/start.html
which is a good start point for this kind of tests I think.
It was tested on a dual 1.8ghz G5 in equal conditions.
New Event Handling Camino:
TEST 1 time: 6.2 sec.
TEST 2 time: 0.959 sec.
TEST 3 time: 1.663 sec.
TEST 4 time: 0.869 sec.
TEST 5 time: 0.36 sec.
TEST 6 time: 3.679 sec.
TEST 7 time: 1.103 sec.
TOTAL: 14.833 sec.
Old Event Handling Camino:
TEST 1 time: 1.678 sec.
TEST 2 time: 0.909 sec.
TEST 3 time: 1.387 sec.
TEST 4 time: 0.843 sec.
TEST 5 time: 0.332 sec.
TEST 6 time: 3.107 sec.
TEST 7 time: 1.059 sec.
TOTAL: 9.315 sec.
Note that while the new event handling camino overall performs slower
(mainly bevause of the huge difference in Test 1, which is a Javasript
loop), Test 6 (which is about moving a lot of layers) performs much
smoother
than with the OEH - much more like Safari does in this kind
of things. The OEH version seems to "cheat" on that test (6) by just
skipping
a lot of frames.
Keeping an eye on top showed only one peak at 100% on test
7 for both versions. Overall, the NEH Camino kept usage under 30% CPU
while the OEH Camino was around 60%.
If I find out the right flags for top to sample Camino's CPU usage in
a less
"user-dependant" way, I'll be happy to send you the results... :)
Hope it can help for the beginning,
Regards,
Lorenzo
_______________________________________________
Camino mailing list
[EMAIL PROTECTED]
http://mozdev.org/mailman/listinfo/camino