Skip to content

[gardening] Clean up many String computed vars #23863

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

Merged
merged 1 commit into from
Apr 9, 2019

Conversation

milseman
Copy link
Member

@milseman milseman commented Apr 8, 2019

No description provided.

@milseman
Copy link
Member Author

milseman commented Apr 8, 2019

@swift-ci please test

@swift-ci
Copy link
Contributor

swift-ci commented Apr 8, 2019

Build failed
Swift Test OS X Platform
Git Sha - 84e3a1e4505748e4e9b99ef49be889257314fc84

@swift-ci
Copy link
Contributor

swift-ci commented Apr 8, 2019

Build failed
Swift Test Linux Platform
Git Sha - 84e3a1e4505748e4e9b99ef49be889257314fc84

@milseman
Copy link
Member Author

milseman commented Apr 8, 2019

@swift-ci please test

@milseman
Copy link
Member Author

milseman commented Apr 8, 2019

@swift-ci please benchmark

@swift-ci
Copy link
Contributor

swift-ci commented Apr 8, 2019

Build failed
Swift Test OS X Platform
Git Sha - 84e3a1e4505748e4e9b99ef49be889257314fc84

@milseman
Copy link
Member Author

milseman commented Apr 8, 2019

@swift-ci please test

@milseman
Copy link
Member Author

milseman commented Apr 8, 2019

@swift-ci please benchmark

@swift-ci
Copy link
Contributor

swift-ci commented Apr 8, 2019

Build failed
Swift Test OS X Platform
Git Sha - 416b1c7b1ce7f818c60c36e4c11224b6f360b4f4

@swift-ci
Copy link
Contributor

swift-ci commented Apr 8, 2019

Build failed
Swift Test Linux Platform
Git Sha - 416b1c7b1ce7f818c60c36e4c11224b6f360b4f4

@swift-ci
Copy link
Contributor

swift-ci commented Apr 8, 2019

Performance: -O

TEST OLD NEW DELTA RATIO
Improvement
EqualStringSubstring 42 38 -9.5% 1.11x (?)
EqualSubstringString 42 38 -9.5% 1.11x
LessSubstringSubstring 43 39 -9.3% 1.10x
EqualSubstringSubstring 41 38 -7.3% 1.08x (?)
EqualSubstringSubstringGenericEquatable 41 38 -7.3% 1.08x (?)
LessSubstringSubstringGenericComparable 42 39 -7.1% 1.08x

Performance: -Osize

TEST OLD NEW DELTA RATIO
Improvement
LessSubstringSubstring 43 39 -9.3% 1.10x (?)
EqualSubstringString 43 39 -9.3% 1.10x (?)
LessSubstringSubstringGenericComparable 43 39 -9.3% 1.10x (?)
EqualSubstringSubstring 42 39 -7.1% 1.08x (?)
EqualStringSubstring 42 39 -7.1% 1.08x (?)

Performance: -Onone

TEST OLD NEW DELTA RATIO
Improvement
EqualSubstringSubstringGenericEquatable 48 44 -8.3% 1.09x (?)
LessSubstringSubstringGenericComparable 48 44 -8.3% 1.09x
How to read the data The 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
regressions before you merge the PR.

Noise: Sometimes the performance results (not code size!) contain false
alarms. Unexpected regressions which are marked with '(?)' are probably noise.
If you see regressions which you cannot explain you can try to run the
benchmarks again. If regressions still show up, please consult with the
performance team (@eeckstein).

Hardware Overview
  Model Name: Mac Pro
  Model Identifier: MacPro6,1
  Processor Name: 12-Core Intel Xeon E5
  Processor Speed: 2.7 GHz
  Number of Processors: 1
  Total Number of Cores: 12
  L2 Cache (per Core): 256 KB
  L3 Cache: 30 MB
  Memory: 64 GB

@milseman
Copy link
Member Author

milseman commented Apr 8, 2019

@swift-ci please test

@swift-ci
Copy link
Contributor

swift-ci commented Apr 8, 2019

Build failed
Swift Test OS X Platform
Git Sha - c71343371adc259caa90baaa0ea7a590b9a338f5

@swift-ci
Copy link
Contributor

swift-ci commented Apr 8, 2019

Build failed
Swift Test Linux Platform
Git Sha - c71343371adc259caa90baaa0ea7a590b9a338f5

@milseman
Copy link
Member Author

milseman commented Apr 9, 2019

Expr/TestIRMemoryMap.test

@milseman
Copy link
Member Author

milseman commented Apr 9, 2019

@swift-ci please test Linux platform

@milseman milseman merged commit b39ead1 into swiftlang:master Apr 9, 2019
@milseman milseman deleted the string_cleaning branch April 9, 2019 21:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants