mirror of
https://github.com/oven-sh/bun
synced 2026-02-02 15:08:46 +00:00
* chore(benchmark): fix deno console.log benchmark * only show benchmark results Co-authored-by: evanwashere <github@evan.lol>
6 lines
193 B
JavaScript
6 lines
193 B
JavaScript
import { bench, run } from "mitata";
|
|
|
|
bench("console.log('hello')", () => console.log("hello"));
|
|
bench("console.log({ hello: 'object' })", () => console.log({ hello: "object" }));
|
|
await run();
|