Skip to content

Add in-repo benchmark suite with CPU/RAM monitoring - #34

Open
adarshmadrecha wants to merge 1 commit into
rgcl:mainfrom
adarshmadrecha:add-benchmarks
Open

Add in-repo benchmark suite with CPU/RAM monitoring#34
adarshmadrecha wants to merge 1 commit into
rgcl:mainfrom
adarshmadrecha:add-benchmarks

Conversation

@adarshmadrecha

Copy link
Copy Markdown

Summary

  • The package had README charts from an external benchmark repo, but no runnable in-repo benchmark.
  • Adds benchmark/bench.js and benchmark/datasets.js with synthetic real-world-like datasets.
  • Reports ops/s, MB/s, mean/p50/p95 latency, process CPU %, heap/RSS, and event-loop delay.
  • Scripts: npm run bench, npm run bench:md, npm run bench:json.
  • Includes benchmark/BASELINE.md sample results (Node v25, win32 x64).

Test plan

  • npm test passes
  • npm run bench runs and prints CPU/RAM metrics
  • npm run bench:md produces markdown table

Notes

No library API or packed-format changes — benchmark-only.

Introduce npm run bench to measure pack/unpack throughput, latency
percentiles, process CPU usage, heap/RSS, and event-loop delay across
synthetic GeoJSON, e-commerce, API, nested, and mixed datasets.
Include a captured BASELINE.md from this machine for comparison.
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@adarshmadrecha