Skip to content

[benchmark] Add binary floating-point properties benchmarks #14988

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
Mar 6, 2018
Merged

[benchmark] Add binary floating-point properties benchmarks #14988

merged 1 commit into from
Mar 6, 2018

Conversation

xwu
Copy link
Collaborator

@xwu xwu commented Mar 5, 2018

It's been reported that certain properties such as nextUp are hundreds of times slower than they need to be. This PR adds some benchmarks in preparation for fixing the issue.

@xwu xwu requested a review from stephentyrone March 5, 2018 22:07
@xwu
Copy link
Collaborator Author

xwu commented Mar 5, 2018

@stephentyrone The generic floating-point conversion initializers use nextUp to decide when rounding is tied. Since we're going to be using them a lot more now and no one's picked up the starter bug, I'm just going to go ahead and speed up the whole lot of them.

@swiftlang swiftlang deleted a comment from swift-ci Mar 5, 2018
@xwu
Copy link
Collaborator Author

xwu commented Mar 5, 2018

@swift-ci Please smoke benchmark

@swiftlang swiftlang deleted a comment from swift-ci Mar 5, 2018
Copy link
Contributor

@stephentyrone stephentyrone left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@swift-ci
Copy link
Contributor

swift-ci commented Mar 6, 2018

Build comment file:

Optimized (O)

Regression (18)
TEST OLD NEW DELTA SPEEDUP
RangeIterationSigned 171 200 +17.0% 0.86x
PrefixWhileCountableRange 46 53 +15.2% 0.87x
SubstringComparable 43 48 +11.6% 0.90x
DropLastSequenceLazy 640 712 +11.2% 0.90x
DropLastSequence 642 711 +10.7% 0.90x
NopDeinit 21569 23833 +10.5% 0.91x
WordCountUniqueUTF16 16588 18277 +10.2% 0.91x (?)
StringEqualPointerComparison 286 315 +10.1% 0.91x
PointerArithmetics 31498 34402 +9.2% 0.92x
CharIteration_utf16_unicodeScalars_Backwards 15864 17182 +8.3% 0.92x
MapReduce 399 427 +7.0% 0.93x
CharIteration_tweet_unicodeScalars_Backwards 25050 26706 +6.6% 0.94x
CharIteration_ascii_unicodeScalars_Backwards 12700 13525 +6.5% 0.94x
CharIteration_korean_unicodeScalars_Backwards 12329 13121 +6.4% 0.94x
CharIteration_japanese_unicodeScalars_Backwards 15230 16190 +6.3% 0.94x
CharIteration_chinese_unicodeScalars_Backwards 9652 10249 +6.2% 0.94x
CharIteration_russian_unicodeScalars_Backwards 10614 11261 +6.1% 0.94x
CharIteration_punctuatedJapanese_unicodeScalars_Backwards 2345 2469 +5.3% 0.95x
Improvement (8)
TEST OLD NEW DELTA SPEEDUP
Sim2DArray 599 413 -31.1% 1.45x
PrefixWhileArray 105 88 -16.2% 1.19x
ObjectiveCBridgeFromNSSetAnyObjectForced 5033 4494 -10.7% 1.12x
SuffixCountableRange 12 11 -8.3% 1.09x
DropLastCountableRange 12 11 -8.3% 1.09x
SuffixCountableRangeLazy 12 11 -8.3% 1.09x
MapReduceLazyCollectionShort 37 34 -8.1% 1.09x
StringBuilderLong 1169 1107 -5.3% 1.06x (?)
No Changes (352)
TEST OLD NEW DELTA SPEEDUP
AngryPhonebook 3806 3674 -3.5% 1.04x (?)
AnyHashableWithAClass 73321 73619 +0.4% 1.00x
Array2D 2554 2560 +0.2% 1.00x (?)
ArrayAppend 1021 1020 -0.1% 1.00x (?)
ArrayAppendArrayOfInt 791 804 +1.6% 0.98x (?)
ArrayAppendAscii 13246 13352 +0.8% 0.99x
ArrayAppendFromGeneric 802 797 -0.6% 1.01x (?)
ArrayAppendGenericStructs 1427 1433 +0.4% 1.00x (?)
ArrayAppendLatin1 37941 37855 -0.2% 1.00x
ArrayAppendLazyMap 1341 1343 +0.1% 1.00x
ArrayAppendOptionals 1427 1429 +0.1% 1.00x (?)
ArrayAppendRepeatCol 1339 1339 +0.0% 1.00x
ArrayAppendReserved 756 758 +0.3% 1.00x
ArrayAppendSequence 1128 1134 +0.5% 0.99x (?)
ArrayAppendStrings 15186 15196 +0.1% 1.00x (?)
ArrayAppendToFromGeneric 779 800 +2.7% 0.97x (?)
ArrayAppendToGeneric 799 796 -0.4% 1.00x (?)
ArrayAppendUTF16 37429 37514 +0.2% 1.00x
ArrayInClass 86 86 +0.0% 1.00x
ArrayLiteral 0 0 +0.0% 1.00x
ArrayOfGenericPOD2 150 150 +0.0% 1.00x
ArrayOfGenericRef 4387 4413 +0.6% 0.99x (?)
ArrayOfPOD 183 183 +0.0% 1.00x
ArrayOfRef 4383 4366 -0.4% 1.00x (?)
ArrayPlusEqualArrayOfInt 798 799 +0.1% 1.00x (?)
ArrayPlusEqualFiveElementCollection 5486 5472 -0.3% 1.00x (?)
ArrayPlusEqualSingleElementCollection 1027 1027 +0.0% 1.00x
ArrayPlusEqualThreeElements 1659 1648 -0.7% 1.01x (?)
ArraySubscript 1527 1537 +0.7% 0.99x
ArrayValueProp 8 8 +0.0% 1.00x
ArrayValueProp2 8 8 +0.0% 1.00x
ArrayValueProp3 8 8 +0.0% 1.00x
ArrayValueProp4 8 8 +0.0% 1.00x
BinaryFloatingPointConversionFromBinaryInteger 41 40 -2.4% 1.02x
BitCount 202 211 +4.5% 0.96x
ByteSwap 98 100 +2.0% 0.98x
COWTree 5416 5559 +2.6% 0.97x
CSVParsing 761751 757312 -0.6% 1.01x
CSVParsingAlt 733509 723713 -1.3% 1.01x
CSVParsingAltIndices 359794 355693 -1.1% 1.01x
CStringLongAscii 4770 4937 +3.5% 0.97x
CStringLongNonAscii 2110 2136 +1.2% 0.99x
CStringShortAscii 4702 4739 +0.8% 0.99x (?)
Calculator 648 651 +0.5% 1.00x
CaptureProp 3911 3903 -0.2% 1.00x (?)
CharIndexing_ascii_unicodeScalars 14750 15417 +4.5% 0.96x
CharIndexing_ascii_unicodeScalars_Backwards 14285 14497 +1.5% 0.99x
CharIndexing_chinese_unicodeScalars 11172 11672 +4.5% 0.96x
CharIndexing_chinese_unicodeScalars_Backwards 10806 10986 +1.7% 0.98x
CharIndexing_japanese_unicodeScalars 17656 18452 +4.5% 0.96x
CharIndexing_japanese_unicodeScalars_Backwards 17067 17356 +1.7% 0.98x
CharIndexing_korean_unicodeScalars 14309 14945 +4.4% 0.96x
CharIndexing_korean_unicodeScalars_Backwards 13832 14067 +1.7% 0.98x
CharIndexing_punctuatedJapanese_unicodeScalars 2684 2785 +3.8% 0.96x
CharIndexing_punctuatedJapanese_unicodeScalars_Backwards 2598 2633 +1.3% 0.99x
CharIndexing_punctuated_unicodeScalars 3356 3487 +3.9% 0.96x
CharIndexing_punctuated_unicodeScalars_Backwards 3245 3295 +1.5% 0.98x
CharIndexing_russian_unicodeScalars 12295 12833 +4.4% 0.96x
CharIndexing_russian_unicodeScalars_Backwards 11888 12096 +1.7% 0.98x
CharIndexing_tweet_unicodeScalars 29076 30310 +4.2% 0.96x
CharIndexing_tweet_unicodeScalars_Backwards 27623 28264 +2.3% 0.98x
CharIndexing_utf16_unicodeScalars 20261 20380 +0.6% 0.99x
CharIndexing_utf16_unicodeScalars_Backwards 20846 20982 +0.7% 0.99x
CharIteration_ascii_unicodeScalars 20364 19890 -2.3% 1.02x
CharIteration_chinese_unicodeScalars 15409 14999 -2.7% 1.03x
CharIteration_japanese_unicodeScalars 24497 23766 -3.0% 1.03x
CharIteration_korean_unicodeScalars 19790 19263 -2.7% 1.03x
CharIteration_punctuatedJapanese_unicodeScalars 3657 3529 -3.5% 1.04x
CharIteration_punctuated_unicodeScalars 4579 4447 -2.9% 1.03x
CharIteration_punctuated_unicodeScalars_Backwards 2929 3083 +5.3% 0.95x
CharIteration_russian_unicodeScalars 17006 16526 -2.8% 1.03x
CharIteration_tweet_unicodeScalars 40349 39270 -2.7% 1.03x
CharIteration_utf16_unicodeScalars 27144 27159 +0.1% 1.00x (?)
CharacterLiteralsLarge 6009 6026 +0.3% 1.00x (?)
CharacterLiteralsSmall 410 409 -0.2% 1.00x (?)
CharacterPropertiesFetch 4577 4593 +0.3% 1.00x (?)
CharacterPropertiesPrecomputed 983 967 -1.6% 1.02x (?)
CharacterPropertiesStashed 1537 1557 +1.3% 0.99x (?)
CharacterPropertiesStashedMemo 1513 1526 +0.9% 0.99x (?)
Chars 969 971 +0.2% 1.00x
ClassArrayGetter 15 15 +0.0% 1.00x
Combos 470 466 -0.9% 1.01x (?)
DictOfArraysToArrayOfDicts 790 802 +1.5% 0.99x
Dictionary 508 510 +0.4% 1.00x
Dictionary2 1617 1621 +0.2% 1.00x
Dictionary2OfObjects 2984 2966 -0.6% 1.01x (?)
Dictionary3 244 237 -2.9% 1.03x
Dictionary3OfObjects 676 674 -0.3% 1.00x (?)
Dictionary4 146 146 +0.0% 1.00x
Dictionary4OfObjects 200 201 +0.5% 1.00x
DictionaryBridge 1984 2014 +1.5% 0.99x (?)
DictionaryGroup 132 133 +0.8% 0.99x (?)
DictionaryGroupOfObjects 1934 1941 +0.4% 1.00x (?)
DictionaryLiteral 1611 1604 -0.4% 1.00x (?)
DictionaryOfObjects 2179 2180 +0.0% 1.00x (?)
DictionaryRemove 2976 3033 +1.9% 0.98x
DictionaryRemoveOfObjects 24035 23677 -1.5% 1.02x
DictionarySubscriptDefaultMutation 149 150 +0.7% 0.99x (?)
DictionarySubscriptDefaultMutationArray 490 490 +0.0% 1.00x
DictionarySubscriptDefaultMutationArrayOfObjects 3805 3804 -0.0% 1.00x (?)
DictionarySubscriptDefaultMutationOfObjects 1393 1384 -0.6% 1.01x
DictionarySwap 485 486 +0.2% 1.00x
DictionarySwapOfObjects 7440 7391 -0.7% 1.01x (?)
DoubleWidthDivision 0 0 +0.0% 1.00x
DropFirstAnyCollection 102 101 -1.0% 1.01x
DropFirstAnyCollectionLazy 67225 67272 +0.1% 1.00x (?)
DropFirstAnySeqCRangeIter 19540 19546 +0.0% 1.00x (?)
DropFirstAnySeqCRangeIterLazy 19576 19510 -0.3% 1.00x (?)
DropFirstAnySeqCntRange 94 94 +0.0% 1.00x
DropFirstAnySeqCntRangeLazy 94 94 +0.0% 1.00x
DropFirstAnySequence 5207 5190 -0.3% 1.00x (?)
DropFirstAnySequenceLazy 5336 5324 -0.2% 1.00x
DropFirstArray 35 35 +0.0% 1.00x
DropFirstArrayLazy 35 35 +0.0% 1.00x
DropFirstCountableRange 35 35 +0.0% 1.00x
DropFirstCountableRangeLazy 35 35 +0.0% 1.00x
DropFirstSequence 2699 2702 +0.1% 1.00x
DropFirstSequenceLazy 2792 2786 -0.2% 1.00x
DropLastAnyCollection 37 37 +0.0% 1.00x
DropLastAnyCollectionLazy 22309 22410 +0.5% 1.00x (?)
DropLastAnySeqCRangeIter 3991 4014 +0.6% 0.99x
DropLastAnySeqCRangeIterLazy 4001 4033 +0.8% 0.99x
DropLastAnySeqCntRange 29 29 +0.0% 1.00x
DropLastAnySeqCntRangeLazy 29 30 +3.4% 0.97x
DropLastAnySequence 5285 5284 -0.0% 1.00x (?)
DropLastAnySequenceLazy 5429 5424 -0.1% 1.00x (?)
DropLastCountableRangeLazy 11 11 +0.0% 1.00x
DropWhileAnyCollection 125 125 +0.0% 1.00x
DropWhileAnyCollectionLazy 166 167 +0.6% 0.99x
DropWhileAnySeqCRangeIter 16052 16043 -0.1% 1.00x (?)
DropWhileAnySeqCRangeIterLazy 166 167 +0.6% 0.99x
DropWhileAnySeqCntRange 117 117 +0.0% 1.00x
DropWhileAnySeqCntRangeLazy 167 166 -0.6% 1.01x
DropWhileAnySequence 5916 5921 +0.1% 1.00x (?)
DropWhileAnySequenceLazy 1857 1856 -0.1% 1.00x (?)
DropWhileArrayLazy 129 129 +0.0% 1.00x
DropWhileCountableRange 36 36 +0.0% 1.00x
DropWhileCountableRangeLazy 111 111 +0.0% 1.00x
DropWhileSequence 1343 1343 +0.0% 1.00x
DropWhileSequenceLazy 88 88 +0.0% 1.00x
EqualStringSubstring 49 48 -2.0% 1.02x
EqualSubstringString 50 48 -4.0% 1.04x
EqualSubstringSubstring 51 49 -3.9% 1.04x
EqualSubstringSubstringGenericEquatable 48 48 +0.0% 1.00x
ErrorHandling 2305 2305 +0.0% 1.00x
ExclusivityGlobal 5 5 +0.0% 1.00x
ExclusivityIndependent 2 2 +0.0% 1.00x
FilterEvenUsingReduce 1323 1325 +0.2% 1.00x (?)
FilterEvenUsingReduceInto 150 154 +2.7% 0.97x (?)
FrequenciesUsingReduce 6643 6610 -0.5% 1.00x (?)
FrequenciesUsingReduceInto 3113 3097 -0.5% 1.01x (?)
Hanoi 3377 3537 +4.7% 0.95x
HashTest 1771 1767 -0.2% 1.00x (?)
Histogram 330 327 -0.9% 1.01x
Integrate 335 342 +2.1% 0.98x
IterateData 1349 1345 -0.3% 1.00x (?)
Join 372 374 +0.5% 0.99x
LazilyFilteredArrayContains 37479 36675 -2.1% 1.02x
LazilyFilteredArrays 67169 65461 -2.5% 1.03x (?)
LazilyFilteredRange 3936 3828 -2.7% 1.03x
LessSubstringSubstring 48 48 +0.0% 1.00x
LessSubstringSubstringGenericComparable 48 48 +0.0% 1.00x
LinkedList 7522 7560 +0.5% 0.99x
LuhnAlgoEager 608 611 +0.5% 1.00x
LuhnAlgoLazy 610 610 +0.0% 1.00x
MapReduceAnyCollection 429 447 +4.2% 0.96x
MapReduceAnyCollectionShort 2261 2286 +1.1% 0.99x
MapReduceClass 3019 3078 +2.0% 0.98x (?)
MapReduceClassShort 4577 4661 +1.8% 0.98x
MapReduceLazyCollection 13 13 +0.0% 1.00x
MapReduceLazySequence 86 86 +0.0% 1.00x
MapReduceSequence 466 470 +0.9% 0.99x (?)
MapReduceShort 2046 2087 +2.0% 0.98x
MapReduceShortString 21 22 +4.8% 0.95x (?)
MapReduceString 84 83 -1.2% 1.01x
Memset 218 219 +0.5% 1.00x (?)
MonteCarloE 10331 10357 +0.3% 1.00x
MonteCarloPi 42683 42920 +0.6% 0.99x
NSDictionaryCastToSwift 5500 5495 -0.1% 1.00x (?)
NSError 302 302 +0.0% 1.00x
NSStringConversion 290 297 +2.4% 0.98x
NibbleSort 3711 3691 -0.5% 1.01x
ObjectAllocation 184 184 +0.0% 1.00x
ObjectiveCBridgeFromNSArrayAnyObject 20825 20082 -3.6% 1.04x (?)
ObjectiveCBridgeFromNSArrayAnyObjectForced 4346 4313 -0.8% 1.01x (?)
ObjectiveCBridgeFromNSArrayAnyObjectToString 38072 39300 +3.2% 0.97x (?)
ObjectiveCBridgeFromNSArrayAnyObjectToStringForced 36693 35081 -4.4% 1.05x (?)
ObjectiveCBridgeFromNSDictionaryAnyObject 123122 125538 +2.0% 0.98x (?)
ObjectiveCBridgeFromNSSetAnyObject 59100 60131 +1.7% 0.98x (?)
ObjectiveCBridgeFromNSSetAnyObjectToString 73102 71412 -2.3% 1.02x (?)
ObjectiveCBridgeFromNSString 1334 1323 -0.8% 1.01x (?)
ObjectiveCBridgeFromNSStringForced 2460 2578 +4.8% 0.95x (?)
ObjectiveCBridgeStubDataAppend 3988 3916 -1.8% 1.02x (?)
ObjectiveCBridgeStubDateMutation 257 257 +0.0% 1.00x
ObjectiveCBridgeStubFromArrayOfNSString 29034 29236 +0.7% 0.99x (?)
ObjectiveCBridgeStubFromNSDate 4130 4079 -1.2% 1.01x
ObjectiveCBridgeStubFromNSString 858 863 +0.6% 0.99x
ObjectiveCBridgeStubFromNSStringRef 161 158 -1.9% 1.02x (?)
ObjectiveCBridgeStubNSDataAppend 2609 2577 -1.2% 1.01x (?)
ObjectiveCBridgeStubNSDateMutationRef 13680 13125 -4.1% 1.04x (?)
ObjectiveCBridgeStubToArrayOfNSString 29475 29276 -0.7% 1.01x (?)
ObjectiveCBridgeStubToNSDate 15630 16033 +2.6% 0.97x (?)
ObjectiveCBridgeStubToNSDateRef 3452 3441 -0.3% 1.00x (?)
ObjectiveCBridgeStubToNSString 1526 1516 -0.7% 1.01x
ObjectiveCBridgeStubToNSStringRef 115 115 +0.0% 1.00x
ObjectiveCBridgeStubURLAppendPath 331951 331729 -0.1% 1.00x (?)
ObjectiveCBridgeStubURLAppendPathRef 328576 325967 -0.8% 1.01x (?)
ObjectiveCBridgeToNSArray 28988 29476 +1.7% 0.98x (?)
ObjectiveCBridgeToNSDictionary 51104 51498 +0.8% 0.99x (?)
ObjectiveCBridgeToNSSet 42080 41485 -1.4% 1.01x (?)
ObjectiveCBridgeToNSString 1294 1293 -0.1% 1.00x (?)
ObserverClosure 2163 2166 +0.1% 1.00x (?)
ObserverForwarderStruct 992 1000 +0.8% 0.99x (?)
ObserverPartiallyAppliedMethod 3745 3742 -0.1% 1.00x (?)
ObserverUnappliedMethod 2375 2377 +0.1% 1.00x (?)
OpenClose 123 123 +0.0% 1.00x
PartialApplyDynamicType 0 0 +0.0% 1.00x
Phonebook 3836 3821 -0.4% 1.00x
PolymorphicCalls 25 25 +0.0% 1.00x
PopFrontArray 1947 1952 +0.3% 1.00x (?)
PopFrontArrayGeneric 1961 1976 +0.8% 0.99x (?)
PopFrontUnsafePointer 8992 9456 +5.2% 0.95x (?)
PrefixAnyCollection 101 102 +1.0% 0.99x
PrefixAnyCollectionLazy 68596 67392 -1.8% 1.02x (?)
PrefixAnySeqCRangeIter 15545 15428 -0.8% 1.01x
PrefixAnySeqCRangeIterLazy 15438 15423 -0.1% 1.00x (?)
PrefixAnySeqCntRange 94 94 +0.0% 1.00x
PrefixAnySeqCntRangeLazy 94 94 +0.0% 1.00x
PrefixAnySequence 4558 4552 -0.1% 1.00x (?)
PrefixAnySequenceLazy 4689 4682 -0.1% 1.00x (?)
PrefixArray 35 35 +0.0% 1.00x
PrefixArrayLazy 35 35 +0.0% 1.00x
PrefixCountableRange 35 35 +0.0% 1.00x
PrefixCountableRangeLazy 35 35 +0.0% 1.00x
PrefixSequence 1325 1327 +0.2% 1.00x (?)
PrefixSequenceLazy 1413 1414 +0.1% 1.00x (?)
PrefixWhileAnyCollection 172 172 +0.0% 1.00x
PrefixWhileAnyCollectionLazy 108 108 +0.0% 1.00x
PrefixWhileAnySeqCRangeIter 9952 10057 +1.1% 0.99x (?)
PrefixWhileAnySeqCRangeIterLazy 90 90 +0.0% 1.00x
PrefixWhileAnySeqCntRange 164 165 +0.6% 0.99x (?)
PrefixWhileAnySeqCntRangeLazy 108 108 +0.0% 1.00x
PrefixWhileAnySequence 11068 11057 -0.1% 1.00x (?)
PrefixWhileAnySequenceLazy 1393 1393 +0.0% 1.00x
PrefixWhileArrayLazy 70 70 +0.0% 1.00x
PrefixWhileCountableRangeLazy 35 35 +0.0% 1.00x
PrefixWhileSequence 387 398 +2.8% 0.97x
PrefixWhileSequenceLazy 52 52 +0.0% 1.00x
Prims 759 760 +0.1% 1.00x (?)
PrimsSplit 764 762 -0.3% 1.00x (?)
QueueConcrete 1308 1309 +0.1% 1.00x (?)
QueueGeneric 1157 1156 -0.1% 1.00x (?)
RC4 170 175 +2.9% 0.97x
RGBHistogram 2207 2209 +0.1% 1.00x (?)
RGBHistogramOfObjects 23671 23581 -0.4% 1.00x (?)
RangeAssignment 355 368 +3.7% 0.96x
RangeIterationSigned64 200 200 +0.0% 1.00x
RangeIterationUnsigned 200 200 +0.0% 1.00x
RangeReplaceableCollectionPlusDefault 998 979 -1.9% 1.02x (?)
RecursiveOwnedParameter 2347 2324 -1.0% 1.01x
RemoveWhereFilterInts 45 45 +0.0% 1.00x
RemoveWhereFilterString 297 300 +1.0% 0.99x
RemoveWhereFilterStrings 432 432 +0.0% 1.00x
RemoveWhereMoveInts 17 17 +0.0% 1.00x
RemoveWhereMoveStrings 519 520 +0.2% 1.00x
RemoveWhereQuadraticInts 1285 1288 +0.2% 1.00x (?)
RemoveWhereQuadraticString 206 204 -1.0% 1.01x (?)
RemoveWhereQuadraticStrings 2758 2755 -0.1% 1.00x (?)
RemoveWhereSwapInts 19 19 +0.0% 1.00x
RemoveWhereSwapStrings 850 851 +0.1% 1.00x
ReversedArray 57 57 +0.0% 1.00x
ReversedBidirectional 17474 17427 -0.3% 1.00x (?)
ReversedDictionary 134 135 +0.7% 0.99x (?)
RomanNumbers 119812 120500 +0.6% 0.99x (?)
SequenceAlgosAnySequence 10744 10773 +0.3% 1.00x (?)
SequenceAlgosArray 1564 1580 +1.0% 0.99x (?)
SequenceAlgosContiguousArray 1578 1579 +0.1% 1.00x (?)
SequenceAlgosList 1353 1354 +0.1% 1.00x (?)
SequenceAlgosRange 4294 4300 +0.1% 1.00x (?)
SequenceAlgosUnfoldSequence 1077 1079 +0.2% 1.00x
SetExclusiveOr 3481 3513 +0.9% 0.99x
SetExclusiveOr_OfObjects 8885 8789 -1.1% 1.01x
SetIntersect 321 320 -0.3% 1.00x
SetIntersect_OfObjects 1772 1771 -0.1% 1.00x
SetIsSubsetOf 299 299 +0.0% 1.00x
SetIsSubsetOf_OfObjects 363 364 +0.3% 1.00x
SetUnion 3152 3239 +2.8% 0.97x (?)
SetUnion_OfObjects 7299 7350 +0.7% 0.99x (?)
SevenBoom 1506 1528 +1.5% 0.99x (?)
SortLargeExistentials 6701 6819 +1.8% 0.98x
SortLettersInPlace 1126 1126 +0.0% 1.00x
SortSortedStrings 1013 974 -3.8% 1.04x
SortStrings 1814 1743 -3.9% 1.04x
SortStringsUnicode 2521 2459 -2.5% 1.03x
StackPromo 21939 21977 +0.2% 1.00x
StaticArray 10 10 +0.0% 1.00x
StrComplexWalk 1558 1563 +0.3% 1.00x
StrToInt 2110 2157 +2.2% 0.98x
StringAdder 4197 4241 +1.0% 0.99x (?)
StringBuilder 1395 1393 -0.1% 1.00x (?)
StringComparison_abnormal 742 740 -0.3% 1.00x (?)
StringComparison_ascii 992 1007 +1.5% 0.99x
StringComparison_emoji 798 801 +0.4% 1.00x (?)
StringComparison_fastPrenormal 718 716 -0.3% 1.00x (?)
StringComparison_latin1 549 573 +4.4% 0.96x
StringComparison_longSharedPrefix 902 893 -1.0% 1.01x
StringComparison_nonBMPSlowestPrenormal 1579 1556 -1.5% 1.01x
StringComparison_slowerPrenormal 1679 1693 +0.8% 0.99x
StringComparison_zalgo 113925 114044 +0.1% 1.00x (?)
StringEdits 118901 117705 -1.0% 1.01x (?)
StringEnumRawValueInitialization 982 982 +0.0% 1.00x
StringFromLongWholeSubstring 21 21 +0.0% 1.00x
StringFromLongWholeSubstringGeneric 10 10 +0.0% 1.00x
StringHasPrefixAscii 1288 1318 +2.3% 0.98x
StringHasPrefixUnicode 27665 27618 -0.2% 1.00x (?)
StringHasSuffixAscii 1433 1431 -0.1% 1.00x (?)
StringHasSuffixUnicode 84431 84866 +0.5% 0.99x (?)
StringInterpolation 10760 10746 -0.1% 1.00x (?)
StringMatch 7350 7592 +3.3% 0.97x
StringRemoveDupes 1206 1199 -0.6% 1.01x (?)
StringUTF16Builder 2381 2385 +0.2% 1.00x (?)
StringWalk 1429 1455 +1.8% 0.98x
StringWithCString 42617 44768 +5.0% 0.95x
StringWordBuilder 1699 1759 +3.5% 0.97x
StringWordBuilderReservingCapacity 1273 1303 +2.4% 0.98x
SubstringEqualString 530 530 +0.0% 1.00x
SubstringEquatable 1332 1335 +0.2% 1.00x (?)
SubstringFromLongString 10 10 +0.0% 1.00x
SubstringFromLongStringGeneric 69 69 +0.0% 1.00x
SuffixAnyCollection 43 43 +0.0% 1.00x
SuffixAnyCollectionLazy 22345 22403 +0.3% 1.00x (?)
SuffixAnySeqCRangeIter 4190 4128 -1.5% 1.02x (?)
SuffixAnySeqCRangeIterLazy 4199 4216 +0.4% 1.00x
SuffixAnySeqCntRange 35 35 +0.0% 1.00x
SuffixAnySeqCntRangeLazy 35 35 +0.0% 1.00x
SuffixAnySequence 5292 5260 -0.6% 1.01x (?)
SuffixAnySequenceLazy 5430 5380 -0.9% 1.01x
SuffixSequence 3930 3953 +0.6% 0.99x
SuffixSequenceLazy 3912 3954 +1.1% 0.99x
SumUsingReduce 96 97 +1.0% 0.99x
SumUsingReduceInto 96 97 +1.0% 0.99x
SuperChars 41693 42148 +1.1% 0.99x (?)
TwoSum 1028 1030 +0.2% 1.00x
TypeFlood 0 0 +0.0% 1.00x
UTF8Decode 327 317 -3.1% 1.03x
Walsh 418 428 +2.4% 0.98x
WordCountHistogramASCII 7271 7404 +1.8% 0.98x
WordCountHistogramUTF16 25719 25973 +1.0% 0.99x (?)
WordCountUniqueASCII 1827 1834 +0.4% 1.00x (?)
WordSplitASCII 21451 21586 +0.6% 0.99x (?)
WordSplitUTF16 23288 23447 +0.7% 0.99x (?)
XorLoop 395 395 +0.0% 1.00x
Added (3)
TEST MIN MAX MEAN MAX_RSS
BinaryFloatingPointPropertiesBinade 103 104 103 7458816
BinaryFloatingPointPropertiesNextUp 134 135 134 7434240
BinaryFloatingPointPropertiesUlp 77 77 77 7475200

Unoptimized (Onone)

Regression (9)
TEST OLD NEW DELTA SPEEDUP
CharIndexing_japanese_unicodeScalars 440819 503180 +14.1% 0.88x (?)
NSDictionaryCastToSwift 6723 7440 +10.7% 0.90x
CharIndexing_korean_unicodeScalars_Backwards 426022 464216 +9.0% 0.92x (?)
CharIndexing_tweet_unicodeScalars 726830 790453 +8.8% 0.92x (?)
FrequenciesUsingReduceInto 5337 5761 +7.9% 0.93x
ObjectiveCBridgeStubDateMutation 631 678 +7.4% 0.93x
SuffixAnyCollectionLazy 34221 36627 +7.0% 0.93x (?)
PopFrontUnsafePointer 10653 11357 +6.6% 0.94x (?)
ObjectiveCBridgeFromNSSetAnyObjectToString 73017 76950 +5.4% 0.95x (?)
Improvement (11)
TEST OLD NEW DELTA SPEEDUP
WordCountUniqueUTF16 31185 28054 -10.0% 1.11x (?)
ErrorHandling 7496 6813 -9.1% 1.10x
CharIndexing_ascii_unicodeScalars 395731 369058 -6.7% 1.07x (?)
ObjectiveCBridgeFromNSSetAnyObject 70394 65669 -6.7% 1.07x
ObjectiveCBridgeFromNSStringForced 3129 2930 -6.4% 1.07x (?)
CharIndexing_korean_unicodeScalars 402758 378593 -6.0% 1.06x (?)
CharIndexing_utf16_unicodeScalars_Backwards 375354 355009 -5.4% 1.06x (?)
PrefixWhileArrayLazy 14571 13786 -5.4% 1.06x
StringMatch 35363 33502 -5.3% 1.06x (?)
CharIndexing_russian_unicodeScalars_Backwards 380477 361027 -5.1% 1.05x (?)
ObjectiveCBridgeStubNSDateMutationRef 16265 15440 -5.1% 1.05x (?)
No Changes (358)
TEST OLD NEW DELTA SPEEDUP
AngryPhonebook 5147 5170 +0.4% 1.00x (?)
AnyHashableWithAClass 90227 90302 +0.1% 1.00x (?)
Array2D 634682 645540 +1.7% 0.98x
ArrayAppend 4560 4677 +2.6% 0.97x
ArrayAppendArrayOfInt 867 866 -0.1% 1.00x (?)
ArrayAppendAscii 41134 40848 -0.7% 1.01x (?)
ArrayAppendFromGeneric 872 871 -0.1% 1.00x (?)
ArrayAppendGenericStructs 1510 1506 -0.3% 1.00x (?)
ArrayAppendLatin1 64941 65168 +0.3% 1.00x (?)
ArrayAppendLazyMap 176718 175891 -0.5% 1.00x
ArrayAppendOptionals 1509 1506 -0.2% 1.00x (?)
ArrayAppendRepeatCol 184528 190801 +3.4% 0.97x
ArrayAppendReserved 4280 4280 +0.0% 1.00x
ArrayAppendSequence 155397 155925 +0.3% 1.00x
ArrayAppendStrings 15346 15395 +0.3% 1.00x (?)
ArrayAppendToFromGeneric 870 868 -0.2% 1.00x (?)
ArrayAppendToGeneric 877 877 +0.0% 1.00x
ArrayAppendUTF16 65379 65592 +0.3% 1.00x (?)
ArrayInClass 6204 6192 -0.2% 1.00x
ArrayLiteral 1799 1798 -0.1% 1.00x (?)
ArrayOfGenericPOD2 1128 1128 +0.0% 1.00x
ArrayOfGenericRef 10203 10226 +0.2% 1.00x (?)
ArrayOfPOD 756 758 +0.3% 1.00x
ArrayOfRef 9403 9338 -0.7% 1.01x (?)
ArrayPlusEqualArrayOfInt 869 867 -0.2% 1.00x (?)
ArrayPlusEqualFiveElementCollection 240337 239034 -0.5% 1.01x (?)
ArrayPlusEqualSingleElementCollection 237275 238669 +0.6% 0.99x (?)
ArrayPlusEqualThreeElements 9401 9295 -1.1% 1.01x (?)
ArraySubscript 116410 116565 +0.1% 1.00x (?)
ArrayValueProp 3659 3655 -0.1% 1.00x (?)
ArrayValueProp2 16663 16829 +1.0% 0.99x
ArrayValueProp3 4167 4185 +0.4% 1.00x (?)
ArrayValueProp4 4120 4128 +0.2% 1.00x (?)
BinaryFloatingPointConversionFromBinaryInteger 6163 6025 -2.2% 1.02x (?)
BitCount 7884 7881 -0.0% 1.00x (?)
ByteSwap 9222 9201 -0.2% 1.00x (?)
COWTree 11418 11569 +1.3% 0.99x (?)
CSVParsing 2486216 2477617 -0.3% 1.00x (?)
CSVParsingAlt 1326612 1368039 +3.1% 0.97x
CSVParsingAltIndices 2219154 2264253 +2.0% 0.98x (?)
CStringLongAscii 4741 4628 -2.4% 1.02x
CStringLongNonAscii 2115 2112 -0.1% 1.00x (?)
CStringShortAscii 7733 7696 -0.5% 1.00x (?)
Calculator 1463 1458 -0.3% 1.00x
CaptureProp 268358 267517 -0.3% 1.00x
CharIndexing_ascii_unicodeScalars_Backwards 430427 430495 +0.0% 1.00x (?)
CharIndexing_chinese_unicodeScalars 276860 283760 +2.5% 0.98x (?)
CharIndexing_chinese_unicodeScalars_Backwards 347583 337532 -2.9% 1.03x (?)
CharIndexing_japanese_unicodeScalars_Backwards 548575 527135 -3.9% 1.04x (?)
CharIndexing_punctuatedJapanese_unicodeScalars 64003 64661 +1.0% 0.99x (?)
CharIndexing_punctuatedJapanese_unicodeScalars_Backwards 75898 74937 -1.3% 1.01x (?)
CharIndexing_punctuated_unicodeScalars 91319 87653 -4.0% 1.04x (?)
CharIndexing_punctuated_unicodeScalars_Backwards 94693 96819 +2.2% 0.98x (?)
CharIndexing_russian_unicodeScalars 306872 309369 +0.8% 0.99x (?)
CharIndexing_tweet_unicodeScalars_Backwards 873148 857437 -1.8% 1.02x (?)
CharIndexing_utf16_unicodeScalars 311967 312650 +0.2% 1.00x (?)
CharIteration_ascii_unicodeScalars 156891 157273 +0.2% 1.00x (?)
CharIteration_ascii_unicodeScalars_Backwards 305561 307227 +0.5% 0.99x (?)
CharIteration_chinese_unicodeScalars 118629 118132 -0.4% 1.00x
CharIteration_chinese_unicodeScalars_Backwards 229027 229937 +0.4% 1.00x (?)
CharIteration_japanese_unicodeScalars 187709 186531 -0.6% 1.01x
CharIteration_japanese_unicodeScalars_Backwards 363183 364711 +0.4% 1.00x (?)
CharIteration_korean_unicodeScalars 152138 152913 +0.5% 0.99x (?)
CharIteration_korean_unicodeScalars_Backwards 299770 295626 -1.4% 1.01x (?)
CharIteration_punctuatedJapanese_unicodeScalars 28407 29080 +2.4% 0.98x
CharIteration_punctuatedJapanese_unicodeScalars_Backwards 53050 53111 +0.1% 1.00x (?)
CharIteration_punctuated_unicodeScalars 35322 35313 -0.0% 1.00x (?)
CharIteration_punctuated_unicodeScalars_Backwards 66808 67439 +0.9% 0.99x
CharIteration_russian_unicodeScalars 130461 131131 +0.5% 0.99x
CharIteration_russian_unicodeScalars_Backwards 264530 254843 -3.7% 1.04x (?)
CharIteration_tweet_unicodeScalars 310507 307791 -0.9% 1.01x (?)
CharIteration_tweet_unicodeScalars_Backwards 607106 601109 -1.0% 1.01x (?)
CharIteration_utf16_unicodeScalars 132330 131531 -0.6% 1.01x
CharIteration_utf16_unicodeScalars_Backwards 259468 257962 -0.6% 1.01x (?)
CharacterLiteralsLarge 5947 5924 -0.4% 1.00x (?)
CharacterLiteralsSmall 688 688 +0.0% 1.00x
CharacterPropertiesFetch 5507 5477 -0.5% 1.01x (?)
CharacterPropertiesPrecomputed 4420 4380 -0.9% 1.01x (?)
CharacterPropertiesStashed 2315 2346 +1.3% 0.99x (?)
CharacterPropertiesStashedMemo 5117 5291 +3.4% 0.97x (?)
Chars 40699 40692 -0.0% 1.00x (?)
ClassArrayGetter 987 993 +0.6% 0.99x (?)
Combos 2086 2155 +3.3% 0.97x
DictOfArraysToArrayOfDicts 3441 3393 -1.4% 1.01x (?)
Dictionary 2707 2726 +0.7% 0.99x (?)
Dictionary2 2978 2992 +0.5% 1.00x (?)
Dictionary2OfObjects 5705 5713 +0.1% 1.00x (?)
Dictionary3 1373 1367 -0.4% 1.00x (?)
Dictionary3OfObjects 2329 2341 +0.5% 0.99x (?)
Dictionary4 1250 1257 +0.6% 0.99x (?)
Dictionary4OfObjects 1882 1875 -0.4% 1.00x (?)
DictionaryBridge 2153 2086 -3.1% 1.03x (?)
DictionaryGroup 4313 4270 -1.0% 1.01x
DictionaryGroupOfObjects 7424 7482 +0.8% 0.99x (?)
DictionaryLiteral 8787 8781 -0.1% 1.00x (?)
DictionaryOfObjects 6317 6307 -0.2% 1.00x (?)
DictionaryRemove 19331 19438 +0.6% 0.99x
DictionaryRemoveOfObjects 51219 51710 +1.0% 0.99x (?)
DictionarySubscriptDefaultMutation 2063 2074 +0.5% 0.99x (?)
DictionarySubscriptDefaultMutationArray 2319 2313 -0.3% 1.00x (?)
DictionarySubscriptDefaultMutationArrayOfObjects 9178 9201 +0.3% 1.00x (?)
DictionarySubscriptDefaultMutationOfObjects 5647 5659 +0.2% 1.00x (?)
DictionarySwap 5820 5798 -0.4% 1.00x (?)
DictionarySwapOfObjects 22629 23013 +1.7% 0.98x (?)
DoubleWidthDivision 0 0 +0.0% 1.00x
DropFirstAnyCollection 14158 14444 +2.0% 0.98x
DropFirstAnyCollectionLazy 105200 101891 -3.1% 1.03x (?)
DropFirstAnySeqCRangeIter 21991 21947 -0.2% 1.00x (?)
DropFirstAnySeqCRangeIterLazy 21829 22028 +0.9% 0.99x (?)
DropFirstAnySeqCntRange 14119 14397 +2.0% 0.98x
DropFirstAnySeqCntRangeLazy 14182 14422 +1.7% 0.98x
DropFirstAnySequence 11749 11891 +1.2% 0.99x
DropFirstAnySequenceLazy 11700 11722 +0.2% 1.00x (?)
DropFirstArray 4057 4079 +0.5% 0.99x
DropFirstArrayLazy 31968 32578 +1.9% 0.98x (?)
DropFirstCountableRange 326 340 +4.3% 0.96x
DropFirstCountableRangeLazy 27994 27895 -0.4% 1.00x (?)
DropFirstSequence 11340 11413 +0.6% 0.99x
DropFirstSequenceLazy 11491 11421 -0.6% 1.01x
DropLastAnyCollection 4741 4824 +1.8% 0.98x
DropLastAnyCollectionLazy 34641 35616 +2.8% 0.97x (?)
DropLastAnySeqCRangeIter 39015 38730 -0.7% 1.01x (?)
DropLastAnySeqCRangeIterLazy 38814 38618 -0.5% 1.01x
DropLastAnySeqCntRange 4740 4800 +1.3% 0.99x (?)
DropLastAnySeqCntRangeLazy 4732 4806 +1.6% 0.98x
DropLastAnySequence 30008 29968 -0.1% 1.00x
DropLastAnySequenceLazy 30220 30046 -0.6% 1.01x
DropLastCountableRange 112 117 +4.5% 0.96x
DropLastCountableRangeLazy 9363 9348 -0.2% 1.00x (?)
DropLastSequence 29732 29845 +0.4% 1.00x
DropLastSequenceLazy 29790 30024 +0.8% 0.99x
DropWhileAnyCollection 17951 18164 +1.2% 0.99x
DropWhileAnyCollectionLazy 20631 20685 +0.3% 1.00x (?)
DropWhileAnySeqCRangeIter 23231 23425 +0.8% 0.99x (?)
DropWhileAnySeqCRangeIterLazy 21148 20643 -2.4% 1.02x
DropWhileAnySeqCntRange 17964 18158 +1.1% 0.99x
DropWhileAnySeqCntRangeLazy 20749 20618 -0.6% 1.01x
DropWhileAnySequence 13404 13798 +2.9% 0.97x
DropWhileAnySequenceLazy 11413 11490 +0.7% 0.99x
DropWhileArrayLazy 15689 14971 -4.6% 1.05x
DropWhileCountableRange 4121 4150 +0.7% 0.99x
DropWhileCountableRangeLazy 20209 20342 +0.7% 0.99x (?)
DropWhileSequence 13069 13211 +1.1% 0.99x
DropWhileSequenceLazy 11068 11062 -0.1% 1.00x (?)
EqualStringSubstring 91 92 +1.1% 0.99x
EqualSubstringString 92 92 +0.0% 1.00x
EqualSubstringSubstring 92 95 +3.3% 0.97x
EqualSubstringSubstringGenericEquatable 96 95 -1.0% 1.01x
ExclusivityGlobal 180 180 +0.0% 1.00x
ExclusivityIndependent 68 67 -1.5% 1.01x (?)
FilterEvenUsingReduce 3664 3692 +0.8% 0.99x (?)
FilterEvenUsingReduceInto 1970 1975 +0.3% 1.00x (?)
FrequenciesUsingReduce 10546 10307 -2.3% 1.02x (?)
Hanoi 20214 20080 -0.7% 1.01x (?)
HashTest 21491 21653 +0.8% 0.99x (?)
Histogram 6847 6854 +0.1% 1.00x (?)
Integrate 803 800 -0.4% 1.00x
IterateData 6047 6046 -0.0% 1.00x (?)
Join 1149 1126 -2.0% 1.02x
LazilyFilteredArrayContains 813038 808773 -0.5% 1.01x
LazilyFilteredArrays 1486773 1481157 -0.4% 1.00x (?)
LazilyFilteredRange 485646 483008 -0.5% 1.01x (?)
LessSubstringSubstring 92 94 +2.2% 0.98x
LessSubstringSubstringGenericComparable 97 96 -1.0% 1.01x
LinkedList 32024 32023 -0.0% 1.00x (?)
LuhnAlgoEager 5009 4853 -3.1% 1.03x (?)
LuhnAlgoLazy 5042 4898 -2.9% 1.03x (?)
MapReduce 26364 26234 -0.5% 1.00x
MapReduceAnyCollection 25966 26175 +0.8% 0.99x (?)
MapReduceAnyCollectionShort 38009 37804 -0.5% 1.01x (?)
MapReduceClass 30793 30391 -1.3% 1.01x
MapReduceClassShort 42218 42422 +0.5% 1.00x (?)
MapReduceLazyCollection 23488 23443 -0.2% 1.00x (?)
MapReduceLazyCollectionShort 34917 34272 -1.8% 1.02x (?)
MapReduceLazySequence 18976 19272 +1.6% 0.98x
MapReduceSequence 30304 30747 +1.5% 0.99x
MapReduceShort 38109 38322 +0.6% 0.99x (?)
MapReduceShortString 236 237 +0.4% 1.00x (?)
MapReduceString 1826 1835 +0.5% 1.00x (?)
Memset 44730 44768 +0.1% 1.00x (?)
MonteCarloE 1243837 1245406 +0.1% 1.00x (?)
MonteCarloPi 5642611 5642501 -0.0% 1.00x (?)
NSError 723 735 +1.7% 0.98x (?)
NSStringConversion 335 332 -0.9% 1.01x (?)
NibbleSort 435213 433565 -0.4% 1.00x (?)
NopDeinit 165723 163710 -1.2% 1.01x
ObjectAllocation 1371 1375 +0.3% 1.00x (?)
ObjectiveCBridgeFromNSArrayAnyObject 24492 23660 -3.4% 1.04x (?)
ObjectiveCBridgeFromNSArrayAnyObjectForced 8537 8705 +2.0% 0.98x (?)
ObjectiveCBridgeFromNSArrayAnyObjectToString 41001 40610 -1.0% 1.01x (?)
ObjectiveCBridgeFromNSArrayAnyObjectToStringForced 38555 37064 -3.9% 1.04x
ObjectiveCBridgeFromNSDictionaryAnyObject 126553 130956 +3.5% 0.97x (?)
ObjectiveCBridgeFromNSSetAnyObjectForced 6898 6758 -2.0% 1.02x (?)
ObjectiveCBridgeFromNSString 3151 3157 +0.2% 1.00x (?)
ObjectiveCBridgeStubDataAppend 4363 4559 +4.5% 0.96x (?)
ObjectiveCBridgeStubFromArrayOfNSString 27439 28374 +3.4% 0.97x (?)
ObjectiveCBridgeStubFromNSDate 4797 4858 +1.3% 0.99x (?)
ObjectiveCBridgeStubFromNSString 916 914 -0.2% 1.00x (?)
ObjectiveCBridgeStubFromNSStringRef 199 199 +0.0% 1.00x
ObjectiveCBridgeStubNSDataAppend 2963 2952 -0.4% 1.00x (?)
ObjectiveCBridgeStubToArrayOfNSString 29394 28988 -1.4% 1.01x (?)
ObjectiveCBridgeStubToNSDate 15824 16154 +2.1% 0.98x (?)
ObjectiveCBridgeStubToNSDateRef 3430 3484 +1.6% 0.98x
ObjectiveCBridgeStubToNSString 1582 1588 +0.4% 1.00x
ObjectiveCBridgeStubToNSStringRef 153 156 +2.0% 0.98x (?)
ObjectiveCBridgeStubURLAppendPath 343358 329637 -4.0% 1.04x (?)
ObjectiveCBridgeStubURLAppendPathRef 350216 341045 -2.6% 1.03x (?)
ObjectiveCBridgeToNSArray 29818 29548 -0.9% 1.01x (?)
ObjectiveCBridgeToNSDictionary 52447 52211 -0.4% 1.00x (?)
ObjectiveCBridgeToNSSet 41398 43038 +4.0% 0.96x
ObjectiveCBridgeToNSString 1359 1343 -1.2% 1.01x
ObserverClosure 6347 6401 +0.9% 0.99x
ObserverForwarderStruct 4479 4470 -0.2% 1.00x
ObserverPartiallyAppliedMethod 7960 7982 +0.3% 1.00x (?)
ObserverUnappliedMethod 8054 8119 +0.8% 0.99x (?)
OpenClose 553 543 -1.8% 1.02x
PartialApplyDynamicType 41243 41164 -0.2% 1.00x (?)
Phonebook 19944 19899 -0.2% 1.00x
PointerArithmetics 120223 120252 +0.0% 1.00x (?)
PolymorphicCalls 5929 6141 +3.6% 0.97x (?)
PopFrontArray 4693 4692 -0.0% 1.00x (?)
PopFrontArrayGeneric 5765 5893 +2.2% 0.98x
PrefixAnyCollection 14139 14431 +2.1% 0.98x
PrefixAnyCollectionLazy 104223 102842 -1.3% 1.01x (?)
PrefixAnySeqCRangeIter 17738 17664 -0.4% 1.00x (?)
PrefixAnySeqCRangeIterLazy 17497 17522 +0.1% 1.00x (?)
PrefixAnySeqCntRange 14127 14360 +1.6% 0.98x
PrefixAnySeqCntRangeLazy 14213 14400 +1.3% 0.99x
PrefixAnySequence 9749 9812 +0.6% 0.99x
PrefixAnySequenceLazy 9757 9832 +0.8% 0.99x (?)
PrefixArray 4062 4080 +0.4% 1.00x
PrefixArrayLazy 32415 32748 +1.0% 0.99x
PrefixCountableRange 325 340 +4.6% 0.96x
PrefixCountableRangeLazy 28254 28034 -0.8% 1.01x (?)
PrefixSequence 9547 9605 +0.6% 0.99x
PrefixSequenceLazy 9523 9574 +0.5% 0.99x (?)
PrefixWhileAnyCollection 25562 25780 +0.9% 0.99x
PrefixWhileAnyCollectionLazy 17335 17358 +0.1% 1.00x (?)
PrefixWhileAnySeqCRangeIter 33970 33791 -0.5% 1.01x (?)
PrefixWhileAnySeqCRangeIterLazy 17372 17386 +0.1% 1.00x (?)
PrefixWhileAnySeqCntRange 25548 25707 +0.6% 0.99x
PrefixWhileAnySeqCntRangeLazy 17238 17163 -0.4% 1.00x (?)
PrefixWhileAnySequence 27097 26972 -0.5% 1.00x (?)
PrefixWhileAnySequenceLazy 10363 10411 +0.5% 1.00x
PrefixWhileArray 10934 10991 +0.5% 0.99x (?)
PrefixWhileCountableRange 11700 11660 -0.3% 1.00x
PrefixWhileCountableRangeLazy 17410 17412 +0.0% 1.00x (?)
PrefixWhileSequence 26788 26946 +0.6% 0.99x (?)
PrefixWhileSequenceLazy 10108 10180 +0.7% 0.99x
Prims 9858 9755 -1.0% 1.01x
PrimsSplit 9627 9686 +0.6% 0.99x (?)
QueueConcrete 15329 15353 +0.2% 1.00x (?)
QueueGeneric 19519 19602 +0.4% 1.00x
RC4 16862 16574 -1.7% 1.02x
RGBHistogram 26274 26436 +0.6% 0.99x
RGBHistogramOfObjects 96720 96035 -0.7% 1.01x (?)
RangeAssignment 2202 2202 +0.0% 1.00x
RangeIterationSigned 16594 16760 +1.0% 0.99x
RangeIterationSigned64 39363 40043 +1.7% 0.98x (?)
RangeIterationUnsigned 35640 35442 -0.6% 1.01x
RangeReplaceableCollectionPlusDefault 8344 8248 -1.2% 1.01x (?)
RecursiveOwnedParameter 7916 8045 +1.6% 0.98x (?)
RemoveWhereFilterInts 2125 2122 -0.1% 1.00x (?)
RemoveWhereFilterString 1525 1522 -0.2% 1.00x (?)
RemoveWhereFilterStrings 2990 2992 +0.1% 1.00x (?)
RemoveWhereMoveInts 3375 3349 -0.8% 1.01x
RemoveWhereMoveStrings 4051 4045 -0.1% 1.00x (?)
RemoveWhereQuadraticInts 7885 7862 -0.3% 1.00x
RemoveWhereQuadraticString 2366 2354 -0.5% 1.01x
RemoveWhereQuadraticStrings 9544 9501 -0.5% 1.00x
RemoveWhereSwapInts 6037 6013 -0.4% 1.00x
RemoveWhereSwapStrings 6719 6703 -0.2% 1.00x
ReversedArray 13723 13664 -0.4% 1.00x (?)
ReversedBidirectional 44170 44019 -0.3% 1.00x (?)
ReversedDictionary 23513 23476 -0.2% 1.00x (?)
RomanNumbers 1365580 1367801 +0.2% 1.00x (?)
SequenceAlgosAnySequence 11713 11524 -1.6% 1.02x
SequenceAlgosArray 802934 804507 +0.2% 1.00x
SequenceAlgosContiguousArray 351867 341984 -2.8% 1.03x
SequenceAlgosList 8286 8344 +0.7% 0.99x (?)
SequenceAlgosRange 1142214 1120106 -1.9% 1.02x
SequenceAlgosUnfoldSequence 5999 6006 +0.1% 1.00x
SetExclusiveOr 18119 18081 -0.2% 1.00x (?)
SetExclusiveOr_OfObjects 42488 42232 -0.6% 1.01x (?)
SetIntersect 9507 9366 -1.5% 1.02x
SetIntersect_OfObjects 12743 12904 +1.3% 0.99x
SetIsSubsetOf 1453 1470 +1.2% 0.99x (?)
SetIsSubsetOf_OfObjects 1651 1638 -0.8% 1.01x
SetUnion 12286 12334 +0.4% 1.00x (?)
SetUnion_OfObjects 29525 30263 +2.5% 0.98x
SevenBoom 1653 1631 -1.3% 1.01x (?)
Sim2DArray 43658 43594 -0.1% 1.00x (?)
SortLargeExistentials 15337 15425 +0.6% 0.99x (?)
SortLettersInPlace 2661 2699 +1.4% 0.99x (?)
SortSortedStrings 1022 1029 +0.7% 0.99x
SortStrings 2040 2043 +0.1% 1.00x (?)
SortStringsUnicode 2806 2732 -2.6% 1.03x
StackPromo 91029 90998 -0.0% 1.00x (?)
StaticArray 2640 2649 +0.3% 1.00x (?)
StrComplexWalk 6443 6437 -0.1% 1.00x (?)
StrToInt 58156 58331 +0.3% 1.00x (?)
StringAdder 4705 4702 -0.1% 1.00x (?)
StringBuilder 6893 6899 +0.1% 1.00x (?)
StringBuilderLong 2692 2698 +0.2% 1.00x (?)
StringComparison_abnormal 1358 1330 -2.1% 1.02x (?)
StringComparison_ascii 9777 9793 +0.2% 1.00x
StringComparison_emoji 2192 2122 -3.2% 1.03x
StringComparison_fastPrenormal 5344 5339 -0.1% 1.00x
StringComparison_latin1 4167 4158 -0.2% 1.00x
StringComparison_longSharedPrefix 2518 2515 -0.1% 1.00x
StringComparison_nonBMPSlowestPrenormal 3906 3894 -0.3% 1.00x
StringComparison_slowerPrenormal 4408 4405 -0.1% 1.00x (?)
StringComparison_zalgo 116594 116356 -0.2% 1.00x (?)
StringEdits 353307 339107 -4.0% 1.04x (?)
StringEnumRawValueInitialization 18014 18067 +0.3% 1.00x (?)
StringEqualPointerComparison 3430 3445 +0.4% 1.00x
StringFromLongWholeSubstring 22 22 +0.0% 1.00x
StringFromLongWholeSubstringGeneric 201 200 -0.5% 1.00x (?)
StringHasPrefixAscii 3059 3149 +2.9% 0.97x
StringHasPrefixUnicode 29293 29343 +0.2% 1.00x (?)
StringHasSuffixAscii 3172 3180 +0.3% 1.00x (?)
StringHasSuffixUnicode 86438 86115 -0.4% 1.00x (?)
StringInterpolation 13526 12938 -4.3% 1.05x (?)
StringRemoveDupes 1422 1439 +1.2% 0.99x (?)
StringUTF16Builder 7791 7717 -0.9% 1.01x (?)
StringWalk 12743 12753 +0.1% 1.00x (?)
StringWithCString 37639 37571 -0.2% 1.00x (?)
StringWordBuilder 2520 2520 +0.0% 1.00x
StringWordBuilderReservingCapacity 2169 2167 -0.1% 1.00x (?)
SubstringComparable 2136 2156 +0.9% 0.99x
SubstringEqualString 1932 1915 -0.9% 1.01x
SubstringEquatable 6180 6106 -1.2% 1.01x
SubstringFromLongString 24 24 +0.0% 1.00x
SubstringFromLongStringGeneric 103 102 -1.0% 1.01x
SuffixAnyCollection 4744 4840 +2.0% 0.98x
SuffixAnySeqCRangeIter 34558 34478 -0.2% 1.00x (?)
SuffixAnySeqCRangeIterLazy 34620 34324 -0.9% 1.01x
SuffixAnySeqCntRange 4729 4802 +1.5% 0.98x
SuffixAnySeqCntRangeLazy 4733 4798 +1.4% 0.99x
SuffixAnySequence 25633 25772 +0.5% 0.99x
SuffixAnySequenceLazy 25592 25660 +0.3% 1.00x (?)
SuffixCountableRange 112 117 +4.5% 0.96x
SuffixCountableRangeLazy 9451 9393 -0.6% 1.01x (?)
SuffixSequence 25767 25681 -0.3% 1.00x (?)
SuffixSequenceLazy 25770 25780 +0.0% 1.00x (?)
SumUsingReduce 184741 176195 -4.6% 1.05x
SumUsingReduceInto 163692 164256 +0.3% 1.00x
SuperChars 125384 127136 +1.4% 0.99x
TwoSum 4286 4266 -0.5% 1.00x (?)
TypeFlood 161 160 -0.6% 1.01x (?)
UTF8Decode 31067 31434 +1.2% 0.99x (?)
Walsh 12127 12020 -0.9% 1.01x
WordCountHistogramASCII 52567 52746 +0.3% 1.00x (?)
WordCountHistogramUTF16 74166 72974 -1.6% 1.02x (?)
WordCountUniqueASCII 8209 8232 +0.3% 1.00x (?)
WordSplitASCII 25727 26666 +3.6% 0.96x
WordSplitUTF16 27686 27669 -0.1% 1.00x (?)
XorLoop 23421 23396 -0.1% 1.00x (?)
Added (3)
TEST MIN MAX MEAN MAX_RSS
BinaryFloatingPointPropertiesBinade 85 86 86 7901184
BinaryFloatingPointPropertiesNextUp 146 147 146 7898453
BinaryFloatingPointPropertiesUlp 149 149 149 7897088
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

@xwu
Copy link
Collaborator Author

xwu commented Mar 6, 2018

@swift-ci Please smoke test and merge

@swift-ci swift-ci merged commit 8ace7b8 into swiftlang:master Mar 6, 2018
@xwu xwu deleted the benchmark-fp-properties branch March 6, 2018 02:22
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.

3 participants