Repository navigation
Add benchmark suite and automated performance reporting
v0.1.3
Release title
Add benchmark suite and automated performance reporting
Release notes
This release introduces a runnable benchmark suite to evaluate react-virtualized-diff against several popular diff viewer libraries across large file sizes.
What's new
- Added a benchmark app under
apps/benchmark - Added comparisons against:
react-virtualized-diffreact-diff-viewerreact-diff-viewer-continuedreact-diff-view
- Added benchmark scenarios for
1k,10k,50k, and100klines - Added collected metrics for:
- FPS
- initial render time
- memory usage in Chromium
- Added a root benchmark command:
pnpm benchmark - Added an automated benchmark runner:
scripts/run-benchmark.mjs
Improvements
- Automatically installs Playwright Chromium on first run if browser binaries are missing
- Handles per-case timeouts without failing the entire benchmark run
- Properly shuts down the benchmark dev server after execution to avoid noisy exit errors
Outputs
Benchmark results are generated to:
benchmark-results/results.jsonbenchmark-results/results.md