Closed
Bug 1502116
Opened 7 years ago
Closed 7 years ago
web-tooling subtests should be 'score'
Categories
(Testing :: General, enhancement)
Tracking
(firefox65 fixed)
VERIFIED
FIXED
mozilla65
| Tracking | Status | |
|---|---|---|
| firefox65 | --- | fixed |
People
(Reporter: armenzg, Assigned: armenzg)
Details
Attachments
(3 files)
In bug 1502036 we discovered that web-tooling subtests are marked as *ms* "lower is better" (by *not* specifying "lower_is_better: false") [1]
However, we need it to be a *score* "higher is better".
This is similar to bug 1486789.
This blocks bug 1502036.
The metadata in Perfherder will be updated in bug 1502073.
[1]
https://treeherder.mozilla.org/api/project/mozilla-central/performance/signatures/?parent_signature=620f90feca6c0916ca8e593737eb6bf6d0301f68
| Assignee | ||
Comment 1•7 years ago
|
||
Adapted from bug 1502036:
> Looking at the graphs for webtooling [1] we see a peculiar oddity.
>
> In the case of web-tooling, the aggregate results are being reported as a __Score__,
> where higher-is-better, and each subtest is being reported as __execution time in ms__,
> where lower-is-better.
>
> However, if you look at the score and subtests, comparing Chrome and SpiderMonkey,
> they disagree about what is better: Chrome shows a lower (worse) score than
> SpiderMonkey in the aggregate score, but for every subtest shows lower (better)
> execution time, which should imply a higher score.
From the logs we can see that the subscores are also scores [2] as mgaudet points out.
From PERFHERDER_DATA only the main score has __"lowerIsBetter": false__ while the subtests don't have that property (in the absence of it we default to lower is better).
We need to change the __subtests__ of web-tooling to report as higher is better.
I think the line that needs editing is this one:
https://searchfox.org/mozilla-central/source/testing/jsshell/benchmark.py#294
> self.suite['subtests'].append({'name': test_name, 'value': mean})
I think we just need to change it to:
> self.suite['subtests'].append({
> 'lower_is_better': false,
> 'name': test_name,
> 'value': mean,
> })
I will give it a try. I don't remember the last time I pushed to Try :)
[1]: https://arewefastyet.com/linux64/web-tooling?numDays=90
[2]
[task 2018-11-09T18:23:34.868Z] Running Web Tooling Benchmark 0.3.2...
[task 2018-11-09T18:23:34.869Z] --------------------------------------
[task 2018-11-09T18:23:41.227Z] acorn: 6.93 runs/sec
[task 2018-11-09T18:23:48.455Z] babel: 6.71 runs/sec
[task 2018-11-09T18:23:55.041Z] babylon: 6.23 runs/sec
[task 2018-11-09T18:24:03.716Z] buble: 4.88 runs/sec
[task 2018-11-09T18:24:07.838Z] chai: 10.13 runs/sec
[task 2018-11-09T18:24:18.674Z] coffeescript: 3.64 runs/sec
[task 2018-11-09T18:24:31.902Z] espree: 3.05 runs/sec
[task 2018-11-09T18:24:38.583Z] esprima: 5.66 runs/sec
[task 2018-11-09T18:24:51.414Z] jshint: 3.17 runs/sec
[task 2018-11-09T18:24:58.603Z] lebab: 5.87 runs/sec
[task 2018-11-09T18:25:06.131Z] prepack: 5.51 runs/sec
[task 2018-11-09T18:25:13.417Z] prettier: 5.95 runs/sec
[task 2018-11-09T18:25:17.881Z] source-map: 15.04 runs/sec
[task 2018-11-09T18:25:23.878Z] typescript: 7.39 runs/sec
[task 2018-11-09T18:25:28.665Z] uglify-es: 11.92 runs/sec
[task 2018-11-09T18:25:38.502Z] uglify-js: 4.16 runs/sec
[3]
{
"framework": {
"name": "js-bench"
},
"suites": [{
"name": "web-tooling-benchmark-sm",
"lowerIsBetter": false,
"value": 6.03,
"shouldAlert": false,
"units": "score",
"subtests": [{
"name": "web-tooling-benchmark-source-map",
"value": 15.04
}, {
No longer blocks: 1502036
Component: Raptor → General
| Assignee | ||
Comment 2•7 years ago
|
||
Could someone please try this patch on Try?
You just need to test this for the webtool jobs (sm and v8).
Thanks!
Comment 3•7 years ago
|
||
| Assignee | ||
Comment 4•7 years ago
|
||
Thanks mgaudet!
The subtests now seem to have 'lower_is_better': false defined [1]
I think this is sufficient.
[1]
https://treeherder.mozilla.org/logviewer.html#?job_id=210906528&repo=try
> "subtests": [{
> "lower_is_better": false,
> "name": "web-tooling-benchmark-source-map",
> "value": 13.75
> }, {
| Assignee | ||
Comment 5•7 years ago
|
||
Comment on attachment 9024078 [details] [diff] [review]
patch
Review of attachment 9024078 [details] [diff] [review]:
-----------------------------------------------------------------
Hi Ionut,
If this looks good to you, would you mind landing it for me? Thanks!
My Hg account has been disabled for lack of usage and I won't reactivate it since I won't need it in the future.
Attachment #9024078 -
Flags: review?(igoldan)
Updated•7 years ago
|
Attachment #9024078 -
Flags: review?(igoldan) → review+
Comment 6•7 years ago
|
||
(In reply to Armen [:armenzg] from comment #5)
> Comment on attachment 9024078 [details] [diff] [review]
> patch
>
> Review of attachment 9024078 [details] [diff] [review]:
> -----------------------------------------------------------------
>
> Hi Ionut,
> If this looks good to you, would you mind landing it for me? Thanks!
>
> My Hg account has been disabled for lack of usage and I won't reactivate it
> since I won't need it in the future.
Could you first push this to Phabricator, using Arcanist? I'm not familiar with landing patches on mozilla-inbound directly.
Updated•7 years ago
|
Flags: needinfo?(armenzg)
| Assignee | ||
Comment 7•7 years ago
|
||
| Assignee | ||
Updated•7 years ago
|
Assignee: nobody → armenzg
Flags: needinfo?(armenzg)
| Assignee | ||
Comment 8•7 years ago
|
||
Let me know if there's anything else I need to do:
https://phabricator.services.mozilla.com/D11768
I don't know how to land from Phabricator; Could you please land it for me?
Pushed by igoldan@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/26360851a3ba
web-tooling subtests should be 'score' r=igoldan
Comment 10•7 years ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 7 years ago
status-firefox65:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla65
| Assignee | ||
Comment 11•7 years ago
|
||
We named it wrong (lowerIsBetter vs lower_is_better).
The subtests are still reporting incorrectly as lower is better [1]
[1] https://treeherder.mozilla.org/perf.html#/graphs?series=mozilla-central,1760198,1,11&selected=mozilla-central,1760198,403880,643400991,11
[2] https://taskcluster-artifacts.net/F1dfOqM-THe72nyfI5Bt0g/0/public/logs/live_backing.log
> {
> "framework": {
> "name": "js-bench"
> },
> "suites": [{
> "name": "web-tooling-benchmark-sm",
> "lowerIsBetter": false,
> "value": 6.0,
> "shouldAlert": false,
> "units": "score",
> "subtests": [{
> "lower_is_better": false,
> "name": "web-tooling-benchmark-source-map",
> "value": 13.58
> }, {
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
| Assignee | ||
Comment 12•7 years ago
|
||
| Assignee | ||
Comment 13•7 years ago
|
||
How do we schedule jobs on Try from Phabricator?
Comment 14•7 years ago
|
||
AFAIK that's not currently possible. I will submit it for you :)
Comment 15•7 years ago
|
||
| Assignee | ||
Comment 16•7 years ago
|
||
Thank you!
igoldan: would you be able to review this and land it for me? thanks!
> "lowerIsBetter": false,
> "value": 6.11,
> "shouldAlert": false,
> "units": "score",
> "subtests": [{
> "lowerIsBetter": false,
Comment 17•7 years ago
|
||
Pushed by jmaher@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/d1cbe1578a46
web-tooling subtests to use lowerIsBetter instead of lower_is_better r=jmaher
Comment 18•7 years ago
|
||
| bugherder | ||
Status: REOPENED → RESOLVED
Closed: 7 years ago → 7 years ago
Resolution: --- → FIXED
| Assignee | ||
Comment 19•7 years ago
|
||
mgaudet: would you mind verifying this?
I think we might have fixed this:
https://treeherder.mozilla.org/perf.html#/graphs?series=mozilla-central,1760187,1,11&series=mozilla-central,1760198,1,11&selected=mozilla-central,1760198,405116,646080268,11
https://www.dropbox.com/s/g7kfufpxval6mf9/Screenshot%202018-11-19%2015.03.10.png?dl=0
https://arewefastyet.com/linux64/web-tooling?numDays=90
https://www.dropbox.com/s/l33n0g8ebfe6130/Screenshot%202018-11-19%2015.04.10.png?dl=0
Updated•7 years ago
|
Flags: needinfo?(mgaudet)
You need to log in
before you can comment on or make changes to this bug.
Description
•