Ads by TechWords
Subscribe to our e-mail newsletters
For more info on a specific newsletter, click the title. Details will be displayed in a new window.
Computerworld Daily News (First Look and Wrap-Up)
Computerworld Blogs Newsletter
The Weekly Top 10
More E-Mail Newsletters 

Safari is about to get crazy fast

Rate this
Rated +421
1075 Votes

When Apple chose the KHTML engine for its Safari Browser in 2003 over the more popular Gecko engine that powers Firefox, a lot of people were surprised. Firefox was way more popular than the Konquerer browser and had a lot more open source developers online.

Since then, Apple has really run with the KHTML engine, forking it off, renaming its development version "WebKit" and making it faster and leaner than Firefox on the Mac and both Firefox and Internet Explorer on the PC. While it doesn't have a lot of the functionality of Firefox plug-ins and the ActiveX controls of IE, more and more support has been built around the Webkit engine as it gains in popularity. (Yes, Opera is very nice as well - especially the torrent downloading.)

The latest builds of WebKit are adding a great number of improvements that go beyond the "Catching up" that it has been doing in the past. These improvements can be broken down into two major areas: features and speed. The features are certainly interesting and you can read about many of them here. I want to focus specifically on speed.

Safari vs. WebKit icons.

There is no other way to say it. Holy cow is this thing fast! I am currently testing Webkit build r30090 (more recent versions are now there) against standard Leopard Safari 3.04. This unoptimized WebKit build version is running circles around the standard Safari browser. It isn't even close.

I am on a Rev 2, 2 GHz MacBook Pro with 2 GB of RAM on 100 Mb/s Fiber. I am running the two browsers next to each other on a 30 inch display. Webkit feels like I am on a maxed out Mac Pro tower - it really does. Try it if you don't believe me.

If you do, you'll notice that the transition is a cake walk. All of your bookmarks, history, cookies, etc. move across each browser – even when opened at the same time so it is very easy and low risk to test WebKit. It has also been so remarkably stable in my testing that I am tempted to move Safari off of my dock.

During random browsing, I noticed that Safari is loading pages about half as fast on average as WebKit. On heavy pages the load times are definitely discernible. On light pages, it is harder to tell the difference. But how to quantify? Webkit.org has some Javascript test pages.

Sunspider is about a three minute test that focuses on JavaScript benchmarking. My confidence was so high in WebKit that I started off Safari on the test before I opened Webkit. About 20 seconds after I started Safari, I started Webkit. Webkit was way faster across all of the tests. I also opened my CPU monitor and noticed that Webkit was using a percentage point or two more CPU than Safari - but nothing drastic. Webkit was done about a minute before Safari was complete.

The results in completing the test:

Safari: 11932.0ms +/- 0.9%

Webkit: 4484.0ms +/- 1.8%

The newest Webkit is 2.5 times faster.

Another test called Slickspeed, tests other aspects of the browser's rendering engine. Again, WebKit simply blows Safari out of the water in almost every test.

What's so interesting about this is that Safari is already a fast browser. The fastest if you believe Steve Jobs 2007 WWDC Keynote. WebKit's amazing, unoptimized speed means that Safari is going to get so much faster, to where it makes a significant difference in browser user experience. While Microsoft's products are getting bulkier and slower, Apple's products are getting leaner and faster.

WebKit feeds into a lot of other technologies. It is also the basis of the Symbian phone browsers and the technology behind Adobe's AIR.

Safari is also the browser for the iPhone and iPod Touch, and these WebKit improvements will likely hit these devices as well. Probably about the time a 3G iPhone is released.

Now that will be one slick little browser to have in your pocket!

See Also: Eric Lai: Anyone else have problems with that 'crazy fast' version of Safari?

What People Are Saying

Rate this
Rated -5
337 Votes

Quick summary for the simple minded

(1) Safari on PC is BETA
Keyword BETA
I believe this is self explanatory.

(2) IE blows. Sorry but it does and is NOT recommended for "safe surfing" due to its many security flaws and is is by far the SLOWEST browser of all.

(3) Firefox has great choices in expandability but is slow.
SImply put.
You can either have a "really hot browser" that is super uber cool with a million extensions sucking up resources and is slow

or

You can have a lean stripped down browser that is more efficient at displaying the information FASTER.

In other words you balance performance with customization.

Mozzila is slower but more expandable.
Webkit/Safari is faster but less customizable features.

That final decision is left up to the user on which is more important

(4) Whether it is a capital G or lowercase g all browsers render them the same speed, but since people have little annoyances they just have to publicly complain about then I would like to point out a minor flaw in the argument.

Whether you are an ENGINEER or a MATH professional I hope they taught you that an apostrophe is NOT the FOOT mark on a keyboard and the Quote marks are not INCHE marks.

There is a difference you know. Those marks on your keyboard are NOT typographer marks but rather MEASUREMENT marks so if you really want to be picky ask yourself why you are using FOOT mark notations in your sentences?
:-)
(4) Three main browsers.
IE
Firefox
Safari

all the others are just listed as OTHER.

Between those three that have the biggest influence I would rate them likes currently (until newer version are available, i.e. sF3.1)

MAC OSX
1-Safari
2-Firefox
3-Other

WIndows XP/Vista
1-Firefox
2-Safari
3-Other

Now who likes cake?

Rate this
Rated -21
325 Votes

Indeed they are not INCHE

"Quote marks are not INCHE marks" I think you meant inch, not inche... not certain though as you seem pretty sure of yourself and thus probably really think it is spelled inche. As for the remaining 38 spelling, punctuation and grammatical errors in your comment be aware that if you want to go the pedantic route, as you have, you need to come correct. Otherwise you just look kinda silly. Know what I mean, Vern?

"ask yourself why you are using FOOT mark notations"
Because they look more awesome than awesome has a right to look.

"Whether you are an ENGINEER or a MATH professional..."
Neither, actually. I'm an artist.

Rate this
Rated +12
302 Votes

erm... no e on inch!

erm... no e on inch!

Rate this
Rated +9
355 Votes

More SlickSpeed Results... this time on a PC

Following up on my earlier tests here are the results of SlickSpeed on a few Windows XP run browsers (tests done on a Dell Latitude D630 w/2 GHz CPU and 1 GB of RAM). Results are in ms as before.

JS Frameworks Tested:
JQuery 1.2.2 :: MooTools 1.2beta2 :: Prototype 1.6.0.2

Browsers and results:
Safari 3.0.4
305 :: 363 :: 444

Firefox 2.0.0.12
672 :: 434 :: 740

IE 6 (.0.2900.2180.xpsp_sp2_gdr.blah, blah, blah...sheesh)
896 :: 2148 :: 4555

Even on Windows XP Safari is the fastest with regards to javascript handling.
As a side note, what is up with the numbers MS uses for everything? IE6 has enough garbage identifying it that it looks like the name of some quaint, coastal Welsh village. Even just looking up this machine's CPU results in: "X86 Family 6 Model 15 Stepping 10 GenuineIntel ~1994Mhz" Practically need geneaology software to figure what the heck that all is.

Rate this
Rated +5
307 Votes

firefox minefield 3.0b3pre

on my HP xw4300 P4 3,2 1.5GB

SunSpider result

FireFox 3.0b3 - 15948.2ms
Safari 3.04 - 26038.2ms
IE 8 - 69349.0ms

Safari was able to beat FF in one test the string tests they where all faster.

IE8 was the fastest in Regexp

IE8 was able to beat safari in the 3d, Math and bitops tests

IE8 really sucks in the string test
IE8 47228.6ms
FF 4542.4ms
Safari 3997.4ms
asspesialy Base64 23337.8m and validateinput 14375.4m are lacking in IE8

Firefox 3 is really fast and I'm using it as my default browser on xp. on OSX it look good I think it is native cocoa, maybe I will test it on osx as well

Rate this
Rated +5
311 Votes

same wx4300 + core2duo mac

wx4300
now with firefox 3b4

sunspider 10862.2ms
slickspeed 418,204,300

on my core2duo 2ghz mac mini 2gb osx 10.5.2 (first gen intel mac mini proc upgraded)

firefox 3b4
sunSpider 9728,2ms
slickspeed 233,164,249

safari 3.04
sunSpider 10590 ms
slickspeed 159,201,249

the wx4300 has a 2mbit SDSL connection
the macmini has a 20mbit ADSL2+ connection

Rate this
Rated +24
312 Votes

for the same wx4300 with

for the same wx4300 with slickspeed

FF-30b3 692,270,375
Safari 314,370,404
IE8 1124,3579,8806

Rate this
Rated -2
358 Votes

iCab 4.0

iCab 4.0 is faster than Safari 3.02 and worth a look.

Rate this
Rated +54
326 Votes

iCab's switched to using

iCab's switched to using WebKit now — it might be using a newer one than Safari.

Rate this
Rated -116
452 Votes

hi, safari of apple but the

hi, safari of apple but the Apple doesn't like windows. i think safari for windows so funny

i have a good pc,i think so, but when i used safari, used-ram was more than firefox and i don't like that. now i am using SeaMonkey with other tools i think this is best, maybe better than firefox, will you try???