News for hackers. Stuff that matters.
Re:Inside a fast CSS engine by pcwalton on Tuesday August 22, 2017 @02:08PM (#15074966)
> Is there any real life examples of achieved speedup?

Yes, most pages have significant speedups during the initial restyle especially. Wikipedia pages tend to get 3x or so improved style recalc time on typical systems with Intel quad core CPUs, for example.

Of course, styling is only one part of the whole, so your overall speedups are limited by the rest of the rendering pipeline. That's Amdahl's Law for you. But that's no reason to not parallelize at all; it just means that we have lots more work to do once this is done :)

Re:Inside a fast CSS engine by majewsky on Tuesday August 22, 2017 @05:38PM (#15076607)
> Wikipedia pages tend to get 3x or so improved style recalc time on typical systems with Intel quad core CPUs, for example.

Do you have absolute numbers? If it's 100 vs. 300 ms, that'd be huge. If it's 1 vs. 3 ms, I don't really care.

Re:Inside a fast CSS engine by pcwalton on Tuesday August 22, 2017 @06:07PM (#15076787)
On my Haswell MBP, Stylo can take first pageload styles on Wikipedia pages from 150-200 ms down to 50 ms or so, last I checked.
Re:Inside a fast CSS engine by bholley on Tuesday August 22, 2017 @06:36PM (#15076965)
It's even better now - we get down to about 14ms with various recent improvements in style sharing.
Re:Inside a fast CSS engine by majewsky on Wednesday August 23, 2017 @01:39AM (#15078798)
Okay, that's seriously awesome. Nice job!