Skip to content

Remove darwin-specific tar extractor#5

Merged
joshfriend merged 1 commit intomainfrom
consolidate-extractor
Apr 2, 2026
Merged

Remove darwin-specific tar extractor#5
joshfriend merged 1 commit intomainfrom
consolidate-extractor

Conversation

@joshfriend
Copy link
Copy Markdown
Collaborator

@joshfriend joshfriend commented Apr 2, 2026

The darwin extractor (mmap writes, 8 workers, separate buffer pool) was written under the assumption that macOS needed a different extraction strategy. Benchmarking on a 16-core Mac with a 1.1 GB / 2.3 GB bundle shows both extractors perform identically: disk throughput is ~276 vs ~285 MB/s, well within noise, because download is always the bottleneck on macOS (home internet) and the zstd decoder has massive headroom (~4.2 GB/s).

This deletes extract_darwin.go (203 lines) and removes the !darwin build tag from extract_default.go, so the parallel extractor (16 small-file + 4 large-file workers) runs on all platforms.

@joshfriend joshfriend enabled auto-merge (squash) April 2, 2026 15:36
@joshfriend joshfriend merged commit fa6234b into main Apr 2, 2026
9 checks passed
@joshfriend joshfriend deleted the consolidate-extractor branch April 2, 2026 15:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant