Make browsertime await properly for profiler stop
Categories
(Testing :: Raptor, task, P1)
Tracking
(Not tracked)
People
(Reporter: canova, Assigned: canova)
References
(Blocks 1 open bug)
Details
Browsertime uses Services.profiler.StopProfiler
function to stop the profiler. Previously this function wasn't async and there was no way of knowing that this could stop all the processes or not. With Bug 1668867, we converted all of those functions to async functions that resolve when they are completely done. We should properly await for the profiler to stop in the browsertime as well.
We've seen some intermittent failures that hang at the stop function for some reason and hoping that this could solve the issue.
Updated•2 years ago
|
Assignee | ||
Comment 1•2 years ago
|
||
Spent some time looking at this and closing as we are actually awaiting for the profiler stop here: https://github.com/sitespeedio/browsertime/blob/bab2e633508f9dd34ab394513aea9e83a69eea12/lib/firefox/geckoProfiler.js#L161-L163
Instead I think the main cause was because of the hang on the gzipping phase. I sent a PR and it's merged to browsertime: https://github.com/sitespeedio/browsertime/pull/1896 Closing this.
Description
•