Optimize native exact-tree materialization - #28
Open
kvkenyon wants to merge 4 commits into
Open
Conversation
kvkenyon
force-pushed
the
fm/rtc-native-101-ready-performance
branch
from
September 4, 2026 03:13
9412fcf to
a732f12
Compare
kvkenyon
force-pushed
the
fm/rtc-native-101-ready-performance
branch
4 times, most recently
from
September 4, 2026 04:56
3d142de to
b7019e2
Compare
kvkenyon
force-pushed
the
fm/rtc-native-101-ready-performance
branch
from
September 4, 2026 13:43
567f7eb to
870afdd
Compare
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.
Cuts representative native exact-tree materialization from 8.93s p95 to 1.21s p95 on the measured M5/24 GB host. The measured cause was 611 serial Git launches per iteration; this batches committed blob metadata/content, reads numstats once, and limits patch concurrency to four while retaining exact revision identity, isolated object reads, shell-free Git, and existing caps.\n\nAdds a machine-readable 101-file/5,000-line benchmark with an M1/16 GiB reference budget and a stable 110-process cross-host regression gate, plus hostile-path/dirty-tree and process-ceiling coverage.\n\nValidated with the focused benchmark, hostile filename smoke, RTCIngestTests, scripts/native-check.sh, and npm run check. XCTest-only and full-Xcode UI/signing/notarization gates remain unclaimed on this Command Line Tools host.