diff --git a/rust-nostr.bench.ts b/rust-nostr.bench.ts index 1dc3d4b..386bda2 100644 --- a/rust-nostr.bench.ts +++ b/rust-nostr.bench.ts @@ -1,5 +1,13 @@ import { EventBuilder, Keys, loadWasmAsync } from "npm:@rust-nostr/nostr"; +Deno.bench("loadWasmAsync", async (b) => { + b.start(); + + await loadWasmAsync(); + + b.end(); +}); + Deno.bench("generate", async (b) => { await loadWasmAsync();