endo
endo copied to clipboard
feat(scripts): Add esbench microbenchmarking utility
Measure performance of code snippets in multiple ECMAScript implementations using the eshost CLI.
TODO:
- Improve output to include aggregate statistics like standard deviation, min/median/max, etc.
- Support collecting performance data for flame graphs etc. (probably bypassing eshost).
- Support loading endoZipBase64 bundles?
PR comment should first of all say with the PR does contribute. TODOs are nice but secondary.
Need explanations with examples.
I don't know how amenable this is to testing, but presumably we could at least have some smoke tests so we find out if we break it egregiously.
Smoke tests can often serve as expository examples, if that works out. I don't know if it would here.