gecko-dev/tools/profiler/tests
Gerald Squelart ab686fa4f7 Bug 1549482 - Rudimentary no-sampling mode - r=gregtatum
If all sampling-related features ("Native Stacks", "JavaScript", and "Native
Leaf Stack") are OFF, the sampler loop will not record any stack samples, not
even from labels, which should reduce the profiler overhead significantly.

This means that the sampling rate could be slowed down (up to 5s interval), to
help reduce the power consumption incurred by wake-ups for sampling.
Markers are not affected by this, and will all be recorded as expected.
However counters (e.g., memory allocations) are still tied to sampling, so their
sampling resolution will be reduced to whatever sampling rate is chosen.

Some existing tests relied on stack sampling happening, so they now enable at
least "leaf". Bug 1579333 may revisit these tests for a better solution (if
possible).

Differential Revision: https://phabricator.services.mozilla.com/D46753

--HG--
extra : moz-landing-system : lando
2019-09-24 15:50:19 +00:00
..
browser Bug 1549482 - Rudimentary no-sampling mode - r=gregtatum 2019-09-24 15:50:19 +00:00
chrome Bug 1561435 - Format tools/, a=automatic-formatting 2019-07-05 11:18:19 +02:00
gtest Bug 1578329 - profiler_can_accept_markers(), don't store markers when paused - r=gregtatum 2019-09-18 01:21:50 +00:00
xpcshell Bug 1571216 - Disable stackwalking tests on optimized linux builds; r=canaltinova 2019-08-14 10:56:41 +00:00