diff --git a/test/v8-updates/test-linux-perf-logger.js b/test/v8-updates/test-linux-perf-logger.js index 8a24f4c5931..278215e7d4f 100644 --- a/test/v8-updates/test-linux-perf-logger.js +++ b/test/v8-updates/test-linux-perf-logger.js @@ -55,7 +55,7 @@ const testCases = [ }, { title: '--perf-basic-prof compiled', - nodeFlags: ['--perf-basic-prof', '--no-turbo-inlining', '--always-turbofan', + nodeFlags: ['--perf-basic-prof', '--no-turbo-inlining', '--minimum-invocations-before-optimization=0'], matches: [ String.raw`RegExp\.> src: 'test-regex' flags: 'gi'`, @@ -81,7 +81,7 @@ const testCases = [ }, { title: '--perf-basic-prof-only-functions compiled', - nodeFlags: ['--perf-basic-prof-only-functions', '--no-turbo-inlining', '--always-turbofan', + nodeFlags: ['--perf-basic-prof-only-functions', '--no-turbo-inlining', '--minimum-invocations-before-optimization=0'], matches: [ 'JS:~functionOne .+/linux-perf-logger.js', diff --git a/test/v8-updates/test-linux-perf.js b/test/v8-updates/test-linux-perf.js index c52bffeef26..46e2cab1fd1 100644 --- a/test/v8-updates/test-linux-perf.js +++ b/test/v8-updates/test-linux-perf.js @@ -61,7 +61,6 @@ const perfCompiledFramesArgs = [ '--', process.execPath, ...nodeCommonFlags, - '--always-turbofan', fixtures.path('linux-perf.js'), `${sleepTime}`, `${repeat}`, diff --git a/tools/test.py b/tools/test.py index e27222af3ac..592188dd7cb 100755 --- a/tools/test.py +++ b/tools/test.py @@ -1672,9 +1672,6 @@ def Main(): if options.check_deopts: options.node_args.append("--trace-opt") options.node_args.append("--trace-file-names") - # --always-turbofan is needed because many tests do not run long enough for - # the optimizer to kick in, so this flag will force it to run. - options.node_args.append("--always-turbofan") options.progress = "deopts" if options.error_reporter: