tidy: A Prettier-compatible Rust formatter checks 12k files in 280ms vs Prettier's 18.5s
Vjeux · x · 2026-11-26
tidy is a new single-binary Rust formatter that produces identical output to Prettier at native speed.
Benchmark on 12,071 files across every language (except XML) on an Apple M1 Max:
- tidy: 280ms (286ms with embedded on)
- bun fmt: 569ms (2.0x slower)
- oxfmt: 1.2s (4.4x slower)
- dprint: 3.5s (12.4x slower)
- Prettier: 18.5s (66.1x slower)
Compared against bun fmt 1.4.4, oxfmt 0.75.0, and Prettier 3.9.9.
More from coding & agent
- One-prompt demo: GPT-6.2 generates interactive Swiss Alps train-window 3D scene in a single HTML file — OpenAIDevs · 2026-11-26
- Playbit beta launches local-first personal software, betting agents make Rust+OCaml viable defaults — neurocy · 2026-11-26
- Orbital's CurieOS matches Claude Code on science benchmarks at up to 58% lower cost — enjalot · 2026-11-26
- Dev builds Wukong 3D character in ~1 hour with Astra 6.2, ~$100 of quota and ~8K lines of code — OpenAIDevs · 2026-11-26
- Fable 5.2 turns a GPU programming textbook into 24 interactive chapters with 79 labs — stablequan · 2026-11-26
- Getting started with WebMCP: building and testing in-browser tools, browser support mapped — rseroter · 2026-11-26