4 ms·
We ship Babel built in with the AVA[1] test runner and I can confirm `babel-require` is our bottleneck. [1] https://github.com/avajs/ava https://github.com/ava
by sotojuan 10y ago
We ship Babel built in with the AVA[1] test runner and I can confirm `babel-require` is our bottleneck.
[1] https://github.com/avajs/ava https://github.com/avajs/ava
- Touche 10y agoYeah, I think that was a bit of a mistake by you guys. AVA's entire point is to be fast but it has the perception of being slow because you've made transpiling a core feature. I would drop that and let people do their own transpiling.
- sotojuan 10y agoAside from the concurrent testing, Babel with async functions built-ins is our second biggest "bullet point", so even if you were right it's too late. AVA is opinionated and I think the benefits (from what people have told us) gained from using the latest syntax with no Babel config are worth the Babel bottleneck—which isn't that bad.