From d7ef0923f12972fb48b246bf9beaaa18da8d22ae Mon Sep 17 00:00:00 2001 From: Hank Duan Date: Wed, 28 Oct 2015 14:15:45 -0700 Subject: [PATCH] fix(benchpress): increase sampling frequency The previous sampling frequency didn't capture fast events 100% of the time, causing flakes. --- modules/benchpress/src/firefox_extension/lib/main.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/benchpress/src/firefox_extension/lib/main.ts b/modules/benchpress/src/firefox_extension/lib/main.ts index 0fcd135a2daa..f6214ea001f9 100644 --- a/modules/benchpress/src/firefox_extension/lib/main.ts +++ b/modules/benchpress/src/firefox_extension/lib/main.ts @@ -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',