ShopperCove
Menu
All writingBlogTopicsCategoriesAboutRSS
Blog
Categories
Observability & SRE62All categories
Topics
sre111localhost lab102performance70python58javascript47bundle size36benchmarking35node.js35web development21typescript19benchmark16content creation15All topics
About

Topic

benchmarking

35 posts

Loading posts…

ShopperCove

Hands-on notes on developer tools, written after the tool has actually been run.

All writingBlogCategoriesTopicsAboutPrivacyRSS

© 2026 ShopperCove

find-up vs locate-path: 47 µs Sync vs 596 µs Async

6 Oct 20268 min read
→

c12 vs cosmiconfig: 0.58 ms vs 1.08 ms per .mjs Load

6 Oct 20269 min read
→

mlly vs acorn: 0.046 ms vs 0.017 ms findExports

6 Oct 20266 min read
→

micromatch vs picomatch: Which One Should You Use?

6 Oct 20268 min read
→

fast-glob vs globby: 0.7 ms vs 14 ms With gitignore

6 Oct 20266 min read
→

ofetch vs ky: 4.1 KB vs 9.8 KB Gzip

6 Oct 20264 min read
→

ohash vs object-hash: 10x Faster, 3.3 KB vs 11 KB

6 Oct 20265 min read
→

Klona vs structuredClone: 1.4M vs 225k Clones per Second

6 Oct 20265 min read
→

Jotai vs Zustand: 0.15 ms vs 0.17 ms per Update

6 Oct 20265 min read
→

Zustand vs Redux Toolkit: 0.14 ms vs 0.68 ms per Update

zustand 5.0.15 vs @reduxjs/toolkit 2.13.0 + react-redux 9.3.0 on React 19.3.0 (jsdom, NODE_ENV=production). 1,000 selector-subscribed rows, 300 flushSync updates x 7 trials, 2 runs: per-update median 0.137/0.139 ms vs 0.676/0.694 ms (~5x); 1 row re-rendered per update in both. Store-only: 1,376,191 vs 6,502 updates/s; Immer autoFreeze off lifts RTK to 386,966. Gzip (React external): 387 B vs 9,708 B. Fixture /workspace/bench-zustand-rtk/.

6 Oct 20265 min read
→

Ajv vs Zod: 3.9M vs 1.1M Validations per Second

ajv 8.20.0 (+ajv-formats 3.0.1) vs zod 4.6.5 on the same nested user shape as zod-vs-valibot. Warm medians (2k warmup + 9x50k): Ajv validate ok 3,933,337 ops/s vs zod.safeParse 1,138,406 (~3.5x). Bad input: Ajv allErrors 4,094,452 vs Zod 435,537 (~9.4x). Setup: Ajv new+addFormats+compile median 6.47 ms vs Zod build 0.17 ms; break-even ~10k validations. Browser gzip: Ajv runtime 41 KB, Ajv standalone 1.8 KB, Zod classic 93 KB, zod/mini 6.8 KB. Fixture /workspace/bench-ajv-zod/.

6 Oct 20266 min read
→

Yarn Berry vs pnpm: 1.3s vs 0.24s Install

Yarn 4.9.2 (Berry PnP + node-modules linker) vs pnpm 12.9.1 on one 22-dependency React+Vite app. Isolated caches (Yarn enableGlobalCache false; pnpm --store-dir). Warm medians (5): Yarn PnP 1.307 s, Yarn nm 2.471 s, pnpm 0.240 s. Lock+empty medians 1.656 / 2.789 / 0.725 s. Clean disk: Yarn PnP 246 MB; Yarn nm modules 189 MB; pnpm hardlink project 167 MB. Fixture /workspace/bench-yarn-pnpm/. Distinct from pnpm-vs-npm-vs-bun (no Yarn).

6 Oct 20264 min read
→
Previous
  1. 1
  2. 2
  3. 3
Next