mirror of
https://github.com/denoland/deno
synced 2024-08-26 19:39:52 +00:00
9 lines
273 B
JavaScript
9 lines
273 B
JavaScript
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
|
|
import { loadTestLibrary } from "../../../tests/napi/common.js";
|
|
|
|
const lib = loadTestLibrary();
|
|
|
|
Deno.bench("warmup", () => {});
|
|
Deno.bench("napi_get_undefined", () => lib.test_get_undefined(0));
|