napi-rs/bench/bench.ts

14 lines
238 B
TypeScript
Raw Normal View History

import { benchAsync } from './async'
import { benchNoop } from './noop'
import { benchPlus } from './plus'
async function run() {
await benchNoop()
await benchPlus()
await benchAsync()
}
run().catch((e) => {
console.error(e)
})