test: fix test-linux-perf flakiness

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 <targos@protonmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
This commit is contained in:
Matheus Marchini 2019-05-09 10:12:16 -07:00 committed by Rich Trott
parent 556de23dfb
commit 3b2633e0bf

View File

@ -24,7 +24,7 @@ if (process.config.variables.node_shared)
const perfArgs = [
'record',
'-F500',
'-F999',
'-g',
'--',
process.execPath,