Repository navigation
Increase LLVM inline-threshold to 5000 - #130
Open
peterzhu2118 wants to merge 1 commit into
Open
peterzhu2118 wants to merge 1 commit into
peterzhu2118 wants to merge 1 commit into
Conversation
Compared to the default of 225, this gives noticeable performance
improvements.
For the following benchmark:
objs = []
2_000_000.times { objs << Object.new }
We can see this branch is about 10% faster:
Benchmark 1: branch
Time (mean ± σ): 193.0 ms ± 3.3 ms [User: 207.0 ms, System: 79.2 ms]
Range (min … max): 189.1 ms … 203.1 ms 15 runs
Benchmark 2: master
Time (mean ± σ): 214.9 ms ± 4.9 ms [User: 245.2 ms, System: 79.5 ms]
Range (min … max): 206.4 ms … 220.4 ms 13 runs
Summary
branch ran
1.11 ± 0.03 times faster than master
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.
Compared to the default of 225, this gives noticeable performance improvements.
For the following benchmark:
We can see this branch is about 10% faster: