No-sampling profiling follow-up: Write regression test for "nostacksampling"
Categories
(Core :: Gecko Profiler, task, P3)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox72 | --- | fixed |
People
(Reporter: mozbugz, Assigned: mozbugz)
References
Details
Attachments
(3 files)
Bug 1549482 introduced a no-sampling mode.
Manual testing showed that it's not producing stack traces as expected, which should be good enough for early adopters.
It would be good to write a proper regression test that inspects the output json to verify that no samples are produced.
Bug 1583430 may change the way the no-sampling mode is triggered, which may influence this test.
| Assignee | ||
Comment 1•6 years ago
|
||
Bug 1583868 adds an explicit "nostacksampling" feature, which we want to test.
(Bug 1583430 will now focus on the popup, so it's independent from this test.)
| Assignee | ||
Comment 2•6 years ago
|
||
stopProfilerAndGetThreads() waits until at least one sample appears in the
main thread, before capturing a profile and stopping the profiler.
stopProfilerNowAndGetThreads() does not wait; this should be useful in tests
that may not generate any samples (e.g., using the nostacksampling feature).
Depends on D49231
| Assignee | ||
Comment 3•6 years ago
|
||
Depends on D49232
| Assignee | ||
Comment 4•6 years ago
|
||
Depends on D49233
| Assignee | ||
Updated•6 years ago
|
Comment 6•6 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/a48c7ca0561f
https://hg.mozilla.org/mozilla-central/rev/fd3fd026545e
https://hg.mozilla.org/mozilla-central/rev/0acc43751420
Description
•