Jump to content

Javascript speed differences


nrg_alpha

Recommended Posts

Ok, so I am over at macrumors.som and noticed this article.

 

The claim on this page sites:

CNet benchmarked Safari 4's Javascript and found it to be 42x faster than IE 7, 6x faster than IE 8 and the fastest compared to any browser

 

The article states that it's using sunspider for their tests (from what I gather, this includes stuff like 3d, raytracing and the like.. I tried running the tests on that page, it was taking a while, so I aborted). My understanding is that there are different benchmarking tools out there for Javascript that target different javascript aspects (rendering, DOM navitagion / manipulation, etc...)

 

When I began playing with the sample javascript demo, I personally found that on my chitty laptop, Chrome (1.0.154.48) chewed up Firefox 3(3.0.6) as well as Safari 4 Beta (win) (we won't even bother going into the details of how IE 7 performed.. because it didn't... at all.. just hung there).

 

Therefore, at least from these demos (from a frame rate standpoint), from what I am experiencing, Chrome's javascript engine seems to be much faster than Safari 4's (haven't tested this on Minefield / Opera 10 Alpha yet). Granted, none of this is scientific per say.. but rather 'demonstrative' and Chrome demonstrated quite handedly.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.