Repository navigation
perf(fs): buffer benchmark-sized ext4 outputs - #78
Merged
Merged
Conversation
Collaborator
Author
|
Exact final-SHA benchmark evidence is green: https://github.com/zackees/reld/actions/runs/32881046576 Linux reld medians:
Startup is 2.0 ms and is reported separately without subtraction. All Linux, Windows, macOS, exact-SHA, executable, graph-render, and no-silent-N/A gates passed. |
zackees
marked this pull request as ready for review
August 25, 2026 18:30
7 tasks
7 tasks
zackees
added a commit
that referenced
this pull request
Nov 3, 2026
…ression Per-row 10% bar fails on noise: local 12-trial ThinLTO is 7.8% with baseline MAD 0.067s (~10%). Each row must still not be slower than baseline, so #78's buffered default (-34%/-35%/-5%) stays red. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #77.
Summary
--mmap-output-fileforces mmap instead of claiming mmap is always the defaultWhy this optimization
The initial direct-copy implementation was rejected by exact benchmark run 32877973437: it missed the strict performance gate in all three LTO modes. In that same run, the existing buffered mode was 11–14% faster than the direct-copy default. PR #76 independently showed buffered output winning all three modes. The direct-copy commits are explicitly reverted in this branch so the experiment remains auditable.
RED to GREEN
f764c8efadds the Linux ext4 policy test and fails on the old mmap selection2c34c31cimplements the bounded policy, tests both limits and fallbacks, and updates CLI helpExact benchmark evidence
Final-SHA workflow: 32881046576
Startup was 2.0 ms, separately reported and never subtracted. Linux, Windows, macOS, exact-SHA, graph rendering, executable validation, and no-silent-N/A gates passed.
Validation
The unrelated Linux artifact job fails before repository compilation because the external soldr catalogue URL returns HTTP 404; the same infrastructure failure occurs independently of this patch. Linux is covered by the passing native CI, linker-mode, Bosn, and exact benchmark jobs.