Open hzoo opened 7 years ago
Those are great suggestions, Henry, thanks a lot! The current version is mostly a one-shot prototype. Ideally the benchmark payloads would be created and driven by experts like you, who know how a representative workload for Babel looks like.
Ref https://github.com/v8/web-tooling-benchmark/pull/24#issuecomment-345002411
the current benchmark:
https://github.com/v8/web-tooling-benchmark/blob/21ca9e95cd2bd5c0fb6fee0c2f369922ea308a1a/src/babel-benchmark.js#L11
Right now it only tests an ES2015 module (albeit a 194kb one 👍) but that may not be representative of what the future will be like so we should think about possible changes to this benchmark:
@babel/preset-env
now https://github.com/v8/web-tooling-benchmark/blob/21ca9e95cd2bd5c0fb6fee0c2f369922ea308a1a/src/babel-benchmark.js#L12