3 ms·
esbuild is 100x faster than js build tools, so in general 100x speed up sounds about right.
by hsn915 5y ago
esbuild is 100x faster than js build tools, so in general 100x speed up sounds about right.
- randomdata 5y agoSucrase, written in Typescript, claims to be 2x faster than esbuild. I'll leave you to your own benchmarks.
- morelisp 5y agoSucrase does this by removing some things you might expect to be table stakes, like detecting invalid parse trees and complete JS syntax. Pragmatically, esbuild can also start faster and parallelize, which means shorter wall-clock builds.
- randomdata 5y agoSure, but esbuild also drops features found in the compared tools to gain a performance edge. The language may bring some marginal difference, but it's clear that the algorithm is the most significant piece.