diff options
author | 2023-03-02 19:05:21 -0800 | |
---|---|---|
committer | 2023-03-02 19:05:21 -0800 | |
commit | f7d6cc0ddf8aa75a8c7b6fb23a787c52648f2e8a (patch) | |
tree | d29a4cae43dd8fbb36e67a82f929430735af4b5b /bench/json-stringify/bun.js | |
parent | 38d6cd6d15f2745d02fc757cc299691d82c7b4f5 (diff) | |
parent | 9388b3f8257bc2e580deaece4cd2677928104fc6 (diff) | |
download | bun-f7d6cc0ddf8aa75a8c7b6fb23a787c52648f2e8a.tar.gz bun-f7d6cc0ddf8aa75a8c7b6fb23a787c52648f2e8a.tar.zst bun-f7d6cc0ddf8aa75a8c7b6fb23a787c52648f2e8a.zip |
Merge branch 'main' into ciro/spawn-abort-signal-rebased
Diffstat (limited to 'bench/json-stringify/bun.js')
-rw-r--r-- | bench/json-stringify/bun.js | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/bench/json-stringify/bun.js b/bench/json-stringify/bun.js index 8c9893794..22f29deb4 100644 --- a/bench/json-stringify/bun.js +++ b/bench/json-stringify/bun.js @@ -1,12 +1,8 @@ import { bench, run } from "mitata"; -bench("JSON.stringify({hello: 'world'})", () => - JSON.stringify({ hello: "world" }), -); +bench("JSON.stringify({hello: 'world'})", () => JSON.stringify({ hello: "world" })); const otherUint8Array = new Uint8Array(1024); -bench("Uint8Array.from(otherUint8Array)", () => - Uint8Array.from(otherUint8Array), -); +bench("Uint8Array.from(otherUint8Array)", () => Uint8Array.from(otherUint8Array)); run(); |