aboutsummaryrefslogtreecommitdiff
path: root/deps/v8/test/js-perf-test/Modules/run.js
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/test/js-perf-test/Modules/run.js')
-rw-r--r--deps/v8/test/js-perf-test/Modules/run.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/deps/v8/test/js-perf-test/Modules/run.js b/deps/v8/test/js-perf-test/Modules/run.js
index e5f91e1aa9..4c038801a9 100644
--- a/deps/v8/test/js-perf-test/Modules/run.js
+++ b/deps/v8/test/js-perf-test/Modules/run.js
@@ -23,21 +23,21 @@ const iterations = 10000;
function BasicExport() {
let success = false;
import("basic-export.js").then(m => { m.bench(); success = true; });
- %RunMicrotasks();
+ %PerformMicrotaskCheckpoint();
if (!success) throw new Error(666);
}
function BasicImport() {
let success = false;
import("basic-import.js").then(m => { m.bench(); success = true; });
- %RunMicrotasks();
+ %PerformMicrotaskCheckpoint();
if (!success) throw new Error(666);
}
function BasicNamespace() {
let success = false;
import("basic-namespace.js").then(m => { m.bench(); success = true; });
- %RunMicrotasks();
+ %PerformMicrotaskCheckpoint();
if (!success) throw new Error(666);
}