Last active
January 5, 2024 09:37
-
-
Save colinhacks/e3095172a883a9ee9c972caf33b5f54f to your computer and use it in GitHub Desktop.
Benchmark testing libraries against Zod's test suite
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# requires hyperfine and Bun v0.7 or later | |
# https://github.com/sharkdp/hyperfine | |
git clone [email protected]:colinhacks/zod.git | |
cd zod | |
bun install | |
hyperfine --warmup 3 --runs 10 \ | |
"bun test src" \ | |
"npx vitest --config configs/vitest.config.ts" \ | |
"npx jest -c configs/babel-jest.config.json" \ | |
"npx jest -c configs/ts-jest.config.json" \ | |
"npx jest -c configs/swc-jest.config.json" |
Bun 1.0 is already out
Thanks sorry!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bun v0.7 isn't out yet is it?