-
Notifications
You must be signed in to change notification settings - Fork 15
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
optimize the medium
algorithm
#223
Merged
Merged
Commits on Oct 10, 2024
-
Benchmark 1 (31 runs): ./compress-baseline 3 rs silesia-small.tar measurement mean ± σ min … max outliers delta wall_time 164ms ± 3.09ms 161ms … 178ms 2 ( 6%) 0% peak_rss 24.7MB ± 52.6KB 24.6MB … 24.8MB 6 (19%) 0% cpu_cycles 666M ± 12.7M 657M … 725M 2 ( 6%) 0% instructions 1.71G ± 278 1.71G … 1.71G 0 ( 0%) 0% cache_references 43.7M ± 474K 43.1M … 45.1M 0 ( 0%) 0% cache_misses 1.17M ± 276K 862K … 2.25M 1 ( 3%) 0% branch_misses 7.78M ± 8.65K 7.77M … 7.81M 1 ( 3%) 0% Benchmark 2 (34 runs): target/release/examples/blogpost-compress 3 rs silesia-small.tar measurement mean ± σ min … max outliers delta wall_time 150ms ± 4.69ms 148ms … 175ms 2 ( 6%) ⚡- 8.1% ± 1.2% peak_rss 24.7MB ± 65.5KB 24.6MB … 24.8MB 0 ( 0%) - 0.2% ± 0.1% cpu_cycles 650M ± 19.1M 640M … 748M 2 ( 6%) ⚡- 2.3% ± 1.2% instructions 1.66G ± 298 1.66G … 1.66G 0 ( 0%) ⚡- 2.9% ± 0.0% cache_references 43.8M ± 451K 43.0M … 44.9M 0 ( 0%) + 0.0% ± 0.5% cache_misses 1.09M ± 267K 758K … 1.86M 1 ( 3%) - 6.9% ± 11.5% branch_misses 7.80M ± 12.9K 7.78M … 7.84M 3 ( 9%) + 0.2% ± 0.1%
Configuration menu - View commit details
-
Copy full SHA for 0b36839 - Browse repository at this point
Copy the full SHA 0b36839View commit details
Commits on Oct 13, 2024
-
reduces instruction count, does not yet improve performance
Configuration menu - View commit details
-
Copy full SHA for 53afa8b - Browse repository at this point
Copy the full SHA 53afa8bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6c30b66 - Browse repository at this point
Copy the full SHA 6c30b66View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7d05851 - Browse repository at this point
Copy the full SHA 7d05851View commit details -
Configuration menu - View commit details
-
Copy full SHA for 81af69a - Browse repository at this point
Copy the full SHA 81af69aView commit details -
specialize
ReadBuf
tosym_buf
s needsBenchmark 2 (36 runs): target/release/examples/blogpost-compress 3 rs silesia-small.tar measurement mean ± σ min … max outliers delta wall_time 141ms ± 1.98ms 139ms … 151ms 1 ( 3%) ⚡- 3.8% ± 1.2% peak_rss 24.7MB ± 71.1KB 24.5MB … 24.8MB 0 ( 0%) - 0.1% ± 0.1% cpu_cycles 626M ± 7.96M 620M … 667M 1 ( 3%) ⚡- 3.7% ± 1.0% instructions 1.60G ± 308 1.60G … 1.60G 0 ( 0%) ⚡- 3.7% ± 0.0% cache_references 43.9M ± 494K 43.2M … 45.0M 0 ( 0%) + 0.3% ± 0.6% cache_misses 1.07M ± 259K 769K … 1.85M 1 ( 3%) + 5.8% ± 13.3% branch_misses 7.79M ± 4.52K 7.78M … 7.80M 2 ( 6%) - 0.1% ± 0.0%
Configuration menu - View commit details
-
Copy full SHA for 7b0cbb5 - Browse repository at this point
Copy the full SHA 7b0cbb5View commit details -
Configuration menu - View commit details
-
Copy full SHA for bf44ae7 - Browse repository at this point
Copy the full SHA bf44ae7View commit details
Commits on Oct 14, 2024
-
Configuration menu - View commit details
-
Copy full SHA for f69373f - Browse repository at this point
Copy the full SHA f69373fView commit details
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.