-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Avoid an unnecessary call to CFStringGetCharactersPtr in bridging #38970
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
Avoid an unnecessary call to CFStringGetCharactersPtr in bridging #38970
Conversation
@swift-ci please smoke test |
@swift-ci please benchmark |
@swift-ci Apple Silicon benchmark |
Performance (x86_64): -O
Code size: -OPerformance (x86_64): -Osize
Code size: -OsizePerformance (x86_64): -Onone
Code size: -swiftlibsHow 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
|
Looks like the win is smaller than the 7% threshold the benchmark will report. Not entirely surprising. Still worth doing I think. |
Performance (arm64): -O
Code size: -O
Performance (arm64): -Osize
Code size: -OsizePerformance (arm64): -Onone
Code size: -swiftlibsHow 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
|
No description provided.