aboutsummaryrefslogtreecommitdiff
path: root/bench/ffi/noop.js
diff options
context:
space:
mode:
Diffstat (limited to 'bench/ffi/noop.js')
-rw-r--r--bench/ffi/noop.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/bench/ffi/noop.js b/bench/ffi/noop.js
index e28ea0629..13c8aef28 100644
--- a/bench/ffi/noop.js
+++ b/bench/ffi/noop.js
@@ -6,11 +6,10 @@ const {
} = dlopen("./noop.dylib", {
noop: {
args: [],
- return_type: "i32",
+ returns: "void",
},
});
-var raw = Object.keys(noop);
bench("noop", () => {
- raw();
+ noop();
});
run({ collect: false, percentiles: true });