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,157 @@
1
+ {
2
+ "toolchain": {
3
+ "macOS": "27.2.1",
4
+ "hardware": "Apple M3 Max",
5
+ "nodeDistribution": "Homebrew",
6
+ "xcode": "27.2 (27B52)",
7
+ "swift": "6.4.2",
8
+ "node": "26.13.1",
9
+ "typescript": "7.0.2",
10
+ "cargo": "cargo 1.100.0 (3acc79c0c 2026-11-05)",
11
+ "pnpm": "12.23.0",
12
+ "ninja": "1.13.2"
13
+ },
14
+ "method": "Four worktrees at one revision. Locked the first checkout while creating the second, then unlocked both. Checked each executable from the checkout Warm selected. Checkout numbers denote order of first use.",
15
+ "samples": [
16
+ {
17
+ "tool": "tsc",
18
+ "builds": [
19
+ {
20
+ "command": ["tsc", "-p", ".", "--outDir", "outA"],
21
+ "checkout": 1,
22
+ "created": true
23
+ },
24
+ {
25
+ "command": ["tsc", "-p", ".", "--outDir", "outB"],
26
+ "checkout": 2,
27
+ "created": true
28
+ },
29
+ {
30
+ "command": ["tsc", "-p", ".", "--outDir", "outB"],
31
+ "checkout": 2,
32
+ "created": false
33
+ },
34
+ {
35
+ "command": ["tsc", "-p", ".", "--outDir", "outA"],
36
+ "checkout": 1,
37
+ "created": false
38
+ }
39
+ ]
40
+ },
41
+ {
42
+ "tool": "cargo",
43
+ "builds": [
44
+ {
45
+ "command": ["cargo", "build", "--offline", "--profile", "dev"],
46
+ "checkout": 1,
47
+ "created": true
48
+ },
49
+ {
50
+ "command": ["cargo", "build", "--offline", "--profile", "release"],
51
+ "checkout": 2,
52
+ "created": true
53
+ },
54
+ {
55
+ "command": ["cargo", "build", "--offline", "--profile", "release"],
56
+ "checkout": 2,
57
+ "created": false
58
+ },
59
+ {
60
+ "command": ["cargo", "build", "--offline", "--profile", "dev"],
61
+ "checkout": 1,
62
+ "created": false
63
+ }
64
+ ]
65
+ },
66
+ {
67
+ "tool": "swift",
68
+ "builds": [
69
+ {
70
+ "command": ["swift", "build", "-c", "debug"],
71
+ "checkout": 1,
72
+ "created": true
73
+ },
74
+ {
75
+ "command": ["swift", "build", "-c", "release"],
76
+ "checkout": 2,
77
+ "created": true
78
+ },
79
+ {
80
+ "command": ["swift", "build", "-c", "release"],
81
+ "checkout": 2,
82
+ "created": false
83
+ },
84
+ {
85
+ "command": ["swift", "build", "-c", "debug"],
86
+ "checkout": 1,
87
+ "created": false
88
+ }
89
+ ]
90
+ },
91
+ {
92
+ "tool": "xcodebuild",
93
+ "builds": [
94
+ {
95
+ "command": [
96
+ "xcodebuild",
97
+ "-scheme",
98
+ "Sample",
99
+ "-configuration",
100
+ "Debug",
101
+ "-destination",
102
+ "generic/platform=macOS",
103
+ "CODE_SIGNING_ALLOWED=NO",
104
+ "build"
105
+ ],
106
+ "checkout": 1,
107
+ "created": true
108
+ },
109
+ {
110
+ "command": [
111
+ "xcodebuild",
112
+ "-scheme",
113
+ "Sample",
114
+ "-configuration",
115
+ "Release",
116
+ "-destination",
117
+ "generic/platform=macOS",
118
+ "CODE_SIGNING_ALLOWED=NO",
119
+ "build"
120
+ ],
121
+ "checkout": 2,
122
+ "created": true
123
+ },
124
+ {
125
+ "command": [
126
+ "xcodebuild",
127
+ "-scheme",
128
+ "Sample",
129
+ "-configuration",
130
+ "Release",
131
+ "-destination",
132
+ "generic/platform=macOS",
133
+ "CODE_SIGNING_ALLOWED=NO",
134
+ "build"
135
+ ],
136
+ "checkout": 2,
137
+ "created": false
138
+ },
139
+ {
140
+ "command": [
141
+ "xcodebuild",
142
+ "-scheme",
143
+ "Sample",
144
+ "-configuration",
145
+ "Debug",
146
+ "-destination",
147
+ "generic/platform=macOS",
148
+ "CODE_SIGNING_ALLOWED=NO",
149
+ "build"
150
+ ],
151
+ "checkout": 1,
152
+ "created": false
153
+ }
154
+ ]
155
+ }
156
+ ]
157
+ }