diff --git a/test/v8-updates/test-linux-perf.js b/test/v8-updates/test-linux-perf.js index 58388d37ce52ea..c52bffeef2618f 100644 --- a/test/v8-updates/test-linux-perf.js +++ b/test/v8-updates/test-linux-perf.js @@ -61,7 +61,7 @@ const perfCompiledFramesArgs = [ '--', process.execPath, ...nodeCommonFlags, - '--always-opt', + '--always-turbofan', fixtures.path('linux-perf.js'), `${sleepTime}`, `${repeat}`, diff --git a/tools/test.py b/tools/test.py index 788d68734fe250..af276931cbf741 100755 --- a/tools/test.py +++ b/tools/test.py @@ -1616,9 +1616,9 @@ def Main(): if options.check_deopts: options.node_args.append("--trace-opt") options.node_args.append("--trace-file-names") - # --always-opt 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-opt") + # --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.worker: