Skip to content

Commit

Permalink
fix(benchpress): increase sampling frequency
Browse files Browse the repository at this point in the history
The previous sampling frequency didn't capture fast events 100% of the time, causing flakes.
Closes #4985
  • Loading branch information
hankduan committed Oct 28, 2015
1 parent 098201d commit 127d6b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/benchpress/src/firefox_extension/lib/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 127d6b6

Please sign in to comment.