Original Link: https://www.anandtech.com/show/2609
Google Chrome: Performance and First Impressions
by Anand Lal Shimpi on September 3, 2008 12:00 AM EST- Posted in
- Software
Google made a...browser?
Based on WebKit, the same foundation for Apple’s Safari web browser - yesterday Google introduced Chrome, it’s own browser:
It’s been a while since we’ve had a brand new, completely unexpected Google launch and what better way to change that than by launching a damn web browser?
It's getting crowded in the browser market
Despite how often Google is viewed as competing with Microsoft, these days it’s acting very Apple-like. Android has the potential to bring to the masses much of what Apple did with the iPhone, and Apple’s MobileMe (albeit mismanaged and poorly launched) is one step away from being a costly Google Apps competitor. The browser step for Google is an interesting one, yet of all of the browser companies Google is the most natural fit - it’s almost surprising that Google hadn’t released a browser by now.
What follows are my thoughts on Chrome - be sure to chime in with your own in the comments.
Sometimes It Takes a Revolution
Google revamped a few basic things with Chrome, some of them with very deep implications.
Your home page is now a tiled list of your most visited websites. In the old days it used to be one site or one search engine, but now with sites like YouTube, Facebook, AnandTech (see how I snuck that one in there?), MySpace, Digg, etc... it’s tough to have just one single home page. Google’s change here makes sense and it is also quite altruistic. Google could’ve just as easily used its own browser platform to help promote its own websites and services.
If you’ve only got IE7 installed on your machine Chrome will even default to Microsoft’s Live Search as the default search engine, asking you if you’d like to change it. The assumption is that your computer is setup the way you want it to be and Google isn’t going to force its services on you - competition is best done based on merit, not by manipulating the market.
You can add direct links to web applications on your desktop, which will fire up Chrome in more of a thick-client view like this
The most visible change is that the tabs are now the topmost part of the browser window, in fact there’s no menu bar at all. Accessing typical menu items is done via two very simple buttons at the right of the OmniBar (what Google’s developers call the URL bar). There’s not even a menu item for opening a file/web page, although CTRL + O will bring up an open dialog box.
Removing the menu bar does something very interesting for Google Chrome: it makes it look very OS agnostic. It doesn’t quite fit in with Vista’s look and feel, nor does it look very Apple at all. In Google’s world, the OS doesn’t matter, so long as it has access to the Internet (see: Google docs, YouTube, Gmail, etc...). Given this view of the world, why should Chrome have an archaic remnant of conventional OSes? The missing menu bar is a very important statement.
There’s no search box in Chrome (not even a Google Search box), all searching/navigating is done through the OmniBar. Much like Spotlight under OS X, you get full text search through any webpage in your history. Remember reading something about panda bears a couple of days ago but can’t remember what site it was on? Just type in panda bears into the OmniBar and you’ll get a list of relevant results from your history.
Sites like Amazon can be searched from within the OmniBar as well, assuming you’ve performed a search on the site before. Just start typing Amazon into the OmniBar and hit tab to type in your search query. It’ll take you straight to the search results on Amazon.com. Pretty cool.
Incognito mode
Private browsing is taken the next level by Chrome with its incognito mode. You can choose to open an individual window/tab in incognito mode, where no data is logged and nothing is added to your history. You even get a cool guy wearing a trench coat in the upper left hand corner of your incognito window to drive the feature home.
Downloads & History
Downloads are handled quite elegantly in Chrome, when something starts downloading it appears as an icon at the bottom of your browser window. There’s no external download manager window. I’m not sure if this is the most efficient approach, especially when managing tons of downloads, but I suspect that it works well for most users.
Downloads appear at the bottom of your browser
The status bar only appears when appropriate, otherwise it disappears - even when visible it only takes up as much space as it needs.
History is organized like a simple web page, it just makes sense:
More Efficient Memory Management
Fire up an IE7 window with 10 tabs in it and you’ll see this in your Task Manager:
A single iexplore.exe process that spawns a number of threads. The same goes for Firefox and Safari. The problem here is that if a single tab causes the process to crash, all of your open websites go with it. Chrome treats each tab as an individual process, which adds a little more overhead but the benefit is a single website won’t cause all of your other browser tabs/windows to crash.
You shouldn't lose all Chrome windows/tabs due to one misbehaving website/app
A single webpage stalling also won’t cause the rest of the tabs to stall, while the tabs in a Chrome window look physically connected, they are as independent as they get.
Chrome, as a result, will take up quite a bit of space in Task Manager:
Making each tab its own process means that you get memory back from closed tabs much quicker and much more efficiently than with other browsers. Consider this test: 1) Visit www.anandtech.com, 2) open tabs for digg.com, docs.google.com (and login) and www.facebook.com (and login), 3) Close the latter three websites.
I performed that exist test, in that order, and measured memory size after each step. The results are below:
Websites | Google Chrome 0.2.149.27 | Internet Explorer 7.0.6001.18000 | Firefox 3.0.1 | Safari 3.1.2 |
Just AnandTech.com | 26MB | 30MB | 30MB | 48MB |
AT + Digg + Google Docs + Facebook | 105MB | 97MB | 87MB | 104MB |
AT (After closing 3 tabs) | 38MB | 78MB | 70MB | 107MB |
Just viewing AnandTech alone, Chrome ended up being the most efficient browser with a 26MB footprint compared to 30MB for Firefox 3.0.1, 30.1MB for IE7 and a whopping 48MB for Safari 3.1.2.
Adding the other three sites brings the totals up to 104MB for Chrome, 104MB for Safari, 96MB for IE7 and 87MB for FF.
It’s closing the tabs that’s the most interesting: only Chrome actually frees up memory upon closing tabs. Chrome’s footprint is still larger than its original 26MB at 38MB, but the remaining three browsers continue using at least 70MB. The argument here is that these other browsers already have memory allocated should you open additional tabs, unfortunately you can quickly run into memory fragmentation issues with the conventional approach should the new tabs require more memory than the ones you just closed.
With Chrome, each tab is its own process, when you’re done with a tab - close it and you get all your memory back right away. You get more efficient usage of memory for newly created tabs.
The independent tabs are also physically independent within the UI, you can drag any tab out of a window and into another one or make it a new window by itself.
Chrome’s multi-process approach is also theoretically better for multi-core systems since you don’t have to worry about exploiting parallelism within a process, you’ve got process-level parallelism giving you more than enough threads to distribute across many cores. Thankfully web browsing isn’t the most CPU intensive and this process-level parallelism doesn’t amount to a huge performance benefit.
Other Geeky Stuff
Chrome comes with its own task manager with both standard and nerdy views:
Standard
Nerdview
The way Chrome handles viewing source also made me happy:
It's very developery.
Performance
Chrome launches very quickly, bested only by IE7 in start time:
Google Chrome 0.2.149.27 | Internet Explorer 7.0.6001.18000 | Firefox 3.0.1 | Safari 3.1.2 | |
Application Launch Time | ~0.8s | ~0.7s | ~3.0s | ~1.0s |
Measuring web page rendering performance was a bit more difficult to quantify, I tried loading web pages both locally and over the web and came up with the following table (the results are an average of 3 runs, the browser's cache was cleared each time):
Websites | Google Chrome 0.2.149.27 | Internet Explorer 7.0.6001.18000 | Firefox 3.0.1 | Safari 3.1.2 |
www.anandtech.com | 2.8s | 2.2s | 3.3s | 4.4s |
www.digg.com | 4.7s | 2.7s | 4.1s | 3.4s |
www.slashdot.org | 4.1s | 4.1s | 6.4s | 4.2s |
www.techreport.com | 1.8s | 1.3s | 2.4s | 2.6s |
http://www.howtocreate.co.uk/csstest.html | 0.49s | 0.12s | 0.12s | 0.15s |
http://www.howtocreate.co.uk/jslibs/oldindex.php | 1.7s | 0.5s | 1.0s | 1.0s |
http://images.google.com/images?hl=en&q=red&btnG=Search+Images&gbv=2 | 1.3s | 2.1s | 1.5s | 1.2s |
Google Spreadsheet (Radeon HD 4870 Test Results) | 3.1s | 5.0s | 5.4s | 4.8s |
Google Docs (NVIDIA GeForce GTX 280 Review) | 4.4s | 2.5s | 6.6s | 3.6s |
Chrome varies from being the fastest of the four to being the slowest, depending on what you throw at it. Even rendering Google’s own application pages ranges from being unbelievably fast (3.12 seconds for my Google Spreadsheet test vs. ~5 seconds for the other browsers) to average (Google Docs).
Chrome never really feels slow, thankfully non-IE browsers are much better off today than they were several years ago (not to mention that even our slowest CPUs are significantly faster - farewell Pentium 4). The simple UI actually gives off the impression that the browser is faster than it actually is in many situations.
Performance is good, well done Google.
Compatibility
Google is in a unique position to test the compatibility of something like a browser, given that the company has servers that spend their days indexing the entirety of the internet. You’d think it wouldn’t be too hard to pull from that index and produce a reasonable set of test cases for Chrome.
Plugins like Flash just work, which is nice, but not all websites play nicely with Chrome. Take a look at NVIDIA’s Force Within download page:
The download box won’t load and you’re out of luck with Chrome. Fortunately the NVIDIA example is the exception, for the most part Chrome has been working just fine for me. How about all of you?
Chrome passes the Acid2 test, but gets a 74/100 in the Acid3 test. That’s compared to 78/100 for Safari, 13/100 for IE7 (Wikipedia lists it as a 14 but I was unable to get anything higher than 13) and 71/100 for FF3.
At least Chrome does better than IE7 in the Acid3 test:
Nice
Final Words
In short - I like Chrome. It’s small, quick, efficient, and my only major complaint is that there’s no OS X version yet. As much as I hate having an overly crowded market, it’s the results of this sort of competition that truly beget innovation.
Google has played nice in the market for some time, but its competitors can’t stand idle. Bring on IE8, FF4 and Safari 4, because honestly there is a lot of sense in some of the features Chrome brings to the table.