-
-
Notifications
You must be signed in to change notification settings - Fork 636
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Benchmark digest subsetting #14569
Benchmark digest subsetting #14569
Conversation
DigestSubset( | ||
request.sources.source_files.snapshot.digest, PathGlobs(sorted(remaining_sources)) | ||
), | ||
DigestSubset(request.sources.source_files.snapshot.digest, PathGlobs(remaining_sources)), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The PathGlobs ctor sorts for us, so no need to do it here ourselves
The results, for posterity:
|
# Rust tests and lints will be skipped. Delete if not intended. [ci skip-rust] # Building wheels and fs_util will be skipped. Delete if not intended. [ci skip-build-wheels]
970251f
to
38867bb
Compare
Stale? |
I don't know that the underlying issue has been addressed? |
Opening a ticket for the |
Opened #16570. |
Closes #16570 * Use a `DigestTrie` to create all snapshots at once, instead of creating them individually * Store all in-memory file contents in a single (batched) call, instead of storing them individually [ci skip-build-wheels] --- I restored the benchmark script from #14569 to test this. | size | create_digest_before | create_digest_after | | --- | --- | --- | | 20000 | 608 | 130 | | 40000 | 1164 | 268 | | 60000 | 2260 | 475 | | 80000 | 3582 | 674 | | 100000 | 5085 | 862 | | 120000 | 6765 | 1057 | | 140000 | 8818 | 1067 | | 160000 | 10752 | 1361 | | 180000 | 12619 | 1604 |
Closes pantsbuild#16570 * Use a `DigestTrie` to create all snapshots at once, instead of creating them individually * Store all in-memory file contents in a single (batched) call, instead of storing them individually [ci skip-build-wheels] --- I restored the benchmark script from pantsbuild#14569 to test this. | size | create_digest_before | create_digest_after | | --- | --- | --- | | 20000 | 608 | 130 | | 40000 | 1164 | 268 | | 60000 | 2260 | 475 | | 80000 | 3582 | 674 | | 100000 | 5085 | 862 | | 120000 | 6765 | 1057 | | 140000 | 8818 | 1067 | | 160000 | 10752 | 1361 | | 180000 | 12619 | 1604 |
Closes #16570 * Use a `DigestTrie` to create all snapshots at once, instead of creating them individually * Store all in-memory file contents in a single (batched) call, instead of storing them individually [ci skip-build-wheels] --- I restored the benchmark script from #14569 to test this. | size | create_digest_before | create_digest_after | | --- | --- | --- | | 20000 | 608 | 130 | | 40000 | 1164 | 268 | | 60000 | 2260 | 475 | | 80000 | 3582 | 674 | | 100000 | 5085 | 862 | | 120000 | 6765 | 1057 | | 140000 | 8818 | 1067 | | 160000 | 10752 | 1361 | | 180000 | 12619 | 1604 |
Closes pantsbuild#16570 * Use a `DigestTrie` to create all snapshots at once, instead of creating them individually * Store all in-memory file contents in a single (batched) call, instead of storing them individually [ci skip-build-wheels] --- I restored the benchmark script from pantsbuild#14569 to test this. | size | create_digest_before | create_digest_after | | --- | --- | --- | | 20000 | 608 | 130 | | 40000 | 1164 | 268 | | 60000 | 2260 | 475 | | 80000 | 3582 | 674 | | 100000 | 5085 | 862 | | 120000 | 6765 | 1057 | | 140000 | 8818 | 1067 | | 160000 | 10752 | 1361 | | 180000 | 12619 | 1604 |
Probably not for merging.
[ci skip-rust]
[ci skip-build-wheels]