mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 23:31:56 +00:00
Bug 1688669
- Do not sample stacks in marker tests r=canaltinova
Differential Revision: https://phabricator.services.mozilla.com/D102937
This commit is contained in:
parent
02101824c8
commit
129f3bec94
@ -40,6 +40,10 @@ function startProfiler(callersSettings) {
|
||||
);
|
||||
}
|
||||
|
||||
function startProfilerForMarkerTests() {
|
||||
startProfiler({ features: ["threads", "nostacksampling"] });
|
||||
}
|
||||
|
||||
/**
|
||||
* This is a helper function be able to run `await wait(500)`. Unfortunately
|
||||
* this is needed as the act of collecting functions relies on the periodic
|
||||
|
@ -85,7 +85,7 @@ add_task(async () => {
|
||||
return;
|
||||
}
|
||||
|
||||
startProfiler();
|
||||
startProfilerForMarkerTests();
|
||||
startTime = Cu.now();
|
||||
while (Cu.now() < startTime + 1) {
|
||||
// Busy wait for 1ms to ensure the intentionally set start time of markers
|
||||
|
Loading…
Reference in New Issue
Block a user