Skip to content

Commit

Permalink
update README
Browse files Browse the repository at this point in the history
  • Loading branch information
Boshen committed Sep 27, 2024
1 parent ba5b8cb commit 42c36ca
Showing 1 changed file with 24 additions and 23 deletions.
47 changes: 24 additions & 23 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,66 +10,67 @@

Oxc is 4x faster than swc, and 40x faster than Babel.

### MacBook Pro M3 Max
### GitHub Actions `ubuntu-latest`

```
oxc - src/transform.bench.js > parser.ts
3.94x faster than swc
43.64x faster than babel
4.02x faster than swc
47.41x faster than babel
oxc - src/transform.bench.js > renderer.ts
3.98x faster than swc
41.86x faster than babel
4.09x faster than swc
27.14x faster than babel
oxc - src/transform.bench.js > table.tsx
4.28x faster than swc
36.14x faster than babel
4.63x faster than swc
44.04x faster than babel
```

### GitHub Actions `ubuntu-latest`
### MacBook Pro M3 Max

```
oxc - src/transform.bench.js > parser.ts
4.02x faster than swc
47.41x faster than babel
3.94x faster than swc
43.64x faster than babel
oxc - src/transform.bench.js > renderer.ts
4.09x faster than swc
27.14x faster than babel
3.98x faster than swc
41.86x faster than babel
oxc - src/transform.bench.js > table.tsx
4.63x faster than swc
44.04x faster than babel
4.28x faster than swc
36.14x faster than babel
```

## Isolated Declarations DTS Emit

Oxc is 4x faster than tsc on small files, and 10x faster on larger files.
Oxc is at least 5x faster than `tsc` on small files, and 20x faster on larger files.

### MacBook Pro M3 Max
### GitHub Actions `ubuntu-latest`

```
oxc - src/id.bench.js > parser.ts
14.81x faster than tsc
18.00x faster than tsc
oxc - src/id.bench.js > renderer.ts
15.19x faster than tsc
22.37x faster than tsc
oxc - src/id.bench.js > table.tsx
4.43x faster than tsc
8.06x faster than tsc
```

### GitHub Actions `ubuntu-latest`

### MacBook Pro M3 Max

```
oxc - src/id.bench.js > parser.ts
18.00x faster than tsc
20.15x faster than tsc
oxc - src/id.bench.js > renderer.ts
22.37x faster than tsc
19.85x faster than tsc
oxc - src/id.bench.js > table.tsx
8.06x faster than tsc
5.09x faster than tsc
```

### Memory Usage
Expand Down

0 comments on commit 42c36ca

Please sign in to comment.