diff --git a/benchmark/misc/startup.js b/benchmark/misc/startup.js index 1350cd291e2b18..c1c893b0011abd 100644 --- a/benchmark/misc/startup.js +++ b/benchmark/misc/startup.js @@ -10,7 +10,7 @@ const bench = common.createBenchmark(main, { script: ['benchmark/fixtures/require-cachable', 'test/fixtures/semicolon'], mode: ['process', 'worker'] }, { - flags: ['--expose-internals', '--experimental-worker'] // for workers + flags: ['--expose-internals'] }); function spawnProcess(script) { diff --git a/benchmark/worker/echo.js b/benchmark/worker/echo.js index 32c4bddf7d5f77..3e729d0e26fa04 100644 --- a/benchmark/worker/echo.js +++ b/benchmark/worker/echo.js @@ -7,7 +7,7 @@ const bench = common.createBenchmark(main, { payload: ['string', 'object'], sendsPerBroadcast: [1, 10], n: [1e5] -}, { flags: ['--experimental-worker'] }); +}); const workerPath = path.resolve(__dirname, '..', 'fixtures', 'echo.worker.js'); diff --git a/doc/api/cli.md b/doc/api/cli.md index 7e0ef03a5830ef..c2c8a59ced2033 100644 --- a/doc/api/cli.md +++ b/doc/api/cli.md @@ -104,13 +104,6 @@ added: v9.6.0 Enable experimental ES Module support in the `vm` module. -### `--experimental-worker` - - -Enable experimental worker threads using the `worker_threads` module. - ### `--force-fips`