Register FAQ/Rules Forum Spy Search Today's Posts Mark Forums Read

Welcome to the Mac Forums forums. Please read the FAQ if you have questions. Register to participate.

 
Go Back   Mac Forums > News and Article Discussion > MacRumors' Page 2 News Discussion
TouchArcade.com - iPhone Game Reviews and News

Reply
 
Thread Tools Search this Thread  
Old Nov 30, 2007, 09:17 PM   #1
MacRumors
macrumors bot
 
Join Date: Apr 2001
Latest Safari/Webkit Builds Boost Javascript Performance



With the introduction of Safari 3, Apple's web browser has seen a significant number of improvements and performance enhancements. The latest nightly webkit builds have again been shown to be significantly faster at Javascript execution than even the final Safari 3.0 release. For comparison, Javascript Speed Test 2007 benchmarks are provided (smaller number faster)

Safari 3.0.4: 445ms
Webkit r28233: 207ms
(Tested on Dual Xeon Mac Pro 2.6GHz)

Webkit is an open source project that serves as the basis for Apple's Safari browser. Webkit's nightly builds offer end-users access to the latest Webkit updates. A number of other browsers also use Webkit and will also benefit from these improvements.

Article Link

Last edited by Doctor Q : Dec 1, 2007 at 03:15 AM.
MacRumors is offline   Reply With Quote
Old Nov 30, 2007, 09:31 PM   #2
xUKHCx
Demi-God (Moderator)
 
xUKHCx's Avatar
 
Join Date: Jan 2006
Location: The Kop
On my Macbook the results are

Safari 3.0.4 (5523.10): 638 ms
Webkit r28233: 264 ms

Which is an impressive speed increase. And according to that site makes it much faster than Opera 9.50a which is the fastest browser listed. The total score would be 0.45X which is very good.
__________________
The red men: Paul William Carlile (19), Raymond Thomas Chapman (50), Gary Christopher Church (19), Joseph Clark (29), Paul Clark (18)
xUKHCx is offline   Reply With Quote
Old Nov 30, 2007, 09:32 PM   #3
mixel
macrumors 6502
 
Join Date: Jan 2006
All the "Safari seems snappier"s will actually be right for once!

Poor java performance is the only reason i've had long stints using FF or Camino, some sites in particular used to be painful until Safari 3. Looking forward to more speed boosts.
mixel is offline   Reply With Quote
Old Nov 30, 2007, 09:44 PM   #4
Stridder44
macrumors 68040
 
Stridder44's Avatar
 
Join Date: Mar 2003
Location: California
Awesome news! Now if only I used Javascript more often...
__________________
The Un-Funny Truth About Scientology
(Warning: Graphic images)

MacBook Pro 15.4"/2.5 GHz/250GB/4GB RAM
iMac G4 17"/800 Mhz/80GB/512GB RAM
Stridder44 is offline   Reply With Quote
Old Nov 30, 2007, 10:01 PM   #5
Foxglove9
macrumors 65816
 
Foxglove9's Avatar
 
Join Date: Jan 2006
Location: Brooklyn, NY
Send a message via AIM to Foxglove9 Send a message via Yahoo to Foxglove9
I take it this will not resolve the fans issue on my macbook. Why a simple flash animation banner on a site can set those RPM's through the roof.
__________________
Xbox Gamertag: Foxglove9 | Wii Code: 1187 4485 4656 9972
2.16 Ghz MacBook C2D
HP Mini 110 running OS X
Foxglove9 is offline   Reply With Quote
Old Nov 30, 2007, 10:07 PM   #6
xUKHCx
Demi-God (Moderator)
 
xUKHCx's Avatar
 
Join Date: Jan 2006
Location: The Kop
Quote:
Originally Posted by Foxglove9 View Post
I take it this will not resolve the fans issue on my macbook. Why a simple flash animation banner on a site can set those RPM's through the roof.
There will be improvements elsewhere so you could always download it and try it on the same sites.
__________________
The red men: Paul William Carlile (19), Raymond Thomas Chapman (50), Gary Christopher Church (19), Joseph Clark (29), Paul Clark (18)
xUKHCx is offline   Reply With Quote
Old Nov 30, 2007, 10:11 PM   #7
Templex
macrumors regular
 
Join Date: Jul 2007
Location: Los Angeles, CA
I love the new features and speed enhancements that these nightly builds of WebKit brings, but it would be great to be able to integrate that nightly build into the original Safari app rather than having to launch the WebKit app, which is just... crufty and unclean.

Actually, you can integrate the new WebKit into your existing Safari... Open up the downloaded WebKit.app, go to the Frameworks folder, and copy all those. Go into /System/Library/Frameworks, back up JavaScriptCore.framework and WebKit.framework, and paste the contents of the WebKit.app's Frameworks folder into your system frameworks folder. Worked like a charm.
__________________
Mid-2007 MacBook Pro
iPhone (Original)
iPhone 3GS

Last edited by Templex : Nov 30, 2007 at 10:17 PM.
Templex is offline   Reply With Quote
Old Nov 30, 2007, 11:02 PM   #8
pewtermoose
macrumors newbie
 
Join Date: Jul 2004
Quote:
Originally Posted by Templex View Post
I love the new features and speed enhancements that these nightly builds of WebKit brings, but it would be great to be able to integrate that nightly build into the original Safari app rather than having to launch the WebKit app, which is just... crufty and unclean.
I'm unsure what you mean by "crufty and unclean". All WebKit.app does is launch the existing Safari that is on your system with the frameworks contained within it's bundle.

While Safari is usually thought of as the flagship product for WebKit, it is heavily utilized outside of Safari (Adium, Mail, Dashboard, Colloquy and TextMate to name some apps with very obvious uses of WebKit and many, many more using it in not so obvious ways) and adding some kind of nightly integration would seem, to me, to be to be outside of the scope of both Safari and WebKit.

Quote:
Originally Posted by Templex View Post
Actually, you can integrate the new WebKit into your existing Safari... Open up the downloaded WebKit.app, go to the Frameworks folder, and copy all those. Go into /System/Library/Frameworks, back up JavaScriptCore.framework and WebKit.framework, and paste the contents of the WebKit.app's Frameworks folder into your system frameworks folder. Worked like a charm.
Please don't do that. Things like WebKit.app exist solely so you don't need to do that. There are safer ways to test non-Safari apps (ie: the run-webkit-app script).
pewtermoose is offline   Reply With Quote
Old Nov 30, 2007, 11:03 PM   #9
Templex
macrumors regular
 
Join Date: Jul 2007
Location: Los Angeles, CA
Why not? The nightly build's perfectly stable for me, and I am aware of how WebKit.app works. Opening an app that opens another app and is called "WebKit" is pretty crufty to me, compared to just opening plain ol' Safari.
__________________
Mid-2007 MacBook Pro
iPhone (Original)
iPhone 3GS
Templex is offline   Reply With Quote
Old Nov 30, 2007, 11:07 PM   #10
pewtermoose
macrumors newbie
 
Join Date: Jul 2004
Quote:
Originally Posted by Foxglove9 View Post
I take it this will not resolve the fans issue on my macbook. Why a simple flash animation banner on a site can set those RPM's through the roof.
This is really more an issue with the Flash plugin than with any browser engine. Submitting feedback to Adobe is the best way to improve the situation.
pewtermoose is offline   Reply With Quote
Old Nov 30, 2007, 11:22 PM   #11
pewtermoose
macrumors newbie
 
Join Date: Jul 2004
Quote:
Originally Posted by Templex View Post
Why not? The nightly build's perfectly stable for me, and I am aware of how WebKit.app works. Opening an app that opens another app and is called "WebKit" is pretty crufty to me, compared to just opening plain ol' Safari.
You probably just got lucky and managed to grab a build that doesn't have any major bugs in areas you're using. Being development software, the stability of the nightlies can vary even with just one check-in. The goal of WebKit.app is so that when you undoubtedly get one of the flakier builds, you don't screw up you're entire system.

Personally, I don't see the "cruft" in WebKit.app. You can set it as your default browser in the Safari preferences and it's just a darker compass than Safari. The fact that it launches Safari is really transparent to you - you could easily remove Safari from your dock and replace it with WebKit.app and never really tell the difference...
pewtermoose is offline   Reply With Quote
Old Nov 30, 2007, 11:40 PM   #12
Templex
macrumors regular
 
Join Date: Jul 2007
Location: Los Angeles, CA
My experience with nightly builds of browsers (Camino, Firefox, etc) has been that they're nearly as reliable as the stable releases. For Firefox, there were a few dud builds that refused to launch at all - the other builds that launched worked perfectly, however. I don't see how replacing WebKit could possibly screw up your entire system... Worst case would be WebKit-based apps wouldn't render things and it would be trivial to just replace the files with the ones from the backup.

As for setting WebKit as your default browser and removing Safari from your dock, that's unclean to me. And seeing "WebKit" in your dock instead of "Safari" is just... egh.
__________________
Mid-2007 MacBook Pro
iPhone (Original)
iPhone 3GS
Templex is offline   Reply With Quote
Old Nov 30, 2007, 11:40 PM   #13
chris200x9
macrumors 6502a
 
Join Date: Jun 2006
sweet how can I get my safari icon that pimped out gold color....I know it will "wreck my UI" but I want just because it looks so cool!
chris200x9 is offline   Reply With Quote
Old Nov 30, 2007, 11:43 PM   #14
xUKHCx
Demi-God (Moderator)
 
xUKHCx's Avatar
 
Join Date: Jan 2006
Location: The Kop
Quote:
Originally Posted by chris200x9 View Post
sweet how can I get my safari icon that pimped out gold color....I know it will "wreck my UI" but I want just because it looks so cool!
Well cmd+I Webkit to get info select the icon at the top of that window and press cmd+c. Then cmd+I on Safari, select the icon at the top of that window and press cmd+v.
__________________
The red men: Paul William Carlile (19), Raymond Thomas Chapman (50), Gary Christopher Church (19), Joseph Clark (29), Paul Clark (18)
xUKHCx is offline   Reply With Quote
Old Dec 1, 2007, 01:35 AM   #15
ntrigue
macrumors 68020
 
Join Date: Jul 2007
Send a message via AIM to ntrigue
How soon do we see the integration into a Software Update?
ntrigue is online now   Reply With Quote
Old Dec 1, 2007, 04:29 AM   #16
notsofatjames
macrumors 6502a
 
notsofatjames's Avatar
 
Join Date: Jan 2007
Location: Wales, UK
Send a message via MSN to notsofatjames Send a message via Yahoo to notsofatjames
do you think this has got something to do with iPhone. All the web apps are JS based, and I assume safari on iPhone/touch is webkit based. Better performance on javascript apps on iPhone would be great!
__________________
Search before you post: MRoogle
notsofatjames is offline   Reply With Quote
Old Dec 1, 2007, 07:43 AM   #17
Lefteous
macrumors member
 
Join Date: Aug 2007
It's good to speed up things but many javascript things doesn't work at all. Apple doesn't seem to be interested in bug reports
Lefteous is offline   Reply With Quote
Old Dec 1, 2007, 12:35 PM   #18
chris200x9
macrumors 6502a
 
Join Date: Jun 2006
Quote:
Originally Posted by xUKHCx View Post
Well cmd+I Webkit to get info select the icon at the top of that window and press cmd+c. Then cmd+I on Safari, select the icon at the top of that window and press cmd+v.
thanks!
chris200x9 is offline   Reply With Quote
Old Dec 1, 2007, 12:59 PM   #19
Eraserhead
Contributor
 
Eraserhead's Avatar
 
Join Date: Nov 2005
Location: Oxford, UK
Quote:
Originally Posted by Lefteous View Post
It's good to speed up things but many javascript things doesn't work at all. Apple doesn't seem to be interested in bug reports
apple are always very responsive with the bug reports I send them, though of course they can't fix everything instantly
Eraserhead is offline   Reply With Quote
Old Dec 1, 2007, 01:43 PM   #20
Catfish_Man
macrumors 68020
 
Catfish_Man's Avatar
 
Join Date: Sep 2001
Location: Portland, OR
Send a message via AIM to Catfish_Man
Quote:
Originally Posted by Lefteous View Post
It's good to speed up things but many javascript things doesn't work at all. Apple doesn't seem to be interested in bug reports
Uh, what? http://bugs.webkit.org
Catfish_Man is offline   Reply With Quote
Old Dec 1, 2007, 02:23 PM   #21
Iamtherealwoody
macrumors 6502
 
Join Date: May 2007
Location: Gainesville, Florida
Send a message via AIM to Iamtherealwoody Send a message via MSN to Iamtherealwoody Send a message via Yahoo to Iamtherealwoody
Webkit Nightly Builds are my primary browser. Safari's memory issues are really bad on my computer for some reason, Webkit uses less than FF2, FF3Beta, and Camino. Webkit to me is probably one of the best browsers out there. And Inquisitor works with it, although I do get a message about having it whenever I install a new build.
Iamtherealwoody is offline   Reply With Quote
Old Dec 1, 2007, 07:16 PM   #22
xUKHCx
Demi-God (Moderator)
 
xUKHCx's Avatar
 
Join Date: Jan 2006
Location: The Kop
I used to use a program that would automatically download and install the latest version of webkit nightly. I can't for the life of me remember what it was called, or find it. Anyone know what I am talking about.
__________________
The red men: Paul William Carlile (19), Raymond Thomas Chapman (50), Gary Christopher Church (19), Joseph Clark (29), Paul Clark (18)
xUKHCx is offline   Reply With Quote
Old Dec 2, 2007, 12:53 AM   #23
Elektronkind
macrumors member
 
Join Date: Dec 2003
Location: Baltimore, MD
I betcha that attaining this speed increase is a by-product of DTrace usage.

/dale
Elektronkind is offline   Reply With Quote
Old Dec 2, 2007, 02:52 AM   #24
faisal
macrumors newbie
 
Join Date: Mar 2003
Quote:
Originally Posted by xUKHCx View Post
I used to use a program that would automatically download and install the latest version of webkit nightly. I can't for the life of me remember what it was called, or find it. Anyone know what I am talking about.

NightShift?

http://web.mac.com/reinholdpenner/So...ightShift.html
faisal is offline   Reply With Quote
Old Dec 2, 2007, 12:08 PM   #25
bigbossbmb
macrumors 68000
 
bigbossbmb's Avatar
 
Join Date: Jul 2004
Location: Pasadena/Hollywood
Send a message via AIM to bigbossbmb
Quote:
Originally Posted by faisal View Post
That sounds awesome, but the download page is missing. Anywhere else to get it?
__________________
"Terrible what passes for a ninja these days..."
8-core MP 2.8ghz 16GB RAM, 2.25TB RAID5 Caldigit Card, 15" Unibody MBP, and lots of video gear
bigbossbmb is offline   Reply With Quote

Reply

Mac Forums > News and Article Discussion > MacRumors' Page 2 News Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 04:37 AM.

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

Powered by vBulletin® Version 3.6.10
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright 2002-2009, MacRumors.com, LLC