91 ms·
Nice work! Building from scratch without any caching is not the build time devs will be seeing 99% of the time, so it’s probably not the best benchmark.
by dcre 7y ago
Nice work! Building from scratch without any caching is not the build time devs will be seeing 99% of the time, so it’s probably not the best benchmark.
- boulos 7y agoHow fast is an incremental rebuild with webpack though? That esbuild finishes from scratch in .5s (though probably with the code previously loaded from disk) means it’ll still likely be the fastest. Posters up thread claim that minifying is the slowest part of webpack, so presumably that’s pretty consistently slow relative to input size.
- dcre 7y agoYou don’t need to minify during development, so like building from scratch I’m not sure how much it matters for a practical benchmark. I don’t at all doubt esbuild is faster than the others, just in practice I doubt it’s as much faster as the benchmark suggests.