From 3b2633e0bf9f719e9496f59914e2a2ff4aa9a050 Mon Sep 17 00:00:00 2001 From: Matheus Marchini Date: Thu, 9 May 2019 10:12:16 -0700 Subject: [PATCH] test: fix test-linux-perf flakiness MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The new V8 seems to be optimizing the functions we use in this test faster than before. Increasing the sampling frequency for Linux perf fixes the issue. PR-URL: https://github.com/nodejs/node/pull/27615 Refs: https://github.com/v8/v8/compare/7.4.288.21...7.4.288.27 Reviewed-By: Michaƫl Zasso Reviewed-By: Colin Ihrig Reviewed-By: Franziska Hinkelmann Reviewed-By: Rich Trott --- test/v8-updates/test-linux-perf.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/v8-updates/test-linux-perf.js b/test/v8-updates/test-linux-perf.js index 0a7f199e040d58..40823b8e8bd3b1 100644 --- a/test/v8-updates/test-linux-perf.js +++ b/test/v8-updates/test-linux-perf.js @@ -24,7 +24,7 @@ if (process.config.variables.node_shared) const perfArgs = [ 'record', - '-F500', + '-F999', '-g', '--', process.execPath,