473,770 Members | 6,950 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1928
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...@gregork ofler.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...@gregork ofler.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
2287
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 I removed it, the floating worked as expected in safari, but broke it in opera 7.5. The interesting part is the style declaration that causes safari to brake is the declaration I had used to fix the bug in Opera 7.5 originally. As far as I...
34
3875
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
2518
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 they should, and do in Dotnet. The page is really, really simple, and it has a CSS and with NO masterpage. I have tried using the following as recommendations made earlier in this Newsgroup:-
6
1950
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 the php script from the browser using Ajax, the list is created fine in IE and Opera but on Firefox and safari I got the following error: "Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in...
11
2459
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+, Firefox, Opera). It also works for all Safari versions before 3.1. It's as if they've deliberately made a change to prevent some actions in the unload handler. Has anyone heard of such a restriction? Here's the test case:
16
2725
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
1550
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 solution to the problem, but they were given in a way that encouraged further learning about the subject and gave me more information that helped me move forward today. I have actually gotten the page to work with the same style sheet for ff, opera,...
3
4041
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 in IE, Firefox and Opera on windows, and it works on a Mac with Firefox and Opera. But this fails in Safari with the generic message "A network error occurred while accessing this document". Here is a link to try out ...
4
2001
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 %APPDATA%\Mozilla\Firefox\Profiles\ thr is a folder that is generated by firefox by a random string, its different on every comp, i wanna make the *randomly genrated folder* to a zip, i know how to make zip but i wanna know how can i do it without knowing the...
0
9591
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9425
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10225
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10053
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9867
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7415
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6676
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5312
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
3573
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.