Got a tip for us? Share it...

New in OS X: Get MacRumors Push Notifications on your Mac

Resubscribe Now Close

Apple Looking to Boost Safari JavaScript Performance with New Accelerator Upgrades

webkit_logoApple is apparently working on significant improvements to JavaScript performance for its Safari browser, as shown by the inclusion of accelerator upgrades in recent builds of WebKit, reports InfoWorld.

WebKit is the open source browser engine created by Apple and which serves as the basis for Safari, and the new upgrades to WebKit's "Nitro" JavaScript engine are known as "FTLJIT". With the upgrades, WebKit's JavaScript engine would become more competitive with Google's V8 and Mozilla's SpiderMonkey engines.
FTLJIT is still considered experimental, so although it's being made available in the OS X port of WebKit by default, it's not actually turned on yet -- it has to be enabled through command-line flags.

One attribute that could make FTLJIT stand out from the pack all the more is how well it runs JavaScript code that is not specifically optimized for [Mozilla's] asm.js. Every JavaScript engine will run asm.js code, but only Mozilla's SpiderMonkey honors asm.js-specific optimizations, and right now no other browser maker has elected to follow Mozilla's lead.
The report notes that speed tests are showing WebKit with FTLJIT enabled outperforming Chrome, while Firefox still tops the charts when using asm.js-optimized benchmark tests.

JavaScript has been a key technology for web browsers for many years, facilitating a variety of user interactions with web pages such as dynamic loading of content without reloading pages and handling page animations and other media. Because JavaScript code embedded on a website is run inside the user's browser when the page is loaded, the efficiency of the browser's JavaScript engine can have a significant impact on the user experience as JavaScript implementations become increasingly complex.

It is unclear whether Apple is targeting OS X 10.10 for these JavaScript improvements, but with them only being enabled in the OS X version of WebKit, it appears that there is still substantial work to be done.

Top Rated Comments

(View all)

10 weeks ago
Expecting some witty and original comments on this thread.
Rating: 32 Votes
10 weeks ago

Yay! News about a snappier safari and not beats!!!


Oh no, I didn't :p

Rating: 30 Votes
10 weeks ago
I wonder if anyone will comment "isn't OS X 10.10 the same as 10.1?" :rolleyes:
Rating: 25 Votes
10 weeks ago
Yay! News about a snappier safari and not beats!!!
Rating: 17 Votes
10 weeks ago
can't get snappier anymore my ass :p
Rating: 17 Votes
10 weeks ago
snappier safari..ah, good times
Rating: 15 Votes
10 weeks ago
only clicked on the link to read snappy comments, not disappointed ;)
Rating: 10 Votes
10 weeks ago

Faster Java is all well and good, but what about . . .

Image (http://schmoesknow.com/wp-content/uploads/2014/04/fg_panorama.jpg)


Worth pointing out that despite the similar names, Java and Javascript are not related... also, as clearly shown in that image Flash is a relic of the past and should stay that way.
Rating: 10 Votes
10 weeks ago



BTW, that Safari icon matches the Gold iPhone 5S! :)


Flashback of Netscape Navigator Gold Edition :D
Rating: 6 Votes
10 weeks ago
Faster Java is all well and good, but what about . . .

Rating: 5 Votes

[ Read All Comments ]