mozilla/wpt-api

start_epoch vs/or start_time for Firefox-internal metric measurements/calculations?

Open

#165 创建于 2018年12月11日

在 GitHub 查看
 (0 评论) (0 反应) (0 负责人)Python (7 fork)auto 404
firefoxhelp wantedmetricsquestion

仓库指标

Star
 (28 star)
PR 合并指标
 (PR 指标待抓取)

描述

Should we use start_epoch or start_time from https://github.com/WPO-Foundation/wptagent/blob/a45466623a8a812cf389c1124d7ff2fd6c4ff8dc/internal/firefox.py#L1061-L1062 and https://github.com/WPO-Foundation/wptagent/blob/a45466623a8a812cf389c1124d7ff2fd6c4ff8dc/internal/firefox.py#L330, respectively?

Or, is sometimes fetchStart/navigationStart[1]?

There are cases where we need to get as close as possible to standard/Chrome timings, but due to other reasons, [2] have to match Raptor/do a one-off calculation**[3]**

[0] [wptagent] https://github.com/WPO-Foundation/wptagent/search?q=fetchStart&unscoped_q=fetchStart [1] [wptagent] https://github.com/WPO-Foundation/wptagent/search?q=navigationStart&unscoped_q=navigationStart [2] [custom-metrics] as in trying to calculate DOMContentFlushed from its raw timestamp timeToDomContentFlushed - fetchStart or other non-standard metrics, for which we have to be careful to use the right webpagetest timestamp / W3C * Timing API, etc. [3] https://github.com/mozilla/wpt-api/issues/97

贡献者指南