endojs / endo

Endo is a distributed secure JavaScript sandbox, based on SES
Apache License 2.0
768 stars 68 forks source link

feat(scripts): Add esbench microbenchmarking utility #2204

Open gibson042 opened 3 months ago

gibson042 commented 3 months ago

Measure performance of code snippets in multiple ECMAScript implementations using the eshost CLI.

TODO:

erights commented 3 months ago

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.