-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Try using a faster class check #23732
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
Conversation
@swift-ci please smoke benchmark |
Build failed before running benchmark. |
@swift-ci please smoke benchmark |
Performance: -O
Performance: -Osize
How to read the dataThe tables contain differences in performance which are larger than 8% and differences in code size which are larger than 1%.If you see any unexpected regressions, you should consider fixing the Noise: Sometimes the performance results (not code size!) contain false Hardware Overview
|
Adding a call that's not used outside of String bridging stuff definitely did not regress Array2D |
@swift-ci please smoke benchmark |
1 similar comment
@swift-ci please smoke benchmark |
Performance: -O
Performance: -Osize
Performance: -Onone
How to read the dataThe tables contain differences in performance which are larger than 8% and differences in code size which are larger than 1%.If you see any unexpected regressions, you should consider fixing the Noise: Sometimes the performance results (not code size!) contain false Hardware Overview
|
Hah, thought so! |
@swift-ci please test |
Build failed |
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.
Neat, any idea how much faster?
Only like 3% or so on our string equality benchmark, but I like not leaving minor perf hazards laying around. What I really want is to be able to inline this within the stdlib, but I don't see a good way to do that currently, since the fast check is in C++ and we can only inline C (and I don't really want to copy-paste the whole thing and maintain a Swift copy). |
@swift-ci please test |
Build failed |
Build failed |
@swift-ci please test |
… shimming object_getClass()
@swift-ci please smoke test and merge |
1 similar comment
@swift-ci please smoke test and merge |
No description provided.