Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > News and Article Discussion > MacRumors.com News Discussion

Reply
 
Thread Tools Search this Thread Display Modes
Old May 12, 2014, 10:36 AM   #1
MacRumors
macrumors bot
 
Join Date: Apr 2001
Apple Looking to Boost Safari JavaScript Performance with New Accelerator Upgrades




Apple 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.
Quote:
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.

Article Link: Apple Looking to Boost Safari JavaScript Performance with New Accelerator Upgrades
MacRumors is offline   1 Reply With Quote
Old May 12, 2014, 10:38 AM   #2
JoshDoug
macrumors newbie
 
Join Date: Apr 2014
Expecting some witty and original comments on this thread.
JoshDoug is offline   32 Reply With Quote
Old May 12, 2014, 10:40 AM   #3
iLoveiTunes
macrumors regular
 
Join Date: Feb 2011
snappier safari..ah, good times
iLoveiTunes is offline   15 Reply With Quote
Old May 12, 2014, 10:41 AM   #4
thekeyring
macrumors 6502a
 
Join Date: Jan 2012
Location: London
I wonder if anyone will comment "isn't OS X 10.10 the same as 10.1?"
thekeyring is offline   25 Reply With Quote
Old May 12, 2014, 10:42 AM   #5
jmh600cbr
macrumors regular
 
Join Date: Feb 2012
Yay! News about a snappier safari and not beats!!!
jmh600cbr is offline   17 Reply With Quote
Old May 12, 2014, 10:42 AM   #6
HemOdd
macrumors newbie
 
Join Date: Nov 2010
Brace yourselves...
HemOdd is offline   3 Reply With Quote
Old May 12, 2014, 10:46 AM   #7
mohdamerul
macrumors member
 
Join Date: Aug 2012
Location: Kuala Lumpur
can't get snappier anymore my ass
__________________
MBA 11" 2011, iPhone 4s, Apple TV 3
mohdamerul is offline   17 Reply With Quote
Old May 12, 2014, 10:47 AM   #8
MartinAppleGuy
macrumors 65816
 
MartinAppleGuy's Avatar
 
Join Date: Sep 2013
The reason I don't use Safari is due to the iCloud Keychain messages that keep popping up. If I press the "?" on the message box for the Keychain,it also crashes Safari. Anyone know how to stop this popup?
__________________
2014 Highest End 21.5" iMac, 2.9 - 3.6Ghz i5, 8GB RAM, 1TB HDD, Nvidia GeForce GT 750m w/ 1GB GDDR5 VRAM
MartinAppleGuy is offline   1 Reply With Quote
Old May 12, 2014, 10:48 AM   #9
Yvan256
macrumors 601
 
Yvan256's Avatar
 
Join Date: Jul 2004
Location: Canada
I'm just glad to read something that's not related to iPhone, iOS or beats.
Yvan256 is offline   4 Reply With Quote
Old May 12, 2014, 10:48 AM   #10
iMacFarlane
macrumors 65816
 
iMacFarlane's Avatar
 
Join Date: Apr 2012
Location: Phaselocking Psychos somewhere on Pandora
Faster Java is all well and good, but what about . . .

__________________
Knowledge is power. Learn something new every day!
iMacFarlane is offline   5 Reply With Quote
Old May 12, 2014, 10:49 AM   #11
tuartboy
macrumors 6502a
 
tuartboy's Avatar
 
Join Date: May 2005
For the technical details: https://trac.webkit.org/wiki/FTLJIT
tuartboy is offline   4 Reply With Quote
Old May 12, 2014, 10:50 AM   #12
Traverse
macrumors 65816
 
Traverse's Avatar
 
Join Date: Mar 2013
Location: My Own World
Any improvement to Safari is welcome. It is my favorite browser and although it is notably faster with version 7 it still has this issue where it will randomly hang and I must quit and reopen it to regain performance.


BTW, that Safari icon matches the Gold iPhone 5S!
Traverse is offline   3 Reply With Quote
Old May 12, 2014, 10:52 AM   #13
dannyyankou
macrumors 68000
 
Join Date: Mar 2012
There's going to be a lot of comments removed in this thread...

Safari is already pretty fast, but any additional improvements are welcome!
dannyyankou is offline   4 Reply With Quote
Old May 12, 2014, 10:52 AM   #14
MacSince1990
macrumors 65816
 
MacSince1990's Avatar
 
Join Date: Oct 2009
Think I'll stick with FireFox 29.
__________________
Beige G3 w/1 GHz Sonnet G4, 768 MB, 400 GB HDD + 2x120GB, Radeon Mac Edition, ATA/133 PCI, 4-Port USB 2 PCI, 18x DVDRW, MacOS 10.4.11
15" Mid 2012 2.7 GHz Hi-Res/AG MBP 16 GB RAM, 1 TB 7200RPM 10.9.2
MacSince1990 is offline   2 Reply With Quote
Old May 12, 2014, 10:52 AM   #15
Georgij
macrumors regular
 
Join Date: Mar 2013
Try out WebKit
Georgij is offline   2 Reply With Quote
Old May 12, 2014, 10:52 AM   #16
Tastic Bycrom
macrumors regular
 
Join Date: Jul 2008
Location: Kansas City, MO
Quote:
Originally Posted by iMacFarlane View Post
Faster Java is all well and good, but what about . . .

Image
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.
Tastic Bycrom is offline   10 Reply With Quote
Old May 12, 2014, 10:56 AM   #17
jayducharme
macrumors 68020
 
jayducharme's Avatar
 
Join Date: Jun 2006
Location: The thick of it
This is good news. I had high hopes for HTML5. But when Google decided to fork HTML5, I was concerned that Safari might fall behind. Or at the least, we'd be end up with the old browser wars where web pages would looks completely different from browser to browser. I wish they'd just all play nice together. With Apple incorporating support for Mozilla's JS, maybe there's hope...
jayducharme is offline   0 Reply With Quote
Old May 12, 2014, 10:56 AM   #18
-RJ-
macrumors newbie
 
Join Date: Dec 2012
Location: Norway
Quote:
Originally Posted by Traverse View Post
BTW, that Safari icon matches the Gold iPhone 5S!
That is the icon for WebKit Nightly Builds
http://nightly.webkit.org/
-RJ- is offline   1 Reply With Quote
Old May 12, 2014, 10:57 AM   #19
troop231
macrumors 601
 
Join Date: Jan 2010
Quote:
Originally Posted by jmh600cbr View Post
Yay! News about a snappier safari and not beats!!!
Oh no, I didn't

troop231 is offline   30 Reply With Quote
Old May 12, 2014, 10:58 AM   #20
tuartboy
macrumors 6502a
 
tuartboy's Avatar
 
Join Date: May 2005
I actually do think it's now enabled in the Webkit nightlies without any cli options. I just ran google Octane and the nightly was a whopping 49% faster than Safari 7.0.3 and even 3% faster than Chrome 34. This was not the case a month or so ago when I last tested.

This is going to make a much bigger difference when it lands in Mobile Safari.
tuartboy is offline   3 Reply With Quote
Old May 12, 2014, 11:00 AM   #21
RightMACatU
macrumors 6502a
 
Join Date: Jul 2012
Location: 192.168.1.1
Quote:
Originally Posted by Traverse View Post

BTW, that Safari icon matches the Gold iPhone 5S!
Flashback of Netscape Navigator Gold Edition
RightMACatU is offline   6 Reply With Quote
Old May 12, 2014, 11:00 AM   #22
romainmenke
macrumors newbie
 
Join Date: Jun 2013
only clicked on the link to read snappy comments, not disappointed
romainmenke is offline   10 Reply With Quote
Old May 12, 2014, 11:01 AM   #23
Piggie
macrumors 601
 
Join Date: Feb 2010
Is it still the case, on the iPad that Apple keep secret (thinks) that make it fast so that 3rd party web browsers can never compete?

Was there not something like that they did, or do ?
__________________
Amiga 500, N64, Dreamcast, Gamecube, Xbox360 Slim 250GB, PS3, Nokia 6210, 3 Home Made PC's, Adidas Watch, Nikon + Fuji Cameras, 32GB iPad, Furry Pigs (mainly pink!)
Piggie is offline   0 Reply With Quote
Old May 12, 2014, 11:07 AM   #24
KdParker
macrumors 68020
 
KdParker's Avatar
 
Join Date: Oct 2010
Bring it on!!

This would be a welcome change.
__________________
16g iPhone5s Space Grey; 16g iPhone5 White;
15" retina - MBP 2.6 GHZ 16 RAM;
iPad4 retina
KdParker is offline   1 Reply With Quote
Old May 12, 2014, 11:08 AM   #25
Rodster
macrumors 68020
 
Join Date: May 2007
Does this apply to both OS X and iOS? If both, hopefully this could help with the iOS reloading issues some have experienced.
Rodster is offline   0 Reply With Quote

Reply
MacRumors Forums > News and Article Discussion > MacRumors.com News Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
iPhone: Boost Performance tzual Jailbreaks and iOS Hacks 12 Jan 16, 2014 06:57 AM
Where would I notice the performance boost? macguy93 Mac Pro 6 Aug 19, 2013 08:06 PM
How much of a performance boost would this be? jojoba MacBook Air 19 Jul 24, 2013 01:18 AM
Performance boost with ATI 5870? macguy93 Mac Pro 5 Apr 22, 2013 02:35 PM
ML Performance boost on MBP 2010 ?? AlexMaximus MacBook Pro 3 Jul 25, 2012 12:21 PM

Forum Jump

All times are GMT -5. The time now is 06:14 PM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC