warm-worktrees 0.0.0-stage → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. package/BENCHMARKS.md +179 -0
  2. package/GUIDE.md +343 -0
  3. package/LICENSE.md +21 -0
  4. package/README.md +79 -2
  5. package/bench/results/adobe.json +1739 -0
  6. package/bench/results/build-lifecycle.json +1618 -0
  7. package/bench/results/cache-selection.json +3155 -0
  8. package/bench/results/cache-tuning.json +1554 -0
  9. package/bench/results/cargo-cache-scans.json +522 -0
  10. package/bench/results/cargo-snapshot-storage.json +1068 -0
  11. package/bench/results/checkout-selection.json +157 -0
  12. package/bench/results/compiler-seeds.json +634 -0
  13. package/bench/results/concurrent-publication.json +7999 -0
  14. package/bench/results/directory-export.json +4501 -0
  15. package/bench/results/firefox-checkout-control.json +4160 -0
  16. package/bench/results/four-worktrees.json +594 -0
  17. package/bench/results/incremental-cache-directories.json +555 -0
  18. package/bench/results/ninja.json +2133 -0
  19. package/bench/results/output-delivery.json +719 -0
  20. package/bench/results/per-checkout-archives.json +7044 -0
  21. package/bench/results/pool-maintenance.json +447 -0
  22. package/bench/results/rebuild-latency.json +138 -0
  23. package/bench/results/seed-scenarios.json +295 -0
  24. package/bench/results/snapshot-reclamation.json +885 -0
  25. package/bench/results/snapshot-writers.json +46 -0
  26. package/bench/results/source-mirror.json +150 -0
  27. package/bench/results/startup.json +703 -0
  28. package/bench/results/swift-scenarios.json +173 -0
  29. package/bench/results/upstream/firefox-ios.json +2395 -0
  30. package/bench/results/upstream/ripgrep.json +3275 -0
  31. package/bench/results/upstream/swift-syntax.json +2305 -0
  32. package/bench/results/upstream/vscode-seeded.json +3181 -0
  33. package/bench/results/upstream/vscode.json +2121 -0
  34. package/dist/Commander-LICENSE +22 -0
  35. package/dist/JSON5-LICENSE +23 -0
  36. package/dist/Zod-LICENSE +21 -0
  37. package/dist/benchmark.js +289 -0
  38. package/dist/cli.js +18337 -0
  39. package/dist/warm-copy.node +0 -0
  40. package/docs/assets/worktrees-cargo.png +0 -0
  41. package/package.json +55 -4
  42. package/profiles.json5 +82 -0
@@ -0,0 +1,555 @@
1
+ {
2
+ "date": "2026-11-29",
3
+ "system": "27.2.1",
4
+ "node": "v26.13.1",
5
+ "bundles": {
6
+ "baseline": "3f25d9f5fd1b63718f2c40fa822293636381ebf559a7393e1da4ac0568ac5bd7",
7
+ "candidate": "c10791ff5c7ca8038226bf923b67418d3b0a69f575703c1e63e2820b7b7a2eb0"
8
+ },
9
+ "method": "Each isolated Git project invokes the same Node build command in one populated Warm checkout with a declared cache. After two priming builds, eight pairs alternate the order of old and new CLIs. One input edit replaces a file, a directory of 192 files or 24 directories of eight files each. Each directory includes an internal symlink. Check archived bytes, absence of removed directories, directory modes and symlink targets after each build and check the final copy in a fresh worktree. Wall times include CLI startup and exit. Delivery includes publishing the cache. Other processes shared this Mac.",
10
+ "medians": {
11
+ "file edit": {
12
+ "baseline": {
13
+ "wallMs": 363.82785449999983,
14
+ "publishAndDeliverMs": 4.250646500000002
15
+ },
16
+ "candidate": {
17
+ "wallMs": 364.9129580000001,
18
+ "publishAndDeliverMs": 4.149417
19
+ }
20
+ },
21
+ "one new directory": {
22
+ "baseline": {
23
+ "wallMs": 473.6455834999997,
24
+ "publishAndDeliverMs": 82.18812499999999
25
+ },
26
+ "candidate": {
27
+ "wallMs": 447.9200624999994,
28
+ "publishAndDeliverMs": 48.54762500000001
29
+ }
30
+ },
31
+ "24 new directories": {
32
+ "baseline": {
33
+ "wallMs": 644.3230624999978,
34
+ "publishAndDeliverMs": 233.9247505
35
+ },
36
+ "candidate": {
37
+ "wallMs": 474.0984169999974,
38
+ "publishAndDeliverMs": 71.86677050000003
39
+ }
40
+ }
41
+ },
42
+ "builds": [
43
+ {
44
+ "case": "file edit",
45
+ "round": 0,
46
+ "mode": "baseline",
47
+ "wallMs": 368.546292,
48
+ "publishAndDeliverMs": 4.426540999999986
49
+ },
50
+ {
51
+ "case": "file edit",
52
+ "round": 0,
53
+ "mode": "candidate",
54
+ "wallMs": 361.93550000000005,
55
+ "publishAndDeliverMs": 4.217458999999991
56
+ },
57
+ {
58
+ "case": "file edit",
59
+ "round": 1,
60
+ "mode": "candidate",
61
+ "wallMs": 367.8904160000002,
62
+ "publishAndDeliverMs": 4.071916999999985
63
+ },
64
+ {
65
+ "case": "file edit",
66
+ "round": 1,
67
+ "mode": "baseline",
68
+ "wallMs": 363.4292909999999,
69
+ "publishAndDeliverMs": 4.527542000000011
70
+ },
71
+ {
72
+ "case": "file edit",
73
+ "round": 2,
74
+ "mode": "baseline",
75
+ "wallMs": 364.19458399999985,
76
+ "publishAndDeliverMs": 4.171209000000005
77
+ },
78
+ {
79
+ "case": "file edit",
80
+ "round": 2,
81
+ "mode": "candidate",
82
+ "wallMs": 353.6027919999997,
83
+ "publishAndDeliverMs": 4.376499999999993
84
+ },
85
+ {
86
+ "case": "file edit",
87
+ "round": 3,
88
+ "mode": "candidate",
89
+ "wallMs": 381.57804099999976,
90
+ "publishAndDeliverMs": 4.218583000000024
91
+ },
92
+ {
93
+ "case": "file edit",
94
+ "round": 3,
95
+ "mode": "baseline",
96
+ "wallMs": 351.025584,
97
+ "publishAndDeliverMs": 4.336457999999993
98
+ },
99
+ {
100
+ "case": "file edit",
101
+ "round": 4,
102
+ "mode": "baseline",
103
+ "wallMs": 363.4611249999998,
104
+ "publishAndDeliverMs": 4.330083999999999
105
+ },
106
+ {
107
+ "case": "file edit",
108
+ "round": 4,
109
+ "mode": "candidate",
110
+ "wallMs": 359.36441600000035,
111
+ "publishAndDeliverMs": 3.8762920000000065
112
+ },
113
+ {
114
+ "case": "file edit",
115
+ "round": 5,
116
+ "mode": "candidate",
117
+ "wallMs": 371.2407089999997,
118
+ "publishAndDeliverMs": 4.081375000000008
119
+ },
120
+ {
121
+ "case": "file edit",
122
+ "round": 5,
123
+ "mode": "baseline",
124
+ "wallMs": 792.6793339999995,
125
+ "publishAndDeliverMs": 4.1515000000000555
126
+ },
127
+ {
128
+ "case": "file edit",
129
+ "round": 6,
130
+ "mode": "baseline",
131
+ "wallMs": 1336.832708,
132
+ "publishAndDeliverMs": 4.161792000000105
133
+ },
134
+ {
135
+ "case": "file edit",
136
+ "round": 6,
137
+ "mode": "candidate",
138
+ "wallMs": 371.8714169999994,
139
+ "publishAndDeliverMs": 4.361209000000002
140
+ },
141
+ {
142
+ "case": "file edit",
143
+ "round": 7,
144
+ "mode": "candidate",
145
+ "wallMs": 354.0728330000002,
146
+ "publishAndDeliverMs": 4.045375000000007
147
+ },
148
+ {
149
+ "case": "file edit",
150
+ "round": 7,
151
+ "mode": "baseline",
152
+ "wallMs": 355.1243749999994,
153
+ "publishAndDeliverMs": 4.030583000000007
154
+ },
155
+ {
156
+ "case": "one new directory",
157
+ "round": 0,
158
+ "mode": "baseline",
159
+ "wallMs": 481.7420000000002,
160
+ "publishAndDeliverMs": 88.54508399999997
161
+ },
162
+ {
163
+ "case": "one new directory",
164
+ "round": 0,
165
+ "mode": "candidate",
166
+ "wallMs": 447.52649999999994,
167
+ "publishAndDeliverMs": 48.83979199999999
168
+ },
169
+ {
170
+ "case": "one new directory",
171
+ "round": 1,
172
+ "mode": "candidate",
173
+ "wallMs": 448.31362499999886,
174
+ "publishAndDeliverMs": 48.094791999999984
175
+ },
176
+ {
177
+ "case": "one new directory",
178
+ "round": 1,
179
+ "mode": "baseline",
180
+ "wallMs": 470.2053329999999,
181
+ "publishAndDeliverMs": 84.69387499999999
182
+ },
183
+ {
184
+ "case": "one new directory",
185
+ "round": 2,
186
+ "mode": "baseline",
187
+ "wallMs": 472.7720840000002,
188
+ "publishAndDeliverMs": 78.36200000000002
189
+ },
190
+ {
191
+ "case": "one new directory",
192
+ "round": 2,
193
+ "mode": "candidate",
194
+ "wallMs": 446.00608400000056,
195
+ "publishAndDeliverMs": 48.25545800000003
196
+ },
197
+ {
198
+ "case": "one new directory",
199
+ "round": 3,
200
+ "mode": "candidate",
201
+ "wallMs": 431.153792000001,
202
+ "publishAndDeliverMs": 49.12341700000002
203
+ },
204
+ {
205
+ "case": "one new directory",
206
+ "round": 3,
207
+ "mode": "baseline",
208
+ "wallMs": 477.24945800000023,
209
+ "publishAndDeliverMs": 76.72929199999999
210
+ },
211
+ {
212
+ "case": "one new directory",
213
+ "round": 4,
214
+ "mode": "baseline",
215
+ "wallMs": 465.8064169999998,
216
+ "publishAndDeliverMs": 89.06279199999994
217
+ },
218
+ {
219
+ "case": "one new directory",
220
+ "round": 4,
221
+ "mode": "candidate",
222
+ "wallMs": 437.3679169999996,
223
+ "publishAndDeliverMs": 49.67116699999997
224
+ },
225
+ {
226
+ "case": "one new directory",
227
+ "round": 5,
228
+ "mode": "candidate",
229
+ "wallMs": 494.94537500000297,
230
+ "publishAndDeliverMs": 45.004166
231
+ },
232
+ {
233
+ "case": "one new directory",
234
+ "round": 5,
235
+ "mode": "baseline",
236
+ "wallMs": 474.5190829999992,
237
+ "publishAndDeliverMs": 79.68237499999998
238
+ },
239
+ {
240
+ "case": "one new directory",
241
+ "round": 6,
242
+ "mode": "baseline",
243
+ "wallMs": 553.1798329999983,
244
+ "publishAndDeliverMs": 93.703125
245
+ },
246
+ {
247
+ "case": "one new directory",
248
+ "round": 6,
249
+ "mode": "candidate",
250
+ "wallMs": 1275.2517909999988,
251
+ "publishAndDeliverMs": 50.59466700000007
252
+ },
253
+ {
254
+ "case": "one new directory",
255
+ "round": 7,
256
+ "mode": "candidate",
257
+ "wallMs": 1232.3605409999982,
258
+ "publishAndDeliverMs": 48.20595800000001
259
+ },
260
+ {
261
+ "case": "one new directory",
262
+ "round": 7,
263
+ "mode": "baseline",
264
+ "wallMs": 470.3939160000009,
265
+ "publishAndDeliverMs": 78.59075000000001
266
+ },
267
+ {
268
+ "case": "24 new directories",
269
+ "round": 0,
270
+ "mode": "baseline",
271
+ "wallMs": 637.8229580000007,
272
+ "publishAndDeliverMs": 231.570917
273
+ },
274
+ {
275
+ "case": "24 new directories",
276
+ "round": 0,
277
+ "mode": "candidate",
278
+ "wallMs": 476.3015839999971,
279
+ "publishAndDeliverMs": 77.23608300000001
280
+ },
281
+ {
282
+ "case": "24 new directories",
283
+ "round": 1,
284
+ "mode": "candidate",
285
+ "wallMs": 467.2774590000008,
286
+ "publishAndDeliverMs": 76.11516600000004
287
+ },
288
+ {
289
+ "case": "24 new directories",
290
+ "round": 1,
291
+ "mode": "baseline",
292
+ "wallMs": 639.7768749999996,
293
+ "publishAndDeliverMs": 230.06824999999998
294
+ },
295
+ {
296
+ "case": "24 new directories",
297
+ "round": 2,
298
+ "mode": "baseline",
299
+ "wallMs": 647.7469169999968,
300
+ "publishAndDeliverMs": 236.64579099999997
301
+ },
302
+ {
303
+ "case": "24 new directories",
304
+ "round": 2,
305
+ "mode": "candidate",
306
+ "wallMs": 481.8011250000018,
307
+ "publishAndDeliverMs": 76.99520799999999
308
+ },
309
+ {
310
+ "case": "24 new directories",
311
+ "round": 3,
312
+ "mode": "candidate",
313
+ "wallMs": 459.72312500000044,
314
+ "publishAndDeliverMs": 72.04091600000004
315
+ },
316
+ {
317
+ "case": "24 new directories",
318
+ "round": 3,
319
+ "mode": "baseline",
320
+ "wallMs": 643.8266249999979,
321
+ "publishAndDeliverMs": 236.27858399999997
322
+ },
323
+ {
324
+ "case": "24 new directories",
325
+ "round": 4,
326
+ "mode": "baseline",
327
+ "wallMs": 656.7459580000032,
328
+ "publishAndDeliverMs": 229.43404200000003
329
+ },
330
+ {
331
+ "case": "24 new directories",
332
+ "round": 4,
333
+ "mode": "candidate",
334
+ "wallMs": 488.8945420000018,
335
+ "publishAndDeliverMs": 68.75925000000001
336
+ },
337
+ {
338
+ "case": "24 new directories",
339
+ "round": 5,
340
+ "mode": "candidate",
341
+ "wallMs": 471.89524999999776,
342
+ "publishAndDeliverMs": 70.331208
343
+ },
344
+ {
345
+ "case": "24 new directories",
346
+ "round": 5,
347
+ "mode": "baseline",
348
+ "wallMs": 621.4507909999993,
349
+ "publishAndDeliverMs": 230.450291
350
+ },
351
+ {
352
+ "case": "24 new directories",
353
+ "round": 6,
354
+ "mode": "baseline",
355
+ "wallMs": 648.6547920000012,
356
+ "publishAndDeliverMs": 239.93291699999997
357
+ },
358
+ {
359
+ "case": "24 new directories",
360
+ "round": 6,
361
+ "mode": "candidate",
362
+ "wallMs": 478.333584,
363
+ "publishAndDeliverMs": 68.66704100000004
364
+ },
365
+ {
366
+ "case": "24 new directories",
367
+ "round": 7,
368
+ "mode": "candidate",
369
+ "wallMs": 468.6863340000018,
370
+ "publishAndDeliverMs": 71.69262500000002
371
+ },
372
+ {
373
+ "case": "24 new directories",
374
+ "round": 7,
375
+ "mode": "baseline",
376
+ "wallMs": 644.8194999999978,
377
+ "publishAndDeliverMs": 244.712875
378
+ }
379
+ ],
380
+ "cargo": {
381
+ "cargo": "cargo 1.100.0 (3acc79c0c 2026-11-05)",
382
+ "rustc": "rustc 1.100.0 (0ef1bc386 2026-11-09)",
383
+ "method": "Offline incremental debug build with eight local Rust libraries and a binary. Every library includes one source value edited each round, so Cargo compiles the affected crates and produces new incremental directories. Each mode has its own populated worktree or checkout. Six measured rounds cover all orders after two priming rounds. The executable must print the sum of the expected library values after each run.",
384
+ "summary": {
385
+ "direct": {
386
+ "wallMs": 267.6498960000008,
387
+ "addedDirectories": 9
388
+ },
389
+ "baseline": {
390
+ "wallMs": 664.1331664999998,
391
+ "compileMs": 266.4263955,
392
+ "publishAndDeliverMs": 162.46772950000005,
393
+ "addedDirectories": 9
394
+ },
395
+ "candidate": {
396
+ "wallMs": 604.3825625,
397
+ "compileMs": 266.787104,
398
+ "publishAndDeliverMs": 108.50197899999998,
399
+ "addedDirectories": 9
400
+ }
401
+ },
402
+ "rows": [
403
+ {
404
+ "round": 0,
405
+ "mode": "direct",
406
+ "wallMs": 908.6144160000003,
407
+ "addedDirectories": 9,
408
+ "checkedOutput": "52"
409
+ },
410
+ {
411
+ "round": 0,
412
+ "mode": "baseline",
413
+ "wallMs": 633.57575,
414
+ "addedDirectories": 9,
415
+ "checkedOutput": "52",
416
+ "compileMs": 266.514708,
417
+ "publishAndDeliverMs": 146.15058300000004
418
+ },
419
+ {
420
+ "round": 0,
421
+ "mode": "candidate",
422
+ "wallMs": 583.3565419999995,
423
+ "addedDirectories": 9,
424
+ "checkedOutput": "52",
425
+ "compileMs": 263.248041,
426
+ "publishAndDeliverMs": 89.10233300000004
427
+ },
428
+ {
429
+ "round": 1,
430
+ "mode": "candidate",
431
+ "wallMs": 606.2687499999993,
432
+ "addedDirectories": 9,
433
+ "checkedOutput": "60",
434
+ "compileMs": 272.88250000000005,
435
+ "publishAndDeliverMs": 96.89104100000003
436
+ },
437
+ {
438
+ "round": 1,
439
+ "mode": "baseline",
440
+ "wallMs": 642.7155000000002,
441
+ "addedDirectories": 9,
442
+ "checkedOutput": "60",
443
+ "compileMs": 263.138,
444
+ "publishAndDeliverMs": 151.59808299999997
445
+ },
446
+ {
447
+ "round": 1,
448
+ "mode": "direct",
449
+ "wallMs": 267.5513749999991,
450
+ "addedDirectories": 9,
451
+ "checkedOutput": "60"
452
+ },
453
+ {
454
+ "round": 2,
455
+ "mode": "baseline",
456
+ "wallMs": 671.3837079999994,
457
+ "addedDirectories": 9,
458
+ "checkedOutput": "68",
459
+ "compileMs": 275.166583,
460
+ "publishAndDeliverMs": 160.58245900000003
461
+ },
462
+ {
463
+ "round": 2,
464
+ "mode": "direct",
465
+ "wallMs": 259.81954100000075,
466
+ "addedDirectories": 9,
467
+ "checkedOutput": "68"
468
+ },
469
+ {
470
+ "round": 2,
471
+ "mode": "candidate",
472
+ "wallMs": 602.4963750000006,
473
+ "addedDirectories": 9,
474
+ "checkedOutput": "68",
475
+ "compileMs": 264.197,
476
+ "publishAndDeliverMs": 106.32262499999996
477
+ },
478
+ {
479
+ "round": 3,
480
+ "mode": "candidate",
481
+ "wallMs": 635.8849999999984,
482
+ "addedDirectories": 9,
483
+ "checkedOutput": "76",
484
+ "compileMs": 298.396833,
485
+ "publishAndDeliverMs": 110.681333
486
+ },
487
+ {
488
+ "round": 3,
489
+ "mode": "direct",
490
+ "wallMs": 458.8868330000005,
491
+ "addedDirectories": 9,
492
+ "checkedOutput": "76"
493
+ },
494
+ {
495
+ "round": 3,
496
+ "mode": "baseline",
497
+ "wallMs": 668.8057079999999,
498
+ "addedDirectories": 9,
499
+ "checkedOutput": "76",
500
+ "compileMs": 266.338083,
501
+ "publishAndDeliverMs": 164.35300000000007
502
+ },
503
+ {
504
+ "round": 4,
505
+ "mode": "baseline",
506
+ "wallMs": 659.4606249999997,
507
+ "addedDirectories": 9,
508
+ "checkedOutput": "84",
509
+ "compileMs": 260.583709,
510
+ "publishAndDeliverMs": 170.79762500000004
511
+ },
512
+ {
513
+ "round": 4,
514
+ "mode": "candidate",
515
+ "wallMs": 611.8667089999981,
516
+ "addedDirectories": 9,
517
+ "checkedOutput": "84",
518
+ "compileMs": 269.377208,
519
+ "publishAndDeliverMs": 115.35670800000003
520
+ },
521
+ {
522
+ "round": 4,
523
+ "mode": "direct",
524
+ "wallMs": 250.1498750000028,
525
+ "addedDirectories": 9,
526
+ "checkedOutput": "84"
527
+ },
528
+ {
529
+ "round": 5,
530
+ "mode": "direct",
531
+ "wallMs": 267.7484170000025,
532
+ "addedDirectories": 9,
533
+ "checkedOutput": "92"
534
+ },
535
+ {
536
+ "round": 5,
537
+ "mode": "candidate",
538
+ "wallMs": 600.1570410000022,
539
+ "addedDirectories": 9,
540
+ "checkedOutput": "92",
541
+ "compileMs": 260.027584,
542
+ "publishAndDeliverMs": 115.74791700000003
543
+ },
544
+ {
545
+ "round": 5,
546
+ "mode": "baseline",
547
+ "wallMs": 688.5879580000001,
548
+ "addedDirectories": 9,
549
+ "checkedOutput": "92",
550
+ "compileMs": 280.087083,
551
+ "publishAndDeliverMs": 179.01616599999994
552
+ }
553
+ ]
554
+ }
555
+ }