blob: a772eeafa14a477b8017709b97471a5060728f53 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
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();
|