servo/webrender

Profile how primitive runs / clip nodes are being produced by Gecko

Open

#2,842 opened on Jun 25, 2018

View on GitHub
 (2 comments) (3 reactions) (0 assignees)Rust (319 forks)github user discovery
area: performancedifficulty: moderatehelp wantedpriority: soon

Repository metrics

Stars
 (3,355 stars)
PR merge metrics
 (PR metrics pending)

Description

It would be really interesting to profile a series of real world pages in Gecko, and get a sense of:

  • What the ratio of clip nodes is to primitives.
  • How many primitives (on average) there are per primitive run in a Picture.

From this information, we may be able to either:

  • Improve the display lists that Gecko is producing, if there are redundant clips (either in Gecko or in WR itself).
  • See if there is a better way to store some of this information given the real world usage patterns we see.

Contributor guide