napi-rs/bench/bench.ts
2020-09-30 15:31:17 +08:00

13 lines
238 B
TypeScript

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)
})