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
212 B
JavaScript
6 lines
212 B
JavaScript
import { bench, run } from "../node_modules/mitata/src/cli.mjs";
|
|
|
|
bench("console.log", () => console.log("hello"));
|
|
bench("console.log({ hello: 'object' })", () => console.log({ hello: "object" }));
|
|
await run();
|