endo icon indicating copy to clipboard operation
endo copied to clipboard

feat(scripts): Add esbench microbenchmarking utility

Open gibson042 opened this issue 1 year ago • 1 comments

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?

gibson042 avatar Apr 06 '24 04:04 gibson042

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.

erights avatar Apr 09 '24 00:04 erights