From 127d6b6441129b3d65c331f56cc7dd5787b01d80 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. Closes #4985 --- 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 0fcd135a2d..f6214ea001 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',