Benchmarks
These benchmarks are used to evaluate the performance of SWC on every commit, as well as against other libraries like Babel or esbuild. You can view the benchmark source code here.
Loading...Transformations (Parallel)
This is the most important benchmark, since build tool authors will run tasks concurrently. Note the performance of Babel and tsx
is indentical for parallel and synchronous benchmarks.
es3
es5
es2015
es2016
es2017
es2018
es2019
es2020
Transformations (Synchronous)
Not as critical as the parallel benchmark.
es3
es5
es2015
es2016
es2017
es2018
es2019
es2020
Transformations (Asynchronous)
This benchmark suite does not use all CPU cores. For SWC, the benchmark stores only one task on the Node.js thread pool at a time.
es3
es5
es2015
es2016
es2017
es2018
es2019
es2020
Last updated on June 22, 2022