
I built a career on the code nobody else wanted to touch. Now I build my own. ⚡ https://nitter.gq/t.co/Vqqjs8FDR0 ☁️ https://nitter.gq/t.co/KdwOOKwnEd ✉️ https://nitter.gq/t.co/znzqUG7Sr6 🏠 https://nitter.gq/t.co/VOu12S4J40
- Tweets3.3K
- Following1.6K
- Followers245
- Likes29.4K

ALT Poster for bun fmt, a Prettier-compatible formatter built into Bun. Headline: 320x faster than Prettier. Bar chart of wall-clock time to run --check on microsoft/vscode (10,148 files, 8 cores): bun fmt 0.43 s, oxfmt 0.72 0.85 s (2x slower), Biome 2.5 3.6 s (8.3x slower), Prettier 3.9.9 139 s (320x slower). Formats 20 languages: JavaScript, TypeScript, JSX, Flow, HTML, Vue, Angular, Handlebars, MJML, CSS, SCSS, Less, JSON, JSONC, JSON5, YAML, TOML, GraphQL, Markdown and MDX. 99% of Prettier's tests pass (9,728 of 9,821). 5x less memory than Prettier (183 MB vs 972 MB).
![bun/bench/snippets on main [$!?] ❯ PORT=3004 bun-26326 --heap-prof-md express-hello.mjs Express app listening at http://localhost:3004 Heap profile written to: /Users/jarred/code/bun/bench/snippets/Heap.1299749216555.85360.md bun/bench/snippets on main [$!?] took 2s ❯ cat Heap.1299749216555.85360.md --line-range :75 ─────┬──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── │ File: Heap.1299749216555.85360.md ─────┼──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── 1 │ # Bun Heap Prof](https://pbs.twimg.com/media/G_Tg_iMbAAApi4O.jpg?name=small&format=webp)
ALT bun/bench/snippets on main [$!?] ❯ PORT=3004 bun-26326 --heap-prof-md express-hello.mjs Express app listening at http://localhost:3004 Heap profile written to: /Users/jarred/code/bun/bench/snippets/Heap.1299749216555.85360.md bun/bench/snippets on main [$!?] took 2s ❯ cat Heap.1299749216555.85360.md --line-range :75 ─────┬──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── │ File: Heap.1299749216555.85360.md ─────┼──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── 1 │ # Bun Heap Prof
![bun on claude/cpu-prof-text-format [$?⇕] via 🥟 v1.3.7 via △ v4.2.0 via ↯ ❯ bun --cpu-prof-md fibonacci.js 38 Computing fibonacci(38)... fibonacci(38) = 39088169 (8 digits) Time: 1040.31ms bun on claude/cpu-prof-text-format [$?⇕] via 🥟 v1.3.7 via △ v4.2.0 via ↯ ❯ cat CPU.*.md --line-range :50 ─────┬────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── │ File: CPU.1164649302626.96947.md ─────┼────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── 1 │ # CPU Profile 2 │ 3 │ | Duration | Samples | Interval | Functions | 4 │ |----------|---------|----------|----------| 5 │ | 1.04s | 819 | 1ms | 13 | 6 │ 7 │ **Top 10:** `addBigInts` 47.3%, `BigInt` 36.1%, `computeFibonacci` 8.8%, `computeFibonacci` 3.5%, `computeFibonacci` 2.6%, `compu │ teFibonacci` 1.2%, `(module)` 0.1% 8 │ 9 │ ## Hot Functions (S](https://pbs.twimg.com/media/G_LdciEaAAAESHp.jpg?name=small&format=webp)
ALT bun on claude/cpu-prof-text-format [$?⇕] via 🥟 v1.3.7 via △ v4.2.0 via ↯ ❯ bun --cpu-prof-md fibonacci.js 38 Computing fibonacci(38)... fibonacci(38) = 39088169 (8 digits) Time: 1040.31ms bun on claude/cpu-prof-text-format [$?⇕] via 🥟 v1.3.7 via △ v4.2.0 via ↯ ❯ cat CPU.*.md --line-range :50 ─────┬────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── │ File: CPU.1164649302626.96947.md ─────┼────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── 1 │ # CPU Profile 2 │ 3 │ | Duration | Samples | Interval | Functions | 4 │ |----------|---------|----------|----------| 5 │ | 1.04s | 819 | 1ms | 13 | 6 │ 7 │ **Top 10:** `addBigInts` 47.3%, `BigInt` 36.1%, `computeFibonacci` 8.8%, `computeFibonacci` 3.5%, `computeFibonacci` 2.6%, `compu │ teFibonacci` 1.2%, `(module)` 0.1% 8 │ 9 │ ## Hot Functions (S






















