HistogramTester using histograms.xml. |
||
Issue descriptionI'm always paranoid that my histograms.xml entries will be incorrect somehow, and it seems to happen pretty frequently (e.g. here). This wouldn't happen if HistogramTester parsed histograms.xml, and didn't let you read histogram entries that weren't included in histograms.xml.
,
May 31 2017
It doesn't seem unreasonable. We already have a test that does something like this - AboutFlagsHistogramTest.CheckHistograms - which checks that all the entries in about_flags are included in the XML enums. One thing worth noting is that there are histograms that are only documented internally - but they're a tiny minority of them - and maybe don't use the tester infrastructure. |
||
►
Sign in to add a comment |
||
Comment 1 by tdres...@chromium.org
, May 30 2017