fix(benchpress): increase sampling frequency
The previous sampling frequency didn't capture fast events 100% of the time, causing flakes. Closes #4985
This commit is contained in:
parent
098201d0b8
commit
127d6b6441
|
@ -54,7 +54,7 @@ mod.PageMod({
|
||||||
contentScriptFile: data.url('installed_script.js'),
|
contentScriptFile: data.url('installed_script.js'),
|
||||||
onAttach: worker => {
|
onAttach: worker => {
|
||||||
worker.port.on('startProfiler',
|
worker.port.on('startProfiler',
|
||||||
(timeStarted) => profiler.start(/* = profiler memory */ 1000000, 1,
|
(timeStarted) => profiler.start(/* = profiler memory */ 1000000, 0.1,
|
||||||
['leaf', 'js', 'stackwalk', 'gc'], timeStarted));
|
['leaf', 'js', 'stackwalk', 'gc'], timeStarted));
|
||||||
worker.port.on('stopProfiler', () => profiler.stop());
|
worker.port.on('stopProfiler', () => profiler.stop());
|
||||||
worker.port.on('getProfile',
|
worker.port.on('getProfile',
|
||||||
|
|
Loading…
Reference in New Issue