You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit dc7bf53
Browse filesBrowse the repository at this point in the historyBrowse files
| Small (52 lines, 1 KB) |**73 us**|42 ms |52 ms | 1.8 ms |
301
-
| Medium (419 lines, 10 KB) |**696 us**|45 ms |52 ms | 10.9 ms |
302
-
| Large (1,279 lines, 31 KB) |**2.1 ms**|48 ms |52 ms | 28.2 ms |
300
+
| Small (52 lines, 1 KB) |**56 us**|41 ms |51 ms | 1.6 ms |
301
+
| Medium (419 lines, 10 KB) |**535 us**|44 ms |51 ms | 10.5 ms |
302
+
| Large (1,279 lines, 31 KB) |**1.6 ms**|47 ms |51 ms | 28.0 ms |
303
303
304
304
### CLI (single file)
305
305
306
306
All four tools spawn a process and read the file from disk.
307
307
308
308
| File | Pickier | Biome | oxfmt | Prettier |
309
309
|------|--------:|------:|------:|---------:|
310
-
| Small (52 lines) |**64 ms**|45 ms | 72 ms |108 ms |
311
-
| Medium (419 lines) |**63 ms**| 55 ms |71 ms | 148 ms |
312
-
| Large (1,279 lines) |**63 ms**|92 ms |72 ms |181 ms |
310
+
| Small (52 lines) |**49 ms**|44 ms | 72 ms |106 ms |
311
+
| Medium (419 lines) |**50 ms**| 55 ms |69 ms | 148 ms |
312
+
| Large (1,279 lines) |**52 ms**|91 ms |71 ms |177 ms |
313
313
314
314
### CLI Batch (all files, sequential)
315
315
316
316
| Tool | Time |
317
317
|------|-----:|
318
-
| Pickier |**190 ms**|
319
-
| Biome |192 ms |
320
-
| oxfmt |212 ms |
321
-
| Prettier |461 ms |
318
+
| Pickier |**150 ms**|
319
+
| Biome |190 ms |
320
+
| oxfmt |209 ms |
321
+
| Prettier |431 ms |
322
322
323
323
### Throughput (large file x 20)
324
324
325
325
| Tool | Time |
326
326
|------|-----:|
327
-
| Pickier |**46 ms**|
328
-
| Prettier |567 ms |
329
-
| Biome (stdin) |984 ms |
330
-
| oxfmt (stdin) | 1,110 ms |
327
+
| Pickier |**33 ms**|
328
+
| Prettier |557 ms |
329
+
| Biome (stdin) |979 ms |
330
+
| oxfmt (stdin) | 1,030 ms |
331
331
332
-
> Pickier's in-memory API is **13-25x faster than Prettier** and orders of magnitude faster than tools that must spawn a process. On CLI, Pickier's format-only fast path keeps time flat at ~63ms regardless of file size. Biome is faster on small CLI files thanks to its native Rust binary, but Pickier pulls ahead on large files and batch workloads where its integrated pipeline avoids per-file overhead. At throughput scale (20x large file), Pickier is **12x faster** than Prettier and **21-24x faster** than Biome/oxfmt.
332
+
> Pickier's in-memory API is **17-29x faster than Prettier** and orders of magnitude faster than tools that must spawn a process. On CLI, Pickier's format-only fast path keeps time flat at ~50ms regardless of file size. Biome is slightly faster on small CLI files thanks to its native Rust binary, but Pickier pulls ahead on medium/large files and batch workloads. At throughput scale (20x large file), Pickier is **17x faster** than Prettier and **30x faster** than Biome/oxfmt.
| Small (52 lines, 1 KB) |**73 us**|42 ms |52 ms | 1.8 ms |
16
-
| Medium (419 lines, 10 KB) |**696 us**|45 ms |52 ms | 10.9 ms |
17
-
| Large (1,279 lines, 31 KB) |**2.1 ms**|48 ms |52 ms | 28.2 ms |
15
+
| Small (52 lines, 1 KB) |**56 us**|41 ms |51 ms | 1.6 ms |
16
+
| Medium (419 lines, 10 KB) |**535 us**|44 ms |51 ms | 10.5 ms |
17
+
| Large (1,279 lines, 31 KB) |**1.6 ms**|47 ms |51 ms | 28.0 ms |
18
18
19
-
Pickier's in-memory API is 13-25x faster than Prettier and orders of magnitude faster than tools that must spawn a process per call.
19
+
Pickier's in-memory API is 17-29x faster than Prettier and orders of magnitude faster than tools that must spawn a process per call.
20
20
21
21
### Formatting — CLI
22
22
23
23
All four tools spawn a process and read the file from disk.
24
24
25
25
| File | Pickier | Biome | oxfmt | Prettier |
26
26
|------|--------:|------:|------:|---------:|
27
-
| Small (52 lines) |**64 ms**|45 ms | 72 ms |108 ms |
28
-
| Medium (419 lines) |**63 ms**| 55 ms |71 ms | 148 ms |
29
-
| Large (1,279 lines) |**63 ms**|92 ms |72 ms |181 ms |
27
+
| Small (52 lines) |**49 ms**|44 ms | 72 ms |106 ms |
28
+
| Medium (419 lines) |**50 ms**| 55 ms |69 ms | 148 ms |
29
+
| Large (1,279 lines) |**52 ms**|91 ms |71 ms |177 ms |
30
30
31
-
Pickier's format-only fast path keeps CLI time flat at ~63ms regardless of file size. Biome is faster on small files thanks to its native Rust binary, but slower on large files. Prettier is 1.7-2.9x slower across all sizes.
31
+
Pickier's format-only fast path keeps CLI time flat at ~50ms regardless of file size. Biome is slightly faster on small files thanks to its native Rust binary, but slower on medium and large files. Prettier is 2-3.4x slower across all sizes.
0 commit comments