Skip to content

Commit ec4c689

Browse files
committed
feat: add standard TypeScript wrapper and test structure
1 parent 60cd5d3 commit ec4c689

4 files changed

Lines changed: 55 additions & 1017 deletions

File tree

bench/libpng.bench.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
/**
2+
* ${LIB_TITLE} WASM Benchmarks
3+
*/
4+
5+
import ${LIB_TITLE}WASM from "../src/lib/index.ts"
6+
7+
Deno.bench("${LIB_NAME} initialization", {
8+
baseline: true
9+
}, async () => {
10+
const lib = new ${LIB_TITLE}WASM()
11+
await lib.initialize()
12+
})

0 commit comments

Comments
 (0)