|
|
| Welcome to the Mac Forums forums. Please read the FAQ if you have questions. Register to participate. |
|
|||||||
| TouchArcade.com - iPhone Game Reviews and News |
![]() |
|
|
Thread Tools | Search this Thread |
|
|
#1 |
|
macrumors bot
Join Date: Apr 2001
|
Safari To Get JavaScript Speed Enhancements
![]() The WebKit project announced this week a new and improved JavaScript interpreter, code-named SquirrelFish. SquirrelFish promises 1.6 times faster JavaScript interpreting as compared to Webkit/Safari 3.1. This is accomplished by using "a register-based, direct-threaded, high-level bytecode engine" which aims to eliminate the overhead associated with traditional syntax tree walking interpreters like the one currently used in Safari 3.1.x. ![]() SunSpider runs per minute. Image courtesy webkit.org The introduction of the open-source effort means the improvements will almost certainly be propagated into Apple's Safari web browser, however the timing is unknown. Of note, Safari 3.1 saw dramatic speed improvements over 3.0.x, indicating Apple has been and continues to be actively engaged in Safari/WebKit JavaScript performance. Article Link |
|
|
|
|
|
#2 |
|
macrumors newbie
Join Date: Jan 2008
Location: Indianapolis, IN
|
I am not really technical and stuff. What exactly will this do for the user?
|
|
|
|
|
|
#3 |
|
macrumors god
|
|
|
|
|
|
|
#4 |
|
Demi-God (Editor)
|
|
|
|
|
|
|
#5 |
|
macrumors regular
Join Date: Jan 2008
|
In March WebKit made page load faster by reducing latency by allowing side parsers to run when the main parser gets held up. WebKit is also fastr than other browsers with heavy JS becasue they already parse JS much more efficiently. This rocks!
• http://webkit.org/blog/166/optimizin...n-web-browser/If a web browser can parse code more efficiently then your page will render faster. |
|
|
|
|
|
#6 |
|
macrumors newbie
Join Date: Apr 2006
|
this is something to look forward to i guess... but where the heck do they come up with these names? SquirrelFish? haha what were they thinking?
|
|
|
|
|
|
#7 |
|
macrumors 68000
Join Date: Jan 2008
|
|
|
|
|
|
|
#8 |
|
macrumors Demi-God
|
this is all you need to know:
|
|
|
|
|
|
#9 | |
|
macrumors Demi-God
Join Date: Jan 2002
Location: 10023
|
Quote:
By comparison, Longhorn seems less effective.
__________________
Think Different - Innovate
|
|
|
|
|
|
|
#10 | |
|
macrumors regular
Join Date: Jan 2008
|
Quote:
• http://en.wikipedia.org/wiki/Squirrelfish |
|
|
|
|
|
|
#11 |
|
macrumors 6502a
Join Date: Sep 2005
|
I have JavaScript turned off in Safari. Webpages take much, much less time loading now. I'm learning to live without it entirely.
|
|
|
|
| Mac OS X Ocelot |
| View Public Profile |
| Find More Posts by Mac OS X Ocelot |
|
|
#12 |
|
macrumors member
Join Date: May 2008
Location: Australia
|
good stuff!
|
|
|
|
|
|
#13 |
|
macrumors newbie
|
Oh, how about Flash speed and stability first. That would be nice. The web seems to be seeing flash as the future, yet when my PowerBook visits a site with even a flash ad on it, I feel as if my machine is about to take off and leave my lap.
|
|
|
|
|
|
#14 | |
|
macrumors god
|
Quote:
arn |
|
|
|
|
|
|
#15 |
|
macrumors 68000
Join Date: Dec 2006
Location: Montréal, Canada
|
i don't exactly know how "slow" javascript has ever been... seems to have always been as instant as a site loading... what could really use some improvement is flash... don't get me wrong, the FPS of flash on safari are great, and much better than firefox or camino, but flash is often slow to initiate, if it doesn't cause the browser to crash.
|
|
|
|
|
|
#16 |
|
macrumors newbie
Join Date: Jan 2008
|
Well, as always debated, some believe that Web 2.0 using Javascript is a hell of a lot better than using Flash. Which means when a web app like Meebo loads up in your browser and uses Javascript non-stop, you want it to execute quickly.
__________________
24" Aluminum iMac, 3.06 GHz, 4 GB 800mhz DDR2 SDRAM, GeForce 8800 GS. Beautiful. |
|
|
|
| leehericks |
| View Public Profile |
| Find More Posts by leehericks |
|
|
#17 |
|
macrumors Demi-God
Join Date: Aug 2007
Location: PHX
|
Safari can always be snappier..
|
|
|
|
|
|
#18 |
|
macrumors newbie
|
|
|
|
|
|
|
#19 |
|
Retired
Join Date: May 2006
Location: London
|
I have a feeling that this may come very soon, the latest Webkit nightlies have been really stable, even more so than Safari 3.1
|
|
|
|
| psychofreak |
| View Public Profile |
| Find More Posts by psychofreak |
|
|
#20 |
|
macrumors member
Join Date: Mar 2006
|
I did some speed tests using the latest webkit (whcih includes the new squirrelfish stuff) and a bunch of other browsers. I posted the results at my blog for anyone who is interested:
http://gthing.net/new-javascript-eng...it-nerd-stuff/ The bottom line is that it is almost twice as fast as Safari, and not even in the same ballpark as firefox 2, 3 beta, internet explorer, etc. This thing is smoking! |
|
|
|
|
|
#21 |
|
macrumors member
Join Date: Jun 2005
Location: London, England
|
Find me a major website that doesn't use JavaScript somewhere. I find it hard to believe you can have any kind of meaningful browsing experience these days without Javascript.
|
|
|
|
|
|
#22 |
|
macrumors regular
Join Date: Jun 2007
|
for iPhone as well
http://blogs.computerworld.com/squir...at_much_faster
And daring fireball says this will make a huge difference in the iPhone |
|
|
|
|
|
#23 | |
|
macrumors newbie
|
Quote:
Can't miss it if you don't know it is there. Now that I checked, it actually isn't disabled anymore, I guess I never disabled it after I reinstalled a few weeks ago. Weird.
|
|
|
|
|
|
|
#24 |
|
macrumors newbie
Join Date: Mar 2008
Location: Houston
|
Memory leak???
The webkit nightly build tonight seems a heck of alot faster but it still gets real slow loading pages after about 10 minutes of surfing. Is there still a memory leak in Safari or Webkit nightly builds??
![]()
__________________
JC
|
|
|
|
|
|
#25 | ||
|
macrumors 6502a
Join Date: Jun 2007
|
Quote:
Quote:
|
||
|
|
|
| winterspan |
| View Public Profile |
| Find More Posts by winterspan |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|