Add telemetry to measure ratio of parsing versus streaming.
Categories
(Core :: JavaScript Engine, task, P2)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox71 | --- | fixed |
People
(Reporter: nbp, Assigned: nbp)
References
(Blocks 1 open bug)
Details
Attachments
(2 files)
|
3.45 KB,
text/plain
|
mlopatka
:
data-review+
|
Details |
|
47 bytes,
text/x-phabricator-request
|
Details | Review |
This bug is a follow-up of Bug 1573904, which measured the streaming speed (= ss).
We attempt to measure the parsing time (= pt) and the streaming time (= st). However, we want to associate the streaming time with the parsing time, such that we do not have to guess this information later on.
The idea is to measure the following formulae:
x = (pt - st) / (pt + st)
This formulae should directly tells us whether the parsing time is larger (> 0) than the streaming time. Also, it is interesting telemetry wise, as it is bounded by -1 and 1.
Then, from this formulae, we can compute the following ratios:
st / pt = (1 - x) / (1 + x)
This also happens to be almost what we are interested in, modulo the missing parsing time, to compute the formulae mentioned in Bug 1573904, where we want:
Estimated time ≃ Min(pt * (1 - st / pt), 0) [knowing that the ratio of streamed bytes is roughly 100%]
Also, we can deduce the parsing speed (= ps) knowing the streaming speed (= ss) collected in Bug 1573904, as
ps = ss * (st / pt) [knowing that ps = b / pt ; ss = b / st]
Updated•6 years ago
|
| Assignee | ||
Comment 1•6 years ago
|
||
| Assignee | ||
Comment 2•6 years ago
|
||
Comment 3•6 years ago
|
||
| Assignee | ||
Comment 5•6 years ago
|
||
(In reply to mlopatka from comment #4)
Comment on attachment 9092072 [details]
Data Review RequestData Steward review:
Thank you for submitting a review request. Everything looks good to me with
the exception of the specified data collection duration. Please provide a
public bug indicating termination efforts for this collection. I understand
from the responses to data review form that this is a temporary data
collection effort and has a planned end date."I want this data to be collected for a few months with probably no need to extend the collection period.“
A public bug (with appropriate dependencies) should be filed, demonstrating
that resourcing for backing out these probes is in place and the new probes
are not intended for release uplift.
Telemetry probes are set to expire by Firefox 75, and Bug 1580732 is filed to remove these telemetry probes.
For future data review requests please note these (very minor) stylistic
nits:
1- A little bit more verbosity in the response to “What questions will you
answer with this data?” Please feel free to pull more content from the bug
itself into this field to facilitate review.
2- Please specify data category numbers in “List all proposed measurements
and indicate the category of data collection for each measurement, using the
Firefox data collection categories on the Mozilla wiki.“ For example:
Category 1 “Technical data”
I thought I did explicit it in the data review request, probably missed due to the lack of formatting: (updated with the new tracking bug)
| Measurement Description | Data Collection Category | Tracking Bug # |
|---|---|---|
| Percent of stream-time over stream + parse + bytecode time | Technical Data | Bug 1580732 |
| Percent of parse-time over stream + parse + bytecode time | Technical Data | Bug 1580732 |
| Percent of emit-bytecode-time over stream + parse + bytecode time | Technical Data | Bug 1580732 |
| Percent of script which are streamed | Technical Data | Bug 1580732 |
Updated•6 years ago
|
Comment 8•6 years ago
|
||
| bugherder | ||
Description
•