X Tutup
Skip to content

Commit 127d6b6

Browse files
committed
fix(benchpress): increase sampling frequency
The previous sampling frequency didn't capture fast events 100% of the time, causing flakes. Closes angular#4985
1 parent 098201d commit 127d6b6

File tree

1 file changed

+1
-1
lines changed
  • modules/benchpress/src/firefox_extension/lib

1 file changed

+1
-1
lines changed

modules/benchpress/src/firefox_extension/lib/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ mod.PageMod({
5454
contentScriptFile: data.url('installed_script.js'),
5555
onAttach: worker => {
5656
worker.port.on('startProfiler',
57-
(timeStarted) => profiler.start(/* = profiler memory */ 1000000, 1,
57+
(timeStarted) => profiler.start(/* = profiler memory */ 1000000, 0.1,
5858
['leaf', 'js', 'stackwalk', 'gc'], timeStarted));
5959
worker.port.on('stopProfiler', () => profiler.stop());
6060
worker.port.on('getProfile',

0 commit comments

Comments
 (0)
X Tutup