Commit 76b3a50
committed
perf(release): optimize sandbox creation with tar pipe
Replace cp + rm with tar pipe for sandbox directory copying.
This provides significant performance improvements by:
- Excluding directories during copy (not after)
- Using tar's optimized bulk operations
- Eliminating separate rm -rf cleanup
Performance impact:
- Sandbox tests: 50s+ → 2.45s (~20x faster)
- Full parallel suite: 31.71s → 26.56s (16% faster)
- Overall from baseline: 42.94s → 26.56s (38% faster)
Excluded directories: .git, .release-state, node_modules, .tasks, tmp1 parent 6909f23 commit 76b3a50
1 file changed
Lines changed: 8 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
375 | 375 | | |
376 | 376 | | |
377 | 377 | | |
378 | | - | |
379 | | - | |
380 | | - | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
381 | 386 | | |
382 | 387 | | |
383 | 388 | | |
| |||
0 commit comments