Open Bug 1687402 Opened 4 years ago Updated 3 years ago

Investigate how to test reliability of CPU measurements and sampling intervals

Categories

(Core :: Gecko Profiler, task, P3)

task

Tracking

()

People

(Reporter: mozbugz, Unassigned)

References

Details

Bug 1685938 added some code to remove "big" gaps between CPU measurements and their associated timestamps.
The solution was verified experimentally on a few profiles during development, showing that artificial CPU spikes had gone from 15-30x down to 1-3x only.

But there is no automated tests to verify this, and catch regressions.
This seems a bit difficult, given we're at the mercy of the test hardware, OS function calls, test environment at the time, etc. How to avoid false failures?

To be investigated...

You need to log in before you can comment on or make changes to this bug.