mirror of
https://github.com/denoland/deno.git
synced 2024-11-22 15:06:54 -05:00
f60720090c
Moving some additional NAPI and. FFI tests out of the tree root.
10 lines
273 B
JavaScript
10 lines
273 B
JavaScript
import { bench, run } from "mitata";
|
|
import { createRequire } from "module";
|
|
|
|
const require = createRequire(import.meta.url);
|
|
const lib = require("../../../tests/napi.node");
|
|
|
|
bench("warmup", () => {});
|
|
bench("napi_get_undefined", () => lib.test_get_undefined(0));
|
|
|
|
run();
|