News for hackers. Stuff that matters.
Re:Chrome 7 Will Get 60 Times Faster by bd on Friday September 17, 2010 @03:42PM (#1702549)
Please ignore the bad reporting / marketing spin and focus on what actually Chrome team did. The change is significant and important.

It doesn't really matter that your current web applications will have more or less the same speed. Removing a huge performance bottleneck [1] paves a way for completely new type of applications, so far unheard of on the web (way beyond what's possible with Flash [2]).

And other browsers will follow, Firefox already has its own solution on the way.

Trust me, this is big news, though the effects will be felt only in some time. Developers have to catch up. Even "oldfashioned" unaccelerated 2d canvas is still very far from reaching its full potential.

-------

[1] This bottleneck was coming mainly from compositing of classical software rendered web content and new hardware accelerated content. New way is to do everything HW accelerated (that's BTW why fonts look bit off in new Chrome and Firefox).

[2] Just wait till WebGL will be enabled by default in upcoming Firefox 4 and Chrome 7. There is a marked difference in capabilities, shaders are crazy powerful.

Re:Chrome 7 Will Get 60 Times Faster by xal on Friday September 17, 2010 @06:15PM (#1703023)
This is right on the money. People will be blown away by what google maps will look like after enough browsers have WebGL capabilities and the maps team switches to that technology instead of the crude javascript tiling that they rely on right now.
Re:Chrome 7 Will Get 60 Times Faster by rbranson on Friday September 17, 2010 @09:14PM (#1703402)
Unfortunately the companies that they (Bing, Yahoo, Google, etc) buy the map data from would be very much against pushing their precious vector data out into the public. All of the licensing is setup and specifically deals with tiling maps. It will take years and years before the lawyers agree to it and figure out the licensing details. Perhaps Google can circumvent this in the US because they own their US data, but what about the rest of the world?
Re:Chrome 7 Will Get 60 Times Faster by gruseom on Saturday September 18, 2010 @12:04AM (#1703667)
that's BTW why fonts look bit off in new Chrome

Hey, I'm struggling with that right now. Simple calls to Canvas fillText produce text that is way too heavy in Chrome. (The same calls work ok in FF.) I must be doing something wrong because Bespin uses Canvas and their text looks normal. Any guesses as to what it might be?

Re:Chrome 7 Will Get 60 Times Faster by bd on Saturday September 18, 2010 @01:47AM (#1703766)
I don't know, there are some slight differences in canvas font renderers between Firefox and Chrome even in unaccelerated browsers.

Try to use exactly the same font settings as in Bespin. It may be that "10px Arial" is ok but "0.9em sans-serif" looks very different.

Re:Chrome 7 Will Get 60 Times Faster by tomjen3 on Saturday September 18, 2010 @05:43AM (#1703994)
It is big news, but there is a gigantic caveat here - most people will still be running ancient browsers which can't do this.

But flash is universal.

Re:Chrome 7 Will Get 60 Times Faster by lukev on Friday September 17, 2010 @01:55PM (#1702093)
The people who are complaining that this speedup only applies to 2D canvas are missing the point.

HTML rendering itself is already "fast enough." All of the perceptible delay when loading a webpage is network latency, rendering is already pretty much instantaneous on all modern browsers.

What browsers can't do right now is enable webapps with native speed and experience. And that is what Google is targeting squarely, with this in combination with Native Client.

If HTML5 is ever going to be a real Flash replacement, it's advances like these that will make it happen.

Re:Chrome 7 Will Get 60 Times Faster by gruseom on Saturday September 18, 2010 @12:09AM (#1703675)
HTML rendering itself is already "fast enough." [...] rendering is already pretty much instantaneous on all modern browsers

Strongly disagree. HTML rendering is terribly slow at certain things (especially in Firefox). Unfortunately they're the things our app's usability depends on, so we've had many struggles in this department. Anyone who's ever innocently accessed a DOM element's offsetLeft and wondered why their code got 100x slower will know what I mean.

DOM rendering is so far from instantaneous that it's scandalous. But optimizing Javascript implementations for benchmarks is easier, sexier, and more fun, so that's where the energy has mostly been going. I'd say it's actually the JS's that are "fast enough" at this point, but of course different apps have different needs. Thank goodness Google have been pushing the envelope in every department with Chrome and not just one.

Re:Chrome 7 Will Get 60 Times Faster by lukev on Sunday September 19, 2010 @01:30PM (#1706522)
Programmatic manipulation of the DOM does need a lot of work, yes. But that's not "page rendering" per se. Taking HTML and rendering it is pretty quick in most modern browsers. Mucking about with the DOM and having it refresh efficiently is a related but different problem.
Re:Chrome 7 Will Get 60 Times Faster by daleharvey on Friday September 17, 2010 @03:29PM (#1702502)
html rendering is nowhere near fast enough, when building rich interfaces ensuring the ui is responsive while having to modify it extensively can be really really hard, if we still have to use tricks like optimising css selectors, using fragments to remove and add stuff from the dom and absolutely positioning everything because triggering redraw is still the bottleneck then I dont think rendering is near fast enough yet.
Re:Chrome 7 Will Get 60 Times Faster by enjo on Friday September 17, 2010 @04:08PM (#1702638)
Particularly on mobile browsers.
Re:Chrome 7 Will Get 60 Times Faster by ars on Friday September 17, 2010 @03:08PM (#1702391)
What about the delay when loading a humongous table?

I occasionally need to load a page with 10,000 (or more) table cells, and those are always slow, and no one seems to test browser speeds on those.

Re:Chrome 7 Will Get 60 Times Faster by lukev on Friday September 17, 2010 @03:29PM (#1702504)
We just addressed this problem at work.

The answer was to provide better tools that allowed users to analyze/interact with the data without having to render 10k rows to the screen.

It's not like they were able to read them all anyway. I'm going to go out on a limb and say unilaterally that anything that's just dumping 10,000 rows to the screen has, a priori, terrible usability.

It's not really a case I feel browser designers ought to spend a lot of time optimizing for.

Re:Chrome 7 Will Get 60 Times Faster by ars on Friday September 17, 2010 @04:01PM (#1702614)
That's true, but there wasn't time (i.e. money) to design something better.

It started much much much smaller, but they used it so much it grew far beyond it's initial design, and we were never able to come back to it to do something better. (It's an internal tool BTW, so we, i.e. they, just dealt with it.)

Re:Chrome 7 Will Get 60 Times Faster by Groxx on Friday September 17, 2010 @03:21PM (#1702454)
How much of that time is spent loading? Have you tried saving & opening locally? Is the data being handled in any way by javascript, which could be inefficient (for instance: tons of table tools use JS hover effects, instead of CSS).

Am actually interested, this is not to say it's not actually slow. Just trying to find out why / how slow it is.

Re:Chrome 7 Will Get 60 Times Faster by ars on Friday September 17, 2010 @03:26PM (#1702486)
It was local, php generated output from a database. (And the php wasn't slow, saving to a file was almost instant.)

I think it was just a totally barebones table, with tr and td of many rows from a table. I also had another one where it made an editable form from the data (the data had a bit more structure than the first, some css, but no onload javascript (just onclick)).

It was handmade, so no hover effects or other things.

Firefox was really slow and my customer eventually switched to using chrome for that page. But it's still slow, just not as slow.

I remember having my browser freeze totally for about 10 minutes (yes I timed it).

Re:Chrome 7 Will Get 60 Times Faster by Groxx on Friday September 17, 2010 @03:34PM (#1702519)
Still give it a try from a static HTML file, it could be different.

The 10 minutes sounds like more of a bug than anything else. I've loaded 20mb heavily-styled "books" in HTML that took ~10 seconds to load, but scrolled like molasses, but I've never seen a large table behave that poorly (though I've only handled 1-2 thousand rows).

Re:Chrome 7 Will Get 60 Times Faster by ars on Friday September 17, 2010 @04:04PM (#1702624)
Once the 10 min was over, it worked perfectly fine, and scrolled fast too. But memory usage went up a LOT.
Re:Chrome 7 Will Get 60 Times Faster by csomar on Friday September 17, 2010 @10:04PM (#1703475)
So why on earth does AJAX exist? To solve such bottlenecks. Do AJAX calls for 100 cells instead of 10K.
Re:Chrome 7 Will Get 60 Times Faster by ks on Friday September 17, 2010 @03:36PM (#1702527)
I don't have experience with tables as large as yours, but I have noticed that if you give the browser hints about the columns using the <col>-tag, it loads larger tables faster.
Re:Chrome 7 Will Get 60 Times Faster by dkasper on Friday September 17, 2010 @04:26PM (#1702706)
Maybe you could render the cells when they're visible, similar to how UITableView works on iPhone.
Re:Chrome 7 Will Get 60 Times Faster by smackfu on Friday September 17, 2010 @02:51PM (#1702317)
Isn't the point that the headline is misleading?
Re:Chrome 7 Will Get 60 Times Faster by meric on Friday September 17, 2010 @12:53PM (#1701803)
"Chrome has traditionally been considered the browser to beat when it comes to speed."

Traditionally? It was first released on windows only 2 years ago...

Re:Chrome 7 Will Get 60 Times Faster by niyazpk on Friday September 17, 2010 @01:14PM (#1701904)
Traditional journalism.
Re:Chrome 7 Will Get 60 Times Faster by pbhogan on Friday September 17, 2010 @11:39AM (#1701507)
... at what?

Page rendering? Javascript? Download speeds? What?

I'm sure folks struggling with dial up modems will LOVE to hear web pages will now load 60x faster. </sarcasm>

Re:Chrome 7 Will Get 60 Times Faster by js2 on Friday September 17, 2010 @12:34PM (#1701734)
See http://blog.chromium.org/2010/09/unleashing-gpu-acceleration...

The 60x increase is in two of the demos from the "IE9 Platform Preview Test Drive 2D canvas demos" found here - http://ie.microsoft.com/testdrive/

Re:Chrome 7 Will Get 60 Times Faster by heinel on Friday September 17, 2010 @02:18PM (#1702176)
I think the point is that the article itself is not making sense, not the news it is trying to report.

When I read the article I also thought about just normal browsing page load times. That is already so fast that a 60x increase is hardly noticeable. That just makes the news trivial and the chromium team look like freakish geeks with nothing better to do than crunching numbers that only a machine can read.

That is until I looked at the demo video, which I missed on the article and only found about here. I can see that, particularly with that photo wall and the painter thing, snappiness is what would make them work.

Re:Chrome 7 Will Get 60 Times Faster by sushi on Friday September 17, 2010 @12:08PM (#1701601)
RTFA

that new GPU acceleration advances in the upcoming version 7 are achieving speeds 60 times faster than in version 6

Re:Chrome 7 Will Get 60 Times Faster by mrduncan on Friday September 17, 2010 @12:11PM (#1701607)
That still doesn't explain what is faster, only how it's faster.

Based on the GPU acceleration bit, I'd assume it's page rendering though.

Re:Chrome 7 Will Get 60 Times Faster by pixelbath on Friday September 17, 2010 @12:27PM (#1701706)
"rapid advances in Chrome's 2D graphics performance"

I'd assume it's the 2D graphics performance.

Re:Chrome 7 Will Get 60 Times Faster by _delirium on Friday September 17, 2010 @12:56PM (#1701816)
A very specific subset of 2d graphics performance it seems: 2d animation using certain kinds of transforms. Rendering large/complex SVGs isn't getting 60x faster.
Re:Chrome 7 Will Get 60 Times Faster by hackermom on Friday September 17, 2010 @01:05PM (#1701865)
And this is just one part of page rendering. This part may already be neglectable, representing fractions of a second, drowning in the parsing and structuring of the output done prior to actually rendering it.

To me, all of this is just windbagging and vacuous marketing - just like the (almost entirely) pointless Javascript boasting.

Re:Chrome 7 Will Get 60 Times Faster by danpker on Friday September 17, 2010 @12:11PM (#1701614)
It still doesn't say what exactly. I doubt they have a 60 times speed increase in everything
Re:Chrome 7 Will Get 60 Times Faster by corysama on Friday September 17, 2010 @01:26PM (#1701970)
It's true that this won't make Javascript or HTTP any faster, but it's still very exciting to me. This is about making Canvas faster. That's great because nearly all of the canvas games/demos have been spending around 90% of their cycles waiting on Canvas and only 10% in Javascript. As great as Canvas is, so far it has only been able to replicate games from the era of the 2Mhz SNES. With this change, we may be able to reach the 30Mhz PlayStation 1 era (only 15 years behind the curve!).
Re:Chrome 7 Will Get 60 Times Faster by js2 on Friday September 17, 2010 @12:29PM (#1701713)
This is the source for the article http://blog.chromium.org/2010/09/unleashing-gpu-acceleration... where you can see that the 60x increase is in two specific 2D canvas demos.
Re:Chrome 7 Will Get 60 Times Faster by ggruschow on Friday September 17, 2010 @01:52PM (#1702082)
From the blog post:

  These early numbers show up to 60x speed improvement 
  over the current version of Google Chrome.
Hm... I don't need my browser to be 60x faster if it can't figure out that (60/1) < (35/.5).
Re:Chrome 7 Will Get 60 Times Faster by Groxx on Friday September 17, 2010 @03:31PM (#1702510)
Works for me in Chrome:

  javascript:alert(((60/1) < (35/.5)) ? "true" : "false"); // "true"
Or am I missing something more meta?
Re:Chrome 7 Will Get 60 Times Faster by mbrubeck on Friday September 17, 2010 @05:35PM (#1702914)
I think the point is that "up to 60x" in the Chromium Blog post should have been "up to 70x" or "over 60x in some cases." (But actually this depends on how the 0.5 number was rounded...)
Re:Chrome 7 Will Get 60 Times Faster by moserware on Friday September 17, 2010 @12:39PM (#1701756)
It's nice to see Browser Wars 3.0 having benefits for the whole community.
Re:Chrome 7 Will Get 60 Times Faster by olegkikin on Friday September 17, 2010 @12:16PM (#1701641)
Most likely, not in JS execution. Probably rendering and 3D stuff.

It would be cool if it naively supported GPU calculations. (Which is available for Firefox via jetpack: http://groups.google.com/group/jetpack-to-cuda/?pli=1)

Re:Chrome 7 Will Get 60 Times Faster by carlos on Friday September 17, 2010 @12:45PM (#1701776)
As rendering will get much faster, I guess we can consider JS will much faster too, at least when using canvas with JS, which I believe it's the most important bottleneck right now.
Re:Chrome 7 Will Get 60 Times Faster by ludwigvan on Friday September 17, 2010 @03:10PM (#1702398)
Do browsers have their own version of Moore's law? They seem to be the most accelerating pieces of software.
Re:Chrome 7 Will Get 60 Times Faster by alphabeat on Saturday September 18, 2010 @03:59AM (#1703889)
Competition is fantastic for consumers.
Re:Chrome 7 Will Get 60 Times Faster by earcar on Friday September 17, 2010 @02:19PM (#1702182)
Since this is a rendering improvement, I hope this will be merged back or developed directly into the original WebKit, so everyone can benefit.
Re:Chrome 7 Will Get 60 Times Faster by sandGorgon on Friday September 17, 2010 @04:13PM (#1702655)
My question is - does GPU mean nvidia/ATI, or will the Intel Integrated graphics also be leveraged for these performance boosts ?
Re:Chrome 7 Will Get 60 Times Faster by jrockway on Friday September 17, 2010 @08:47PM (#1703352)
It's OpenGL, right? On Linux, anyway, Intel GPUs do hardware acceleration.
Re:Chrome 7 Will Get 60 Times Faster by keyle on Friday September 17, 2010 @11:48PM (#1703652)
There still needs to be proper architecture for web based application.

I mean for example, data binding that works would be a plus. Anyone know how to do this today, without being locked down into bad frameworks?

That's when we will start seeing some real improvements in web app development.

Re:Chrome 7 Will Get 60 Times Faster by malkia on Friday September 17, 2010 @06:59PM (#1703117)
I have a simple question:

How would this acceleration work with Windows Remote Desktop? It would work with VNC as it grabs the whole screen, but RDC replaces the video driver and it stops being accelerated.

Re:Chrome 7 Will Get 60 Times Faster by mullr on Friday September 17, 2010 @08:33PM (#1703322)
Newer versions of remote desktop know how to pass through some hardware accelerated things, if you have Vista+ on both ends. Or so I've read. I don't know at what layer that mechanism applies though. It may be direct3d calls, or it may be hooking into the application layer to work with WPF.
Re:Chrome 7 Will Get 60 Times Faster by malkia on Friday September 17, 2010 @09:03PM (#1703385)
We are on Vista, and we have problems with D3D. Another problem, even without RDC is the security that IT put to log off the machine if it's not used for 15 minutes. That's okay, but certain D3D applications would lose the device, and would not restore it correctly.

(That to be said, it's just way easier to write the said applications without thinking of recovering from D3D LOST DEVICE. It's real pain in the ass to get this working, especially if you have to put 1GB of vertex buffer/images data in memory, and expect to be there).

Re:Chrome 7 Will Get 60 Times Faster by Groxx on Friday September 17, 2010 @03:59PM (#1702608)
WANT.

This is a very happy day :) It's the single largest thing I've been waiting for for canvas.

Re:Chrome 7 Will Get 60 Times Faster by snissn on Friday September 17, 2010 @01:04PM (#1701858)
...if you have a GPU in your netbook
Re:Chrome 7 Will Get 60 Times Faster by nkassis on Friday September 17, 2010 @01:22PM (#1701945)
They have a mechanism to detect if it's present or not. For example, some cards don't have OpenGL drivers so they created ANGLE to fix that. They also have software rendering which can be reenabled if needed.
Re:Chrome 7 Will Get 60 Times Faster by snissn on Friday September 17, 2010 @05:07PM (#1702842)
sorry, the unstated and unrealized premise of my reply was that this is good and great, but that there are also legacy issues of what technology people actually will use the web browser on.

ChromeOS for example may mostly be on netbooks without GPUs.

However, at the same token this might be a good catalyst for even cell phones and netbooks to have them, as the iPad seems to [quick google search] so ultimately GPU may be the killer stat on mobile, although it probably is already ,i'm just a rambling software dev

Re:Chrome 7 Will Get 60 Times Faster by jrockway on Friday September 17, 2010 @08:46PM (#1703351)
Netbooks have GPUs. The Intel GPU is probably most common and least performant, but it can still accelerate OpenGL to faster-than-software speeds. And, new netbooks are shipping with nVidia Ion, which is quite fast. (I can play 1080p h.264 on my nettop with an Ion GPU.)
Re:Chrome 7 Will Get 60 Times Faster by stretchwithme on Saturday September 18, 2010 @02:54AM (#1703829)
sounds great. Now I can continue to get away with 700 open tabs at once.
Re:Chrome 7 Will Get 60 Times Faster by natmaster on Friday September 17, 2010 @01:03PM (#1701854)
Wouldn't this still put chrome behind ie9 and Firefox 4? Chrome's rendering perf has been traditionally terrible.

This article is very misleading - acting like Chrome's been ahead of rendering perf this entire time when it is in fact been in last place.