282 points · by leeoniya · 6y ago · 158 comments
I think the outlier cases are interesting. The Gamespot test[2] loads 2x slower and with 2x page size using default uBlock. Strange glass-card websites these days.
[1] https://bugs.chromium.org/p/chromium/issues/detail?id=104449...
V8 could choose to look at both microbenchmark performance and real web performance, as both are useful signals for how V8 performs in general.
The only reason to not use microbenchmarks is because you think they will somehow lead you astray and cause you to optimize things such that user experience actually gets worse. But, frankly, I find that incredibly unlikely, and I'd love to see actual examples of such a thing.
Otherwise, this just seems like, and now I'm going to return to that idiom: throwing the proverbial baby out with the bathwater, here, simply because someone somewhere decided that microbenchmarks are universally "bad" while website performance tests are universally "good".
Of course, this presupposes that this is, in fact, what the V8 team is doing.
That's not the only reason. It's about putting the effort where it's matters. Sure gaining 30% speed in synthetic benchmark seems great, but if in real world scenario theses things doesn't happen that often (and spoiler alert, they don't), it will means actually much less than 30% of the speed gains. That's not a good metric to go toward.
It's simply about investing the development time that you got, where it matters for the user.
If your usage is closer to synthetic benchmark and thus you lost close to that 30% of performance since Chrome 75, then take your real world scenario and send that to the V8 teams, I'm sure they'll be happy to consider it in the test suite.
For example, if you have a caching scheme that was designed to make the microbenchmark better, it could very easily make real world performance worse. Like if the microbenchmark used 100 sized X blocks, so you pre allocated those on start-up, great microbenchmark speed up. But in the real world that hurts start-up time, and the cache is probably not fully utilized.
A lot of times it's good to use microbenchmarks as a signpost, to indicate if some performance tuning causes a massive degradation that is unexpected.
Devtools are great, performance is great, battery life on MacBook 16in is great, Nightly is awesome (has its ups and downs).
I honestly only ever use Chrome to double-check if my CSS styling is cross-browser. Although I have been using Edge a lot more for this use case, because I can't stand Google.
Hah, part of my happiness in my return to using Firefox more as my daily driver lately has been the square tabs. Rounded tabs and tabs that shrink way too much turned out to be my big reasons I disliked the Edge to Edgmium "upgrade".
I did this myself using userChrome.css :-)
Found the link for anyone else interested: https://www.userchrome.org/firefox-changes-userchrome-css.ht...
THANK YOU.
I had no idea this existed, I will be looking into this.
You have to enable it manually nowadays, but it opens up a ton of possibilities - you can theme virtually everything (find out which elements to theme using the browser toolbox).
That's a powerful machine most users don't have, you are less likely to notice the difference than most.
I use them in Firefox/Chrome to signal that they're tabs I definitely want to always keep open, and which I expect to open a lot of other tabs from. It's a whole different use case from wanting them available on every window.
Like GMail is awful[https://medium.com/@boriscoder/peeking-under-the-hood-of-red...] and chrome is on its way.
My best guess to understand it is:
- On the horizontal axis, we have consecutive Chrome releases.
- On the vertical axis, we have total time of benchmark execution, relatively to Chrome 75
The source of the data is the "js-framework-benchmark"[0] run in a controlled environment in Chrome[1]
[0]: https://github.com/krausest/js-framework-benchmark
[1]: https://krausest.github.io/js-framework-benchmark/2020/table...
E.g. this https://www.blackrock.com/uk/intermediaries/products/230286/...
Doesn't start from zero, but is very clear that it doesn't start from unity either.
This type of chart is extremely common in benchmarks.
> Bonus mess points for choosing 1 instead of 0 as the starting point on the vertical axis...
What purpose would a block of whitespace at the bottom serve?
If you were on a breakpoint and you reloaded the page, the code execution was resumed. Didn't realize it did that until I saw network traffic that was generated by code after the breakpoint.
to call these microbenchmarks (especially when viewed collectively) for the purpose of dismissing the results is dishonest at best.
each datapoint on the graph represents a lot of internal metrics (GC, JS, DOM, layout/css). these aren't some one-liner JS loops. when you have a diverse set of "microbenchmarks", and they all show the same trend, you can be pretty sure the results are not "contrived".
keep in mind that canary builds might not be compiled with all the typical release optimization flags turned on.
So I started trying out some new browsers recently, and really like Brave for the out-of-the-box privacy focus. The crypto stuff is novel and I'd be interested to see where that goes.
Also tried Vivaldi and absolutely love it. Reminds me of the old Opera (absolute favorite), it's got configurations for everything. Vertical tabs are a built-in!
I use Firefox from time to time too, but find the interface less polished (at least on MacOS).
My OpenLayers mapping application suddenly got VERY slow. tl;dr: Chromium team had made an optimization change to canvas `getImageData` which slowed it to ~1/40th performance in some cases. It was frustrating to have to convince them this is a problem at all.
But what frustrated me more was how they came to decide to sacrifice performance in one way to benefit it in another. I'm sure they came to the conclusion somehow, but it ended up just utterly breaking apps that are already out there. One teacher struggled with a school-board-wide course that just didn't function because the main software was broken by this.
https://bugs.chromium.org/p/chromium/issues/detail?id=100184...
My money would be on that it improved performance on something google related: maps, youtube, etc
Two other scenarios that will often change in performance is canvas-to-canvas draws and canvas<->WebGL interop, because how those are implemented is complex. In the past particular behaviors would instantly disable hardware acceleration for a given canvas, tanking your performance.
Please, more people switch to Firefox. Chrome is breaking the internet.
The analytics is most likely blocked by common adblock rules. And present-day Firefox users are quite likely to be advanced users, running adblock.
Thus Firefox ends up being under-represented in the analytics.
And by the way: it is estimated that 60% of all internet users block analytics. So take your stats with a grain of salt.
I have tried to switch to Firefox multiple times, but I couldn't stand how much slower it felt than Brave, especially on Android. I also prefer the minimalistic interface of Chromium, and run Brave with its "Rewards" feature turned off.
YMMV of course. Firefox has a long way to go it seems on mobile.
It is totally possible that the "problem is on my side" but they still lost my business. There's only so much effort I'm willing to put into purchasing from a company if I can't use their website. Most places work fine, both of these didn't. I normally just find a company that has a better website to give my money to instead.
It's possible it would have eventually worked if I started the browser in safe mode or something, but this doesn't seem reasonable to me to do to be able to give them money.
And overall the extension landscape looks highly bleak. What are the recommended adblockers? I found Ghostery Lite (which according to the reviews seems quite disappointing) and a number of paid adblockers...
From my test some while back there at least seemed to be a decent number of extensions out there but now it's different. Why?
Edit: The Bitwarden extension seems to have been installed automatically along with the desktop app.
Regarding ad blockers, my solution has just been to stop using the internet so much. I almost exclusively use it for work now. So I run into almost no websites with ads.
I heartily recommend going internet free except during work hours, and using the library for the rest. It's been such an amazing life improvement for us, we wish that on everyone.
It's unlikely that you will notice the difference anyway, few websites manipulate that many DOM elements at interactive rates. Those would be much better off with Canvas, which is also way slower on Firefox.
[1] https://www.phoronix.com/scan.php?page=article&item=chrome-8...
in my experience, both browsers performed very differently under Windows than under Linux (Manjaro). both mozilla and google clearly spend more time optimizing for the overwhelmingly more common user (Windows).
That said, I still prefer Firefox because Firefox isn't Blink.
Oh, and there's my desire to push back against browser engine monoculture, which I believe is bad for the Web.
How so? Has Brave introduced security related features that are not in Chromium?
That would indeed be impressive, considering the amount of developers working on Chrome.
https://chromium.googlesource.com/chromium/src/+/master/docs...
They release often for the same reasons you would do continuous deployment. Release a little, but often. It helps them to better isolate regressions in the field and deliver non-critical security fixes quickly.
I know I say that it helps them prevent regressions and this post is talking about regressions, but it's also work keeping in mind that Chrome telemetry is insanely extensive. I'd wager that in the field, to the typical user, that Chrome 80 is actually faster than 75.
It's not a rigorous test, there's no data on other browsers or earlier versions, it's a github issue on one particular js/DOM benchmark detailing a likely regression. There aren't any details I can see on what hardware is tested. Even if you wanted to start researching chrome performance, this is a bad place to start.
So why is it up so high after just a few minutes and 54 upvotes?
In this case, there is a broad ongoing argument about Google and its products [jumping the shark/being evil]. That argument is so much fun that, as I write this, almost every single top-level comment in this thread is a salvo in that argument, only tenuously connected to the OP. This article is just a convenient place to have the argument.
(I have a personal learning experience here: The first article of mine that hit the HN front page was a writeup of a PyCon talk entitled "To Make the World Better, Remove Some Javascript from it"[0]. It also shot to the top within minutes, and was [defensibly] flagged off the front page very quickly, because the title alone immediately turned it into a place to argue about JS [not] being evil, rather than discuss the Python-to-Javascript compiler I was talking about. Suffice it to say that subsequent articles have been more modestly titled!)
https://news.ycombinator.com/item?id=16020089
A good rule of thumb for this effect is when the number of comments on a submission exceeds its score.