Live data from Hacker News

“The colored boxes indicate which CPU core performed layout for each node”

blog.servo.org

21–30 of 61 posts

Re: “The colored boxes indicate which CPU core performed layout for each node”

#21

Are multiple cores being used to draw a webpage? If so, do typical webpages need this level of performance for a satisfactory user experience?

do typical webpages need this level of performance for a satisfactory user experience?

It's needed because low-end phones have 8 slow cores instead of 2 fast cores.

Re: “The colored boxes indicate which CPU core performed layout for each node”

#22

'Servo has another browser chrome!" I like these competition jokes :)

Actually chrome always referred to the non-content parts of the UI. Or at least it already did back in the Mozilla Seamonkey days. Chrome the browser was named as such because it removed a lot of the chrome and focused mostly on the content.

Re: “The colored boxes indicate which CPU core performed layout for each node”

#24
post #19

If layout is going to be so parallelized does that mean we're going to need better asynchronous DOM APIs and possibly better Javascript threading support?

Ensuring that those APIs will exist and that other APIs don't block parallel layout is one of the goals of Servo, as a project. It's already informed several emerging standards.

Re: “The colored boxes indicate which CPU core performed layout for each node”

#25
post #23

Earlier quoted context omitted.

Didn't ask you. (amirite?)

I don't really understand your response. I was just curious what was special about the word "askew" from BasDirks' point of view.

"ask you" sounds a bit like "askew", for what it's worth.

Re: “The colored boxes indicate which CPU core performed layout for each node”

#26
post #22

'Servo has another browser chrome!" I like these competition jokes :)

Actually chrome always referred to the non-content parts of the UI. Or at least it already did back in the Mozilla Seamonkey days. Chrome the browser was named as such because it removed a lot of the chrome and focused mostly on the content.

It's obvious, but I still think it's not just boring word in this case.

Re: “The colored boxes indicate which CPU core performed layout for each node”

#27

Are multiple cores being used to draw a webpage? If so, do typical webpages need this level of performance for a satisfactory user experience?

> Are multiple cores being used to draw a webpage? Yes. There is coarse-grained parallelism (e.g. script, layout, painting can all happen simultaneously) and fine-grained parallelism (e.g. every render object is restyled and laid out concurrently). > If so, do typical webpages need this level of performance for a satisfactory user experience? It depends on the site, of course, but preliminary results show that multic…

Do you know of any resources that go in depth into how different layouts affect parallelism?

Re: “The colored boxes indicate which CPU core performed layout for each node”

#28

Earlier quoted context omitted.

> Are multiple cores being used to draw a webpage? Yes. There is coarse-grained parallelism (e.g. script, layout, painting can all happen simultaneously) and fine-grained parallelism (e.g. every render object is restyled and laid out concurrently). > If so, do typical webpages need this level of performance for a satisfactory user experience? It depends on the site, of course, but preliminary results show that multic…

Do you know of any resources that go in depth into how different layouts affect parallelism?

I have a blog post from last year on the topic: http://pcwalton.github.io/blog/2014/02/25/revamped-parallel-...

Re: “The colored boxes indicate which CPU core performed layout for each node”

#29

speaking from a similar perspective here, I'm jealous of your long list of contributors

Piggybacking off of this, if anyone would like to try their hand at contributing to Servo I recommend checking out the "E-Easy" bugs on the issue tracker ( https://github.com/servo/servo/labels/E-easy ) and hitting up #servo on irc.mozilla.org ( http://chat.mibbit.com/?server=irc.mozilla.org&channel=%23se... ). It's not often that you get to be a part of rewriting a browser engine from scratch. :)

And you don't need to be a Rust expert to contribute (not least because essentially nobody in the world fits that description)! It's totally common for initial commits to be the first serious lines of Rust a contributor has ever written ( https://twitter.com/chimeracoder/status/583755185899626496 ).

Re: “The colored boxes indicate which CPU core performed layout for each node”

#30

Are multiple cores being used to draw a webpage? If so, do typical webpages need this level of performance for a satisfactory user experience?

> Are multiple cores being used to draw a webpage? Yes. There is coarse-grained parallelism (e.g. script, layout, painting can all happen simultaneously) and fine-grained parallelism (e.g. every render object is restyled and laid out concurrently). > If so, do typical webpages need this level of performance for a satisfactory user experience? It depends on the site, of course, but preliminary results show that multic…

It would be extremely interesting to see any numbers that compare single-core layout (in Servo) with multi-core layout (in Servo).
Post reply on HN