Beta and Plugin Improvements in Google Chrome
Thursday, October 30, 2008
After the beta launch in early September, from the first wave of feedback, we realized that a large number of users were facing plugin compatibility issues in Google Chrome. These included Adobe Flash videos not playing, as well as various browser performance issues with Adobe Flash and Adobe PDF document loading. There was even an issue where the browser consumed 100% CPU when users interacted with plugins.
This is exactly the kind of feedback we are expecting from a beta launch. We have invested a lot of effort into automating compatibility testing for large number of web pages but there is nothing like actual user feedback. We are impressed by the user response to the beta and the quality of bug reports filed. Nothing more motivating than a lot of users waiting for your work. :)
One of the big issues was support for PDF Fast WebView, which is the ability for a webserver to byte serve a PDF document. This allows a client to request specific byte ranges in the file while skipping pages that are not needed. This is supported generically by seekable streams specification in NPAPI, which Google Chrome now implements. This should improve performance with large PDF files or any other content served using Fast WebView.
We had a lot of fun fixing other issues too, and here are the stories behind a couple of them.
YouTube videos stop after six seek attempts:We received several reports of YouTube videos failing to play. Many reports indicated that this symptom had something to do with using the slider while playing the video. However, we didn't have a reliable scenario to reproduce in this in-house.Darin Fisher observed that if you move the slider many times, the video stopped playing. Furthermore, he found out that if the slider was moved exactly six times the video would stop playing. This was interesting, because Google Chrome uses a maximum of 6 HTTP connections per host.A quick check of the 'I/O Status' in about:network revealed that all connections were active. The question then became one of why the existing connections weren't canceled when the slider was moved.Darin found that the Flash plugin would return an error when we supplied it data while the slider was moved. In this case a browser is supposed to cancel the connection and that's what fixed it.Google Finance chart dragging:This report was very interesting, due to the fact that it only occurred on single core machines. Of course, in the end we found out that there wasn't any direct connection between the root cause and single core machines. In Google Chrome plugin windows live in a separate plugin process so a plugin has little or no influence on the browser thread, or so we thought.After some inspection we found out that when a plugin is receiving mouse input, the browser main thread spins with 100% CPU for sometime. Now, the twist to the story is that since a plugin window is a child of the browser window, thread inputs of the browser and the plugin are attached.We started looking at the browser message loop more closely. Soon we discovered that MsgWaitForMultipleObjects/PeekMessage APIs behaved strangely when thread inputs are attached. The MsgWaitForMultipleObjects API is typically used to block until an event or a windows message such as an input is available for processing. In this case, we found that it was returning an indication that an input event was available for processing, while PeekMessage indicated no event was available.This behavior is probably due to the fact that thread inputs are attached and GetQueueStatus, called internally by MsgWaitForMultipleObjects, returned an indication that input is available in the browser thread, while in reality it was intended for the plugin. This caused the MsgWaitForMultipleObjects not do its intended function of waiting, and caused the browser thread to spin.
These are just a few examples of bugfixes we've made to Google Chrome to address performance issues related to plugins. We continue to look closely at the performance of Google Chrome, both as a whole and in relation to interaction with plugins, to make sure that users are getting the best browsing experience that we can deliver.

75 comments:
norman said...
Thanks for the candid details and good attitude. I appreciate getting a glimpse of where you guys are coming from.
October 30, 2008 7:33 PM
Josh said...
Great stuff!! I like reading posts like these. Great to know you guys are serious about actively improving the product's quality and performance.
October 30, 2008 10:56 PM
pdwalker said...
Awesome work!
October 31, 2008 9:04 AM
anonymous said...
Cool. Can you add the feature to dropdown through the address bar using the tab button, i dont like using my mouse or arrow keys to go through the list. IE and FF both do this.
October 31, 2008 1:06 PM
Balarsst said...
October 31, 2008 6:35 PM
Balarsst said...
Mmm... I have a problem and I don't know if it is just me... I can't scroll up with my mouse in Chrome, but I can do it in other programs and browsers like FF and IE. How can I fix this?
October 31, 2008 6:37 PM
cpu said...
balarsst: please open a bug in chromium.org. Maybe http://code.google.com/p/chromium/issues/detail?id=1295 is the issue that you have?
October 31, 2008 6:49 PM
Balarsst said...
Yes it is cpu, that is my issue, but how can I fix it? Or there is no solution yet?
October 31, 2008 6:54 PM
caracole said...
Bonjour,
Il n'est pas possible de trier un dossier favoris comme dans firefox.
Pourquoi ?
November 1, 2008 1:43 PM
macbeach said...
This is a great example of debugging based on careful examination of the symptoms.
While not always possible, there are many cases where just having surface information regarding type of hardware (processor type, number of cores, differences in video configuration, etc.) can narrow the amount of code you need to examine considerably.
This is also why, in my opinion, having code that runs in as many environments as possible is easier to debug in the long run. (Hint)
November 1, 2008 5:14 PM
David said...
Nice to know some people are serious about making better things for people they don't actually know!
November 1, 2008 6:04 PM
Ahmed Kachkach said...
It would be great to fix all the bugs with tabs', especially when I use Facebook!
Tabs always bug, or shows a blank screen!
Thanks for all the good Job (y) I'm definitly using Chrome =)
November 2, 2008 3:03 AM
xmkx said...
Thank you SO very, very much for correcting the scrolling issue with touchpads in the new release. This bug was driving me (and countless other laptop users no doubt) absolutely crazy! Good job! :)
November 2, 2008 10:04 AM
Michael said...
Okay. Mac version please.
November 3, 2008 1:17 PM
Sulario said...
rather than starting from scratch, google could have easily started from a very strong one like firefox. why didn't the do so? i don't understand.
November 3, 2008 1:59 PM
sreek said...
I've noticed another problem with youtube videos. My Vista PC never go to sleep there is any youtube webpage is opened. Is there a way to stop that youtube video activity after sometime?
November 3, 2008 2:31 PM
SharpGIS said...
What about proper Silverlight support?
November 3, 2008 4:11 PM
Costel said...
OffTopic:
Why don't you use tags for bookmarks in google chrome? Even if there are folders, maybe I want to tag some bookmarks. That thing is very useful to me because when I type a tag name in firefox it gives me all bookmarks tagged with that tag name.
November 3, 2008 4:18 PM
Scott said...
yeah, the biggest problem with Chrome is youtube videos get stuck often for 10-30 seconds before running. pdf files also get stuck for sometimes even longer before eventually coming back to life.
November 3, 2008 4:43 PM
play_max said...
wow Google chrome is very good!!
its speed is faster than Firefox!
simple and elegant designed
the theme of chrome is not attractive so i can focus in the web!!! great work! more secure and more space to view the web like safari...but chrome is different it fully smart!!!
i'am soo happy to use Google Chrome
pls continue update it!
it can deafeat firefox!!!!!
can you improve chrome?
♦more tools
♦plug-in of download manager
♦more appearance can be added
♦adobe shckwave plug in
posted by""""
suxel_4545369@yahoo.com
pleas email me because i have many ideas to tell you i"am only 13 years old boy!!!!
November 3, 2008 9:33 PM
Barack Obama chooses EVIL said...
Iron 0.3.155.0 is working a bit better. I wish you hadn't broken the previous CTRL+K function
:(
November 3, 2008 11:53 PM
fr4nk said...
need mac version ... sick of waiting -.-
November 4, 2008 1:44 AM
Phire42 said...
When posting on the Google Blog, or posting all about improvments, can you please post the version numbers. I know that Google Chrome is supposed to update automatically, but I have the (probably irrational) fear that the updater in mine is broken, so I want to see that I'm actually running the newest version, but no one ever posts what frippen version they are talking about in their articles.
November 4, 2008 3:54 AM
wolfger said...
Hmm... "Google Chrome: a new web browser for Windows".
What happened to the support for Mac and Linux that we were told was "coming soon"?!? Oh well. In the immortal words of Cartman, "screw you guys, I'm going home."
November 4, 2008 4:54 AM
webranger said...
On the pdf matter, this is not a lot of use as you don't tell us how to correct the problem. I've just ensured that I have the latest version, but pdf's still do not open. I have to go to Firefox to get them open.
So what's the answer?
November 4, 2008 7:13 AM
tim said...
FYI - I ran into the same issue in Firefox 3.0 recently. I.E. move the slide and video crashes/hangs. I had too many issues the first time around with Chrome so I uninstalled it, but I'll give it another shot.
November 4, 2008 7:54 AM
Gab H. said...
Please go to facebook and try to everything inside. Lot of things aren't working, for example deleting a story. That's annoying.
I have v0.3.154.
November 4, 2008 7:56 AM
Dono da Web said...
thank u guys.
November 4, 2008 9:49 AM
JP said...
How does your blog NOT have a simple "add to google reader" button on the upper right?
The RSS feed button is an embarrasment, who the heck knows what to do with that? All it does is take you to a page with crappy formatting, what am I to do with that?
Perhaps if Chrome had a "add to reader/iGoogle" button at the top, this might not be an issue.
Stop assuming that engineers are your users, which they probably are. The goal of creating technology is to make it easy for NON-engineers. Engineers will figure things out, but the rest of us won't.
-- an engineer that hates crappy UIs.
November 4, 2008 10:28 AM
JP said...
by the way, I'll start reading this blog, when it's made easy for me to read it via Google Reader and iGoogle. Right now it's not, so I don't read it.
That little orange RSS button is worthless, you might as well not even have it.
November 4, 2008 10:29 AM
Dave said...
Been using Chrome since Day 1 and while it's not perfect, I wouldn't expect that from beta software. It's been damned impressive, however, and now that youtube video works, my biggest complaint with it is gone. Thanks so much guys.
November 4, 2008 3:47 PM
李兵 said...
nice,expect chrome have a strong compatibility
November 4, 2008 6:44 PM
Craig Thomler said...
Hi,
I cannot 'remove' blogger gadgets from my left bar using Chrome. The 'remove' button is supposed to throw up a confirmation dialog box - but this never appears.
So I have to use Firefox to delete these gadgets.
November 5, 2008 11:17 AM
Origem9Ω said...
Espero que as presentes alterações e melhoramentos do "Google Chrome" apresentem uma boa performance, em todos os sentidos. Estou empenhado em chamar cada vez mais gente para o nosso "lado Firefox" e não quero me decepcionar.
November 5, 2008 11:23 AM
Rohan Shah said...
There is a problem while playing youtube videos in full screen mode. On hitting escape, the plug-in becomes irresponsive. This is specially annoying as I am used to loading multiple videos using tabs and all of them close down as the plugin crashes.
November 6, 2008 3:50 AM
Yousuf said...
I wasn't aware at first that Chrome updated itself automatically (though it comes as no surprise since I'm used to Google Talk updating itself too). I hadn't been using Chrome for a long time because of the scrolling issue, so when I used it today I was surprised to find out that scrolling works fine! This was one of the major reasons I hadn't been using Chrome regularly. Now I'll spend more time in Chrome, although as long as it doesn't feature extensions (a la Firefox), it won't be my primary browser.
November 8, 2008 5:25 AM
Origem9Ω said...
[b][blue]Great Now it awesome works as I tried in Windows Vista,indeed.
November 8, 2008 9:44 AM
GeeGee said...
Support for mouse gestures to navigate would be really nice...
November 9, 2008 7:41 AM
Adam said...
I love what Chrome offers in this beta release.
I have a suggestion with the downloading process. I want the option to open (run from here) the document, video or whatever without having to download and pick a location to save it before running the program. I like this feature in IE.
One of my favorite features with Chrome is the real-time spell checking (had to use it like 5 times just typing this) in ANY window in Chrome. Would be nice if you could add frequently used words so they don't get flagged (same thing in Gmail) all the time.
November 12, 2008 10:07 AM
donald said...
I recently came across your blog and have been reading along. I thought I would leave my first comment. I don't know what to
say except that I have enjoyed reading. Nice blog. I will keep visiting this blog very often.
Betty
http://www.my-foreclosures.info
November 12, 2008 6:45 PM
raytherip said...
Hi I am impressed with google chrome I would like it better if I could input text in my hotmail account when I try to send an email. It works in Internet Explorer I live in hope
November 13, 2008 12:58 PM
Pau Klein said...
I am waiting for the google bar at Google Chrome and some plugins, somebody knows how long are we goint to wait for?
November 13, 2008 12:59 PM
Michael Angelo said...
i cannot reply to posts in my forum using google chrome. my forum address is magic.forumotion.com
November 18, 2008 5:46 PM
Patrick Roberts said...
I hesitate to use even upgraded versions of Chrome, since my last experience using it (first version) left my computer compromised; have they fixed the security issues beyond all doubt?
November 21, 2008 4:37 PM
rajdeepak said...
it would be great if you could intergrate a google toobar in chrome becase in need to manage bookmarks online and adding removing on without a toolbar is hard since i use a cyber cafe to acsses it.
November 22, 2008 1:31 AM
Patty said...
Still unable to load pdf files in google chrome. Also how can I import bookmarks from Flock?
November 27, 2008 1:43 AM
morsey said...
see now this is why I like beta'ing google apps. It's the transparency, it is really refreshing to see the honesty.
November 28, 2008 1:52 AM
Tecnical said...
i've been using chrome for about a week now, and only recently i've been having problems with the tabs. when i click a tab once to switch between tabs chrome assumes that i want to separate the tab from the window it gets really annoying and when i put the tab back and chrome crashes can you sort this out please, another thing some blogs i read, come up as malware and i know that they have no such problem can you make those warnings accessible to the user to make exceptions to the warnings, and occasionally chrome has an issue with flash players
November 29, 2008 9:54 AM
Michelle said...
I completely agree with Adam above:
"...I want the option to open (run from here) the document, video or whatever without having to download and pick a location to save it before running the program. I like this feature in IE."
This is the main reason I stopped using Chrome (I also use firefox to watch tv online) - I'm in a master's program and am unable to use Blackboard (need to open a lot of documents) easily with Chrome due to the inability to open the documents within the browser window.
December 2, 2008 8:33 AM
Loki said...
You seem to be avoiding any discussions of ad-blocking plugins for Chrome...
December 3, 2008 4:32 AM
Nikkie said...
Hello, thank you for your efforts in giving us a Google Browser, Super!
A few remarks:
The other bookmarks tab doensn't show the favicon logo next to the link and you cannot see which URL lies underneath. Especially the missing favicon is a pain cuz it makes quick navigation in your favorites a lot easier.
Thank you for solving this in a new update. :)
December 7, 2008 8:49 PM
itedin said...
i have to say... i was excited to switch over to google chrome today... viewed youtube vid's no prob... but I started to do my daily routine of reading pdf journal articles and crash crash crash. and that's how I ended up here. hope it gets fixed soon. back to IE I go.
December 9, 2008 10:16 AM
Robert said...
I'm a 53 year old jaded mainframe systems programmer & IT manager.
I'm responsible for a whole swamp of pc, server & host based banking applications.
I never cared much for MSoft products for a ton of reasons. Not the least of which was the bloated-everything. Nothing was ever simple or straight forward.
As I've told my employees - I shouldn't have to light-up a joint just to get inside Msoft's head every day.
And I don't care much for mucking around with computer crap after I leave the office.
Except for this newfangled Chrome product.
I'm havin' a ball !
Sweet & simple, fast & stable.
Especially the no nonsense help pages - real information for real people - real easy.
This product has single handedly restored the fun of IT for me, and the performance improvement on my old - slower Thinkpads on the Web is nothing short of amazing.
What took you guys so long ?
Rob
December 11, 2008 2:04 PM
Pradeep said...
WoW!! Great effort n the process.. but i still have difficulties n the download manager.. when i close the window unfortunately its not giving any warning messages to remind me the active downloads....
Get that soon.. cheers..
December 13, 2008 12:01 AM
mal7798 said...
I first tried Google Chrome last week, and so far, pretty good, but there are some bugs that I was dismissing by the fact that this is still in "beta", and here I read today that the beta label was just taken off the day after I first used it. Does that mean it's done? You can't stop yet! You're so close but there are some issues that still need to be fixed; the "confirm form resubmission" bug MUST be fixed. Also, the font-size bug needs repaired. I would also like to see the bookmarks bar more customizable, where I can select the icons for the buttons, especially where the generic icon shows up. Are these still being worked on in post-beta, or is there a place I can write to in order to suggest plug-ins? I still like Chrome better than any other browser, but it's not done.
December 14, 2008 4:26 PM
D14bL0 said...
The QuickTime PlugIn causes Chrome to hang.
December 16, 2008 2:42 PM
James Trevelyan said...
I'm stuck with Internet Explorer because neither Firefox nor Chrome will load a simple PDF document without crashing. Maybe something about my WinXP laptop, 3 years old, and using Acrobat 7.1
December 27, 2008 2:11 AM
Mark Liversedge said...
dudes, fix flash. I really want to use your browser but the flash plugin crashes are just killing the user experience. I'm going back to ie7.
if you want to share my experience visit just about any NFL website.
December 29, 2008 2:16 AM
Ilya said...
Wonderful. Is it possible to add a support of color themes because not everybody enjoys blue color?
December 30, 2008 3:54 PM
Yulin said...
Any one know how to open a adobe PDF file on Google Chrome? I have trouble to open it which can be opened on IE 7.0. Thank you
January 5, 2009 4:55 PM
Glenn said...
the latest chrome version turns red when replaced with theme .dll! fix this!
January 9, 2009 9:20 AM
ritz said...
google chrome cannot download videos from you tube using real player....!!
no oder worries...oderwise it is d best...!!
January 9, 2009 11:05 PM
nipuna said...
NEED, YOUTUBE Video DOWNLOAD PLUGIN!!!!!!!!!!!
January 22, 2009 9:21 AM
ilyas said...
Hi! Many interesting observations about Chrome. I am able to watch youtube videos using Adobe Flashplayer 10. However, like with IE - Real Player I am unable to download. Please guide me.
January 27, 2009 1:16 AM
Carlos David (22) said...
mac and linux when? or you a are windows lovah
February 26, 2009 8:04 AM
kariyawasam said...
I am using Google chrome from last two months. It is very effective web browser, for use individual or organization;and also business purpose safe and fast web browsing
March 22, 2009 10:29 PM
Sarah Smith said...
See the comment above, containing the words "I recently came across your blog" ...?
There are 249,000 other sites out there with the same comment.
I'd like to suggest you delete the comment.
April 8, 2009 6:07 AM
Blogger In Middle-earth said...
Kia ora Ian
I too have received the dubious comment that Sarah refers to and research showed me that it is simply spam. Thanks for permitting me to confirm my suspicions about the spam comment.
Catchya later
from Middle-earth.
April 12, 2009 11:37 PM
max` said...
Not an expert by any means; downloaded chrome last week, like it, except i cannot get it to download some of the flash players I seem to need. like ADOBE.YOU SEEM TO ADDRESS IT IN THE BEGINNING OF YOUR BLOG, but since I still have the problem, it is not fixed as far as I am concerned. Do I get rid of Chrome, or is there a fix?
April 27, 2009 6:57 AM
obama the racist socialist said...
when oh when will google release a non-creepy fork of chromium as SRware has already done in Iron??
http://srware.net/en/software_srware_iron_news.php
April 27, 2009 8:50 AM
Dennie Kirtley said...
Ok one bug. Control-click a link in a normal web page and it opens in a background tab. Do the same in Gmail and the link opens in a foreground tab, taking you off the page you just clicked on. You can get around this gmail fault by right-clicking' and opening the link in a new tab. It would be better if there was a default setting for this as ctrl-clicking is much more ergonomic. Also another Chrome annoyance-bug, when you highlight a term and then rt-click to search, the result opens you into a new window rather than in a background tab. Would be great if Chrome could be more firefox-like in this respect.
May 21, 2009 8:41 PM
LiveEdge said...
If you want mouse gestures with chrome try LiveEdge at www.zebware.tk. I use it all the time with chrome.
June 12, 2009 4:27 PM
kariyawasamv said...
This is the one of best browser I use recently all fetchers are very organised easily usable way.next fetcher I sow iGoogle for your home page, this page could organised every thing in one page. you could work one please without go any where.
June 12, 2009 6:02 PM
kariyawasam said...
This is the one of best browser I use recently all fetchers are very organised easily usable way.next fetcher I sow iGoogle for your home page, this page could organised every thing in one page. you could work one please without go any where
June 12, 2009 6:05 PM
Dave said...
As a student at a public school we use BlackBoard. blackboard.com for all of my school electronic documents. Mail, Word docs, Excel, etc. The only thing is the tab on the left side of the screen, which is how you move within your course from section to section, doesn't really work well. I'd love to see an update to work better with this.
Also, Chrome, opens another tab every time I download something. Can't it just use the Ctrl-J option to find it or find it at the popup at the bottom of the page. I hate having to close a tab every time. It is another step that could be eliminated.
Also addons. I mainly use Firefox because of the addons, which I've grown to love. I realize Google is all about the ads, but I won't use Chrome then if I have to see the ads.
June 24, 2009 6:02 PM
Post a Comment