Closed
Bug 1212792
Opened 11 years ago
Closed 11 years ago
[raptor] Add measurement values and sample size to the JSON output
Categories
(Firefox OS Graveyard :: Gaia::PerformanceTest, defect)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: stas, Assigned: stas)
Details
Attachments
(1 external file)
To enable more uses of the JSON output, it would be helpful to include the raw data and the sample size in the JSON output. Many statistical tests require at least the sample size to properly calculate the degrees of freedom to use.
| Assignee | ||
Comment 1•11 years ago
|
||
Comment 2•11 years ago
|
||
I can see including the sample size in the JSON, but not sure what including the raw points gets us. We already generate a metrics.ldjson file which contains all the metrics, so presumably I feel like there should just be some glue to put the two together if it's even needed.
| Assignee | ||
Comment 3•11 years ago
|
||
Hmm, I was working under the assumption that the JSON output is the "raw" output. You can easily derive all statistics from an array of values, but not the other way around. While it's possible to test a hypothesis using a t-test using the mean, stdev and the sample size, other uses might require other pieces of data. Providing the raw values seems like the most scalable solution to me.
Perhaps I could add another output mode called "raw" so that "json" stays relatively concise?
Comment 4•11 years ago
|
||
What I mean is, all of the data is already accessible, but right now it is split between 2 "files", if in JSON mode:
raptor test coldlaunch --metrics metrics.ldjson --app clock --output json > stats.json
~ ls
...
metrics.ldjson
stats.json
So there is a metrics file which contains all the values, and then the stats.json would contain the stats of that run.
| Assignee | ||
Comment 5•11 years ago
|
||
Ah, I see. I was wondering what that file was for :) OK, I'll try to use ldjson for this, thanks!
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → WONTFIX
Updated•11 years ago
|
Attachment #8671294 -
Flags: review?(eperelman)
You need to log in
before you can comment on or make changes to this bug.
Description
•