Skip to content

Commit

Permalink
benchmark source link
Browse files Browse the repository at this point in the history
  • Loading branch information
kdy1 committed Jun 17, 2024
1 parent 8309fbe commit d60e10f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pages/docs/benchmarks.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,17 @@ import Benchmark from 'components/benchmarks/dynamic'

# 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](https://github.com/kdy1/benchmark-done-right).
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](https://github.com/swc-project/swc/blob/main/.github/workflows/bench.yml).

<Benchmark />

## 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.

You can view the [benchmark source code here](https://github.com/kdy1/benchmark-done-right).

### es3

![Benchmark](https://raw.githubusercontent.com/kdy1/benchmark-done-right/main/images/transform/parallel/es3.png)
Expand Down

0 comments on commit d60e10f

Please sign in to comment.