473,396 Members | 1,785 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

DOM access speed mini BenchMark : Safari vs FireFox vs Opera

Based on the table shuffling code of the recent cljs thread "Randomize
HTML Table Rows from JavaScript " (http://tinyurl.com/56g37t), I get
this results :

e.replaceChild() (SAM's code) :

FF2 : 1x
FF3: 1.3x
Opera 9.5 : 4.8x
Safari r34469 : 8.4x
e.insertBefore() (Thomas' code) :

FF2 : 1x
FF3: 1.2x
Opera 9.5 : 4.7x
Safari r34469 : 10.8x

e.appendChild() (Jorge's code) :

FF2 : 1x
FF3: 1.1x
Opera 9.5 : 4.3x
Safari r34469 : 10.2x

As the JavaScript core (Sun Spider : webkit.org/perf/sunspider-0.9/
sunspider.html) benchmarks were already showing, Safari is the
fastest, but I wasn't expecting such **huge** differences in DOM
manipulation speeds...

The data : (got it on my Mac/OS 10.5.3)

FF2.0.0.14

159.1/100 ms (SAM)
104.2/100 ms (Thomas)
88.66/100 ms (Jorge)

FF3.0

123.23/100 ms (SAM)
86.7/100 ms (Thomas)
83.72/100 ms (Jorge)

Opera 9.5

33.25/100 ms (SAM)
22.33/100 ms (Thomas)
20.61/100 ms (Jorge)

Safari/WebKit r34469 :

18.92/100 ms (SAM)
9.69/100 ms (Thomas)
8.72/100 ms (Jorge)

Take it with a grain of salt.

--Jorge.
Jul 1 '08 #1
3 1911
Jorge meinte:
Based on the table shuffling code of the recent cljs thread "Randomize
HTML Table Rows from JavaScript " (http://tinyurl.com/56g37t), I get
this results :
As the JavaScript core (Sun Spider : webkit.org/perf/sunspider-0.9/
sunspider.html) benchmarks were already showing, Safari is the
fastest, but I wasn't expecting such **huge** differences in DOM
manipulation speeds...

The data : (got it on my Mac/OS 10.5.3)

FF2.0.0.14

159.1/100 ms (SAM)
104.2/100 ms (Thomas)
88.66/100 ms (Jorge)

FF3.0

123.23/100 ms (SAM)
86.7/100 ms (Thomas)
83.72/100 ms (Jorge)

Opera 9.5

33.25/100 ms (SAM)
22.33/100 ms (Thomas)
20.61/100 ms (Jorge)

Safari/WebKit r34469 :

18.92/100 ms (SAM)
9.69/100 ms (Thomas)
8.72/100 ms (Jorge)

Take it with a grain of salt.
Indeed. (WinXP, "normally" running system)

FF3 (all sorts of extensions activated): 94/64/63
Safari 3: 21/15/15
Opera 9.5: 15/0.5/0 (!)

Looking at the result I can state, that Opera is approx. 1,000,000,000
faster than Safari... Man this *is* fast.

Gregor


--
http://photo.gregorkofler.at ::: Landschafts- und Reisefotografie
http://web.gregorkofler.com ::: meine JS-Spielwiese
http://www.image2d.com ::: Bildagentur für den alpinen Raum
Jul 2 '08 #2
On Jul 2, 9:57*am, Gregor Kofler <use...@gregorkofler.atwrote:
Opera 9.5: 15/0.5/0 (!)

Looking at the result I can state, that Opera is approx. 1,000,000,000
faster than Safari... Man this *is* fast.
Yeah ! That last 0 means that that Opera of yours can do infinite work
in no time at all. Keep it in a safe place, that's worth millions.
Unfortunately mine read 90/37/32 and so it's not worth so much.

--Jorge.
Jul 2 '08 #3
Jorge meinte:
On Jul 2, 9:57 am, Gregor Kofler <use...@gregorkofler.atwrote:
>Opera 9.5: 15/0.5/0 (!)

Looking at the result I can state, that Opera is approx. 1,000,000,000
faster than Safari... Man this *is* fast.

Yeah ! That last 0 means that that Opera of yours can do infinite work
in no time at all. Keep it in a safe place, that's worth millions.
It covers CD-ROMs with a not-so-thin golden layer, too. It's so amazing.
The 0.5 mark isn't that bad either. I'll use it for brute-force cracking
of 256-bit keys.
Unfortunately mine read 90/37/32 and so it's not worth so much.
Perhaps some nightly build, where they left out the good parts.

Gregor
--
http://photo.gregorkofler.at ::: Landschafts- und Reisefotografie
http://web.gregorkofler.com ::: meine JS-Spielwiese
http://www.image2d.com ::: Bildagentur für den alpinen Raum
Jul 2 '08 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: The Master | last post by:
Ok I went through and deleted code until I discovered the culprit. I then went back to my original style sheet and removed the CSS declaration that caused the floating to brake in safari 1.2. Once...
34
by: Simon Wigzell | last post by:
document...focus() will scroll the form to move the specified text field into view on everything I have tried it with except Safari on the MAC. The form doesn't move. Any work around? Thanks.
16
by: Edward | last post by:
Hi All, I am having huge problems with a very simple dotnet framework web page (www.gbab.net/ztest3.aspx) , it does NOT render correctly under Apple's Safari. The DIV's do not align amd float as...
6
by: raknin | last post by:
I am creating a dynamic list on the server using php file,when I run the PHP script in all 4 browsers (IE 6, Firefox 2, opera and safari 3) every think go Ok and the list is created. but when I call...
11
by: Stevo | last post by:
I've been using the unload event for a long time. I have this code, which I've abstracted and made into a stripped down simple test case below, and it works fine on the major browsers (IE5+,...
16
by: Jorge | last post by:
Webkit r34469 vs. Opera 9.50 : 3.00x as fast 6339.6ms(Opera) 2109.8ms (Webkit) ----- FF3.0 (final) vs. Opera 9.50 : 1.94x as fast 6339.6ms (Opera) 3269.6ms (FF3)
13
by: BMc | last post by:
I just want to take a moment to say thank you to so many of you who posted a response to my request for help about the problem with THE GAP (see below?)! Your suggestions were not only a...
3
by: Brad | last post by:
I have an aspx page that is sending pdf files to client browsers: it uses a filestream to read the pdf file and response.binarywrite to send content to the browser. This has worked great for years...
4
by: vishal1082 | last post by:
i m creating a app that can make backup of ur browser data, i m stucked for firefox, %APPDATA%\Mozilla\Firefox\Profiles\ - this is the address for all of your bookmarks and everything in...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.