Closed Bug 809492 Opened 12 years ago Closed 7 years ago

Rename "Number of Constructors" to "Number of static constructors" since that's what it measures

Categories

(Testing :: General, defect)

x86
macOS
defect
Not set
normal

Tracking

(firefox54 fixed)

RESOLVED FIXED
mozilla54
Tracking Status
firefox54 --- fixed

People

(Reporter: joe, Unassigned)

Details

Attachments

(1 file)

Number of Constructors isn't what is being measured AIUI - it's number of static constructors. If this is the case, we should name the talos test to reflect what's actually being measured.
If only that were our worst naming problem around it - the fact that the regression script sends email making people think that it's a talos test is a much much bigger problem.
Component: Talos → Release Engineering: Developer Tools
Product: Testing → mozilla.org
QA Contact: hwine
Version: unspecified → other
Product: mozilla.org → Release Engineering
:froydnj, is this a valid change we want to see?
Flags: needinfo?(nfroyd)
(In reply to Joel Maher (:jmaher) from comment #2)
> :froydnj, is this a valid change we want to see?

Yes.
Flags: needinfo?(nfroyd)
This isn't really a release engineering issue.

It's unfortunate that we didn't think to fix this bug when moving things into perfherder. Oh well.

So we should be able to do this just by altering this one line:

http://searchfox.org/mozilla-central/source/build/util/count_ctors.py#57

And updating the docs here:

https://developer.mozilla.org/en-US/docs/Mozilla/Performance/Automated_Performance_Testing_and_Sheriffing/Build_Metrics#num_constructors

The one disadvantage of this is that old data would still have the old name, i.e. we'd have one old series with the name "num_constructors" and one new one with the name "num_static_constructors". This is probably a worthwhile trade-off for improved clarity. Nathan, thoughts?
Component: Tools → General
Flags: needinfo?(nfroyd)
Product: Release Engineering → Testing
QA Contact: hwine
Version: other → unspecified
(In reply to William Lachance (:wlach) [ away Jan 28-> Feb 4 2017 ] from comment #4)
> The one disadvantage of this is that old data would still have the old name,
> i.e. we'd have one old series with the name "num_constructors" and one new
> one with the name "num_static_constructors". This is probably a worthwhile
> trade-off for improved clarity. Nathan, thoughts?

That sounds fine to me.
Flags: needinfo?(nfroyd)
Comment on attachment 8834104 [details]
Bug 809492 - Rename num_constructors test to num_static_constructors

https://reviewboard.mozilla.org/r/110168/#review111202

::: build/util/count_ctors.py:59
(Diff revision 1)
>              "suites": [{
>                  "name": "compiler_metrics",
>                  "subtests": [{
> -                    "name": "num_constructors",
> +                    "name": "num_static_constructors",
>                      "value": count_ctors(f),
>                      "alertThreshold": 0.25

can we increase this threshold to a higher number?
Attachment #8834104 - Flags: review?(jmaher) → review+
Comment on attachment 8834104 [details]
Bug 809492 - Rename num_constructors test to num_static_constructors

https://reviewboard.mozilla.org/r/110168/#review111206

::: build/util/count_ctors.py:59
(Diff revision 1)
>              "suites": [{
>                  "name": "compiler_metrics",
>                  "subtests": [{
> -                    "name": "num_constructors",
> +                    "name": "num_static_constructors",
>                      "value": count_ctors(f),
>                      "alertThreshold": 0.25

Hmm, yes, but I think we should talk to :nfroyd about that in the larger context of how we're going to sheriff these tests.

I'm going to drop this issue for now.
Pushed by wlachance@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/1a0f8ac320e1
Rename num_constructors test to num_static_constructors r=jmaher
https://hg.mozilla.org/mozilla-central/rev/1a0f8ac320e1
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla54
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: