Re: [dev-servo] Plans for implementing progressive web metrics

2017-04-02 Thread Josh Matthews
Meaningful Paint is intentionally missing, since Blink's current definition relies on the Blink-internal concept of "layout objects". Translating this into something usable for Servo will require discussion with people more familiar with our layout implementation than I currently am. On 2017-

Re: [dev-servo] Plans for implementing progressive web metrics

2017-04-02 Thread digitarald
On Friday, March 31, 2017 at 1:38:25 PM UTC-7, Josh Matthews wrote: > Oh, and as for how I expect they'll be implemented: > > Time to interaction sounds straightforward to me - on a > per-script-thread basis, track the start of the last 10s window that did > not contain a task that took longer t

Re: [dev-servo] Plans for implementing progressive web metrics

2017-04-01 Thread jmaher
On Friday, March 31, 2017 at 4:38:25 PM UTC-4, Jack Moffitt wrote: > > Together, these metrics will give us information on the graphical timeline > > showing: > > * how long after a page was requested before the first visual change > > occurred > > * how long after that before the first nontrivial

Re: [dev-servo] Plans for implementing progressive web metrics

2017-03-31 Thread Nick Fitzgerald
Additionally, the existing profiling infrastructure can already dump its raw data as a TSV file. On Fri, Mar 31, 2017 at 1:51 PM, Josh Matthews wrote: > On 2017-03-31 4:38 PM, Jack Moffitt wrote: > >> Together, these metrics will give us information on the graphical timeline >>> showing: >>> * h

Re: [dev-servo] Plans for implementing progressive web metrics

2017-03-31 Thread Josh Matthews
On 2017-03-31 4:38 PM, Jack Moffitt wrote: Together, these metrics will give us information on the graphical timeline showing: * how long after a page was requested before the first visual change occurred * how long after that before the first nontrivial visual content appeared * how long after t

Re: [dev-servo] Plans for implementing progressive web metrics

2017-03-31 Thread Jack Moffitt
> Together, these metrics will give us information on the graphical timeline > showing: > * how long after a page was requested before the first visual change > occurred > * how long after that before the first nontrivial visual content appeared > * how long after the page was requested before it w

Re: [dev-servo] Plans for implementing progressive web metrics

2017-03-31 Thread Josh Matthews
Oh, and as for how I expect they'll be implemented: Time to interaction sounds straightforward to me - on a per-script-thread basis, track the start of the last 10s window that did not contain a task that took longer than 50ms to execute. Whenever at least 10s has gone by since the start of th

[dev-servo] Plans for implementing progressive web metrics

2017-03-31 Thread Josh Matthews
Back in September, Till shared an update [1] from dev-platform about the Progressive Web Metrics that the Blink team is championing. I've been looking into how that effort is going in Firefox and Blink, and whether we should be adopting some of them. Overview: We should implement the Time to F