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:
Hank Duan 2015-10-28 14:15:45 -07:00
parent 098201d0b8
commit 127d6b6441
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ mod.PageMod({
contentScriptFile: data.url('installed_script.js'),
onAttach: worker => {
worker.port.on('startProfiler',
(timeStarted) => profiler.start(/* = profiler memory */ 1000000, 1,
(timeStarted) => profiler.start(/* = profiler memory */ 1000000, 0.1,
['leaf', 'js', 'stackwalk', 'gc'], timeStarted));
worker.port.on('stopProfiler', () => profiler.stop());
worker.port.on('getProfile',