Here are the results from my Quad G5:

Safari:
---------

Browser: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; de-de) AppleWebKit/ 418.9.1 (KHTML, like Gecko) Safari/419.3 Timing 10000 iterations of Prototype, Prototype.oneDiv, Prototype.oneDiv2, String.replace, String.replaceMap, String.split...
        Prototype:    .610s @  16393/s (n=10000)
 Prototype.oneDiv:    .594s @  16835/s (n=10000)
Prototype.oneDiv2:    .331s @  30211/s (n=10000)
   String.replace:    .871s @  11481/s (n=10000)
String.replaceMap:    .789s @  12674/s (n=10000)
     String.split:    .975s @  10256/s (n=10000)


Webkit r18654:
---------------------

rowser: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; de-de) AppleWebKit/ 420+ (KHTML, like Gecko) Safari/419.3 Timing 10000 iterations of Prototype, Prototype.oneDiv, Prototype.oneDiv2, String.replace, String.replaceMap, String.split...
        Prototype:   0.376s @  26596/s (n=10000)
 Prototype.oneDiv:   0.277s @  36101/s (n=10000)
Prototype.oneDiv2:   0.153s @  65359/s (n=10000)
   String.replace:   0.738s @  13550/s (n=10000)
String.replaceMap:   2.062s @   4850/s (n=10000)
     String.split:   0.228s @  43860/s (n=10000)

Firefox:
----------

Browser: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; de; rv: 1.8.1.1) Gecko/20061204 Firefox/2.0.0.1 Timing 10000 iterations of Prototype, Prototype.oneDiv, Prototype.oneDiv2, String.replace, String.replaceMap, String.split...
        Prototype:   1.543s @   6481/s (n=10000)
 Prototype.oneDiv:   2.365s @   4228/s (n=10000)
Prototype.oneDiv2:   0.790s @  12658/s (n=10000)
   String.replace:   0.606s @  16502/s (n=10000)
String.replaceMap:   1.027s @   9737/s (n=10000)
     String.split:   0.953s @  10493/s (n=10000)


Note how the latest Safari Webkit Nightly runs circles around Firefox with 65359/s, wow... 8O

Best,
Thomas


Am 06.01.2007 um 15:07 schrieb Marius Feraru:


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Marius Feraru wrote:
Sorry, I have no Intel based Mac available at this hour, maybe Sébastien
could help us. ;-)
Talked too soon, my folks are still alive ;-)

Benchmarks run using 10000 iterations on these browsers:
A. Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.1) Gecko/ 20061222 Firefox/2.0.0.1
B. Opera/9.10 (X11; Linux i686; U; en)
C. Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; FDM) D. Mozilla/5.0 (compatible; Konqueror/3.5; Linux) KHTML/3.5.5 (like Gecko)
E. Mozilla/4.0 (compatible; MSIE 6.0; Windows 98)
F. Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en) AppleWebKit/312.8.1 (KHTML, like Gecko) Safari/312.6 G. Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8.1) Gecko/20061010 Firefox/2.0 H. Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.1) Gecko/20061204 Firefox/2.0.0.1 I. Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en) AppleWebKit/418 (KHTML, like Gecko) Safari/417.9.2

Method execution rate (per second) per browser:
Method A B C D E F G H I Prototype 3197 17094 4182 3959 4704 3598 3162 8803 24096 Prototype.oneDiv 2548 16529 5005 4006 5283 5851 1826 6017 20833 Prototype.oneDiv2 8170 51020 13405 8258 10953 13477 6588 16667 39841 String.replace 15175 6739 15699 4468 15949 1604 10526 32051 20619 String.replaceMap 8905 9699 12804 4008 16584 1694 6540 15221 24213 String.split 10163 27322 9681 4983 10373 1730 6954 17241 27548

Top method per browser:
Method A B C D E F G H I AVG Prototype 5 3 6 6 6 3 5 5 4 4.78 Prototype.oneDiv 6 4 5 5 5 2 6 6 5 4.89 Prototype.oneDiv2 4 1 2 1 3 1 3 3 1 2.11 String.replace 1 6 1 3 2 6 1 1 6 3.00 String.replaceMap 3 5 3 4 1 5 4 4 3 3.56 String.split 2 2 4 2 4 4 2 2 2 2.67


So this new method really looks like being our winner ;-)

- --
Marius Feraru
-----BEGIN PGP SIGNATURE-----

iD8DBQFFn60gtZHp/AYZiNkRAm7PAJ9lOvg+9xB95P0UrgB+c3QlqK94ZgCfWslH
n3KwHx5c+goOZeVUY26dJfU=
=8PFS
-----END PGP SIGNATURE-----

>

--
Thomas Fuchs
wollzelle

http://www.wollzelle.com

questentier on AIM
madrobby on irc.freenode.net

http://www.fluxiom.com :: online digital asset management
http://script.aculo.us :: Web 2.0 JavaScript
http://mir.aculo.us :: Where no web developer has gone before





--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on 
Rails: Spinoffs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to