Skip to content

[func-sig-opts] Add a regression benchmark that shows overhead from +… #16828

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

gottesmm
Copy link
Contributor

…1->+0 without a corresponding +0->+1 optimization.

rdar://38196046

…1->+0 without a corresponding +0->+1 optimization.

rdar://38196046
@gottesmm
Copy link
Contributor Author

@eeckstein

@gottesmm
Copy link
Contributor Author

@swift-ci smoke test

@gottesmm
Copy link
Contributor Author

@swift-ci smoke benchmark

@swift-ci
Copy link
Contributor

Build comment file:

Optimized (O)

Regression (32)
TEST OLD NEW DELTA SPEEDUP
Sim2DArray 420 600 +42.9% 0.70x
RangeIterationSigned 171 200 +17.0% 0.86x
ChainedFilterMap 1255 1420 +13.1% 0.88x
Chars 1093 1218 +11.4% 0.90x
SuffixCountableRange 11 12 +9.1% 0.92x
DropLastCountableRange 11 12 +9.1% 0.92x
CharIteration_utf16_unicodeScalars_Backwards 17874 19418 +8.6% 0.92x
DataAppendDataSmallToSmall 7138 7747 +8.5% 0.92x (?)
PopFrontArray 1814 1963 +8.2% 0.92x (?)
ObjectiveCBridgeFromNSSetAnyObject 48663 52660 +8.2% 0.92x (?)
MapReduce 372 400 +7.5% 0.93x
RC4 149 160 +7.4% 0.93x
SuffixAnyCollectionLazy 21047 22570 +7.2% 0.93x
RemoveWhereMoveInts 14 15 +7.1% 0.93x
WordSplitUTF16 8391 8981 +7.0% 0.93x
DictionarySubscriptDefaultMutationArray 624 666 +6.7% 0.94x (?)
DataAppendDataMediumToMedium 7995 8513 +6.5% 0.94x (?)
DataSubscript 237 252 +6.3% 0.94x
DataReplaceMediumBuffer 14920 15821 +6.0% 0.94x (?)
ObjectiveCBridgeStubNSDateMutationRef 13025 13759 +5.6% 0.95x (?)
CharIteration_tweet_unicodeScalars_Backwards 29100 30736 +5.6% 0.95x
CharIteration_korean_unicodeScalars_Backwards 14296 15097 +5.6% 0.95x
CharIteration_russian_unicodeScalars_Backwards 12288 12975 +5.6% 0.95x
CharIteration_japanese_unicodeScalars_Backwards 17651 18629 +5.5% 0.95x
CharIndexing_punctuatedJapanese_unicodeScalars 2961 3125 +5.5% 0.95x
CharIndexing_ascii_unicodeScalars 16294 17193 +5.5% 0.95x
CharIteration_chinese_unicodeScalars_Backwards 11175 11791 +5.5% 0.95x
CharIndexing_russian_unicodeScalars 13584 14324 +5.4% 0.95x
CharIndexing_korean_unicodeScalars 15812 16670 +5.4% 0.95x
CharIndexing_chinese_unicodeScalars 12350 13016 +5.4% 0.95x
RangeAssignment 336 354 +5.4% 0.95x
CharIndexing_japanese_unicodeScalars 19536 20572 +5.3% 0.95x
Improvement (15)
TEST OLD NEW DELTA SPEEDUP
ObjectiveCBridgeStubFromNSString 1228 1011 -17.7% 1.21x
ObjectiveCBridgeStubFromNSDate 7309 6185 -15.4% 1.18x (?)
StringFromLongWholeSubstring 25 22 -12.0% 1.14x
DataAppendBytes 6595 5815 -11.8% 1.13x
ObjectiveCBridgeFromNSArrayAnyObjectForced 5831 5317 -8.8% 1.10x
PopFrontUnsafePointer 9575 8761 -8.5% 1.09x (?)
DropLastCountableRangeLazy 12 11 -8.3% 1.09x
PointerArithmetics 34362 31514 -8.3% 1.09x
PopFrontArrayGeneric 1985 1828 -7.9% 1.09x (?)
DictionarySwapAt 7282 6779 -6.9% 1.07x
NopDeinit 32301 30191 -6.5% 1.07x
MapReduceAnyCollection 430 403 -6.3% 1.07x
MapReduceLazyCollectionShort 36 34 -5.6% 1.06x
DictionaryKeysContainsCocoa 40 38 -5.0% 1.05x (?)
SumUsingReduce 102 97 -4.9% 1.05x
No Changes (389)
TEST OLD NEW DELTA SPEEDUP
AngryPhonebook 3601 3616 +0.4% 1.00x (?)
AnyHashableWithAClass 85578 86556 +1.1% 0.99x
Array2D 2859 2860 +0.0% 1.00x (?)
ArrayAppend 1110 1114 +0.4% 1.00x (?)
ArrayAppendArrayOfInt 798 798 +0.0% 1.00x
ArrayAppendAscii 3958 3973 +0.4% 1.00x (?)
ArrayAppendAsciiSubstring 45882 45787 -0.2% 1.00x
ArrayAppendFromGeneric 796 801 +0.6% 0.99x (?)
ArrayAppendGenericStructs 1422 1429 +0.5% 1.00x (?)
ArrayAppendLatin1 41201 41322 +0.3% 1.00x (?)
ArrayAppendLatin1Substring 194326 194177 -0.1% 1.00x (?)
ArrayAppendLazyMap 1342 1342 +0.0% 1.00x
ArrayAppendOptionals 1407 1430 +1.6% 0.98x
ArrayAppendRepeatCol 1343 1371 +2.1% 0.98x
ArrayAppendReserved 843 845 +0.2% 1.00x
ArrayAppendSequence 1126 1122 -0.4% 1.00x
ArrayAppendStrings 6342 6335 -0.1% 1.00x (?)
ArrayAppendToFromGeneric 797 801 +0.5% 1.00x (?)
ArrayAppendToGeneric 801 801 +0.0% 1.00x
ArrayAppendUTF16 40366 40490 +0.3% 1.00x (?)
ArrayAppendUTF16Substring 196074 195996 -0.0% 1.00x (?)
ArrayInClass 86 86 +0.0% 1.00x
ArrayLiteral 0 0 +0.0% 1.00x
ArrayOfGenericPOD2 149 151 +1.3% 0.99x
ArrayOfGenericRef 4408 4396 -0.3% 1.00x (?)
ArrayOfPOD 184 184 +0.0% 1.00x
ArrayOfRef 4355 4390 +0.8% 0.99x
ArrayPlusEqualArrayOfInt 794 797 +0.4% 1.00x (?)
ArrayPlusEqualFiveElementCollection 5551 5561 +0.2% 1.00x (?)
ArrayPlusEqualSingleElementCollection 1113 1112 -0.1% 1.00x (?)
ArrayPlusEqualThreeElements 1653 1650 -0.2% 1.00x (?)
ArraySubscript 1542 1538 -0.3% 1.00x (?)
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
BinaryFloatingPointPropertiesBinade 25 25 +0.0% 1.00x
BinaryFloatingPointPropertiesNextUp 28 28 +0.0% 1.00x
BinaryFloatingPointPropertiesUlp 35 35 +0.0% 1.00x
BitCount 202 202 +0.0% 1.00x
ByteSwap 106 107 +0.9% 0.99x (?)
COWTree 5468 5412 -1.0% 1.01x (?)
CSVParsing 712790 694673 -2.5% 1.03x
CSVParsingAlt 789193 786444 -0.3% 1.00x
CSVParsingAltIndices 337002 345981 +2.7% 0.97x
CStringLongAscii 4217 4215 -0.0% 1.00x (?)
CStringLongNonAscii 2531 2512 -0.8% 1.01x
CStringShortAscii 3342 3360 +0.5% 0.99x
Calculator 1195 1199 +0.3% 1.00x
CaptureProp 4119 4111 -0.2% 1.00x
CharIndexing_ascii_unicodeScalars_Backwards 16299 16220 -0.5% 1.00x
CharIndexing_chinese_unicodeScalars_Backwards 12346 12294 -0.4% 1.00x
CharIndexing_japanese_unicodeScalars_Backwards 19716 19419 -1.5% 1.02x
CharIndexing_korean_unicodeScalars_Backwards 16435 15727 -4.3% 1.05x
CharIndexing_punctuatedJapanese_unicodeScalars_Backwards 2971 2939 -1.1% 1.01x
CharIndexing_punctuated_unicodeScalars 3712 3905 +5.2% 0.95x
CharIndexing_punctuated_unicodeScalars_Backwards 3709 3675 -0.9% 1.01x
CharIndexing_russian_unicodeScalars_Backwards 13541 13521 -0.1% 1.00x (?)
CharIndexing_tweet_unicodeScalars 32169 33149 +3.0% 0.97x
CharIndexing_tweet_unicodeScalars_Backwards 32386 31686 -2.2% 1.02x
CharIndexing_utf16_unicodeScalars 23213 23058 -0.7% 1.01x
CharIndexing_utf16_unicodeScalars_Backwards 23399 23685 +1.2% 0.99x (?)
CharIteration_ascii_unicodeScalars 20642 21306 +3.2% 0.97x
CharIteration_ascii_unicodeScalars_Backwards 14802 15568 +5.2% 0.95x
CharIteration_chinese_unicodeScalars 15609 16116 +3.2% 0.97x
CharIteration_japanese_unicodeScalars 24695 25511 +3.3% 0.97x
CharIteration_korean_unicodeScalars 19993 20664 +3.4% 0.97x
CharIteration_punctuatedJapanese_unicodeScalars 3738 3806 +1.8% 0.98x
CharIteration_punctuatedJapanese_unicodeScalars_Backwards 2680 2819 +5.2% 0.95x
CharIteration_punctuated_unicodeScalars 4665 4778 +2.4% 0.98x
CharIteration_punctuated_unicodeScalars_Backwards 3351 3526 +5.2% 0.95x
CharIteration_russian_unicodeScalars 17198 17758 +3.3% 0.97x
CharIteration_tweet_unicodeScalars 40831 42062 +3.0% 0.97x
CharIteration_utf16_unicodeScalars 28117 28049 -0.2% 1.00x
CharacterLiteralsLarge 5973 5929 -0.7% 1.01x (?)
CharacterLiteralsSmall 217 220 +1.4% 0.99x
CharacterPropertiesFetch 4551 4630 +1.7% 0.98x
CharacterPropertiesPrecomputed 1100 1104 +0.4% 1.00x (?)
CharacterPropertiesStashed 1463 1475 +0.8% 0.99x
CharacterPropertiesStashedMemo 1567 1563 -0.3% 1.00x (?)
ClassArrayGetter 15 15 +0.0% 1.00x
Combos 499 493 -1.2% 1.01x (?)
DataAccessBytes 1142 1149 +0.6% 0.99x
DataAppendArray 6079 6081 +0.0% 1.00x (?)
DataAppendDataLargeToLarge 70057 71166 +1.6% 0.98x (?)
DataAppendDataLargeToMedium 36330 37121 +2.2% 0.98x (?)
DataAppendDataLargeToSmall 35663 35916 +0.7% 0.99x (?)
DataAppendDataMediumToLarge 39383 39391 +0.0% 1.00x (?)
DataAppendDataMediumToSmall 7209 7274 +0.9% 0.99x (?)
DataAppendDataSmallToLarge 37987 38083 +0.3% 1.00x (?)
DataAppendDataSmallToMedium 7627 7763 +1.8% 0.98x (?)
DataAppendSequence 21518 20998 -2.4% 1.02x (?)
DataCopyBytes 2526 2523 -0.1% 1.00x (?)
DataCount 38 37 -2.6% 1.03x
DataMutateBytes 4448 4343 -2.4% 1.02x
DataReplaceLarge 42678 43599 +2.2% 0.98x (?)
DataReplaceLargeBuffer 61936 61129 -1.3% 1.01x (?)
DataReplaceMedium 13035 12875 -1.2% 1.01x (?)
DataReplaceSmall 9277 9105 -1.9% 1.02x
DataReplaceSmallBuffer 12624 12245 -3.0% 1.03x (?)
DataReset 3327 3240 -2.6% 1.03x
DataSetCount 887 909 +2.5% 0.98x
DictOfArraysToArrayOfDicts 806 798 -1.0% 1.01x (?)
Dictionary 682 689 +1.0% 0.99x
Dictionary2 817 806 -1.3% 1.01x
Dictionary2OfObjects 2242 2231 -0.5% 1.00x (?)
Dictionary3 254 254 +0.0% 1.00x
Dictionary3OfObjects 773 773 +0.0% 1.00x
Dictionary4 342 332 -2.9% 1.03x
Dictionary4Legacy 731 734 +0.4% 1.00x
Dictionary4OfObjects 460 446 -3.0% 1.03x
Dictionary4OfObjectsLegacy 942 936 -0.6% 1.01x
DictionaryBridge 1191 1192 +0.1% 1.00x (?)
DictionaryCopy 105605 108664 +2.9% 0.97x
DictionaryFilter 107307 106521 -0.7% 1.01x (?)
DictionaryGroup 216 217 +0.5% 1.00x (?)
DictionaryGroupOfObjects 2132 2132 +0.0% 1.00x
DictionaryKeysContainsNative 32 32 +0.0% 1.00x
DictionaryLiteral 1912 1938 +1.4% 0.99x (?)
DictionaryOfObjects 2503 2503 +0.0% 1.00x
DictionaryRemove 4272 4208 -1.5% 1.02x
DictionaryRemoveOfObjects 26060 26069 +0.0% 1.00x (?)
DictionarySubscriptDefaultMutation 265 269 +1.5% 0.99x
DictionarySubscriptDefaultMutationArrayOfObjects 4045 4060 +0.4% 1.00x (?)
DictionarySubscriptDefaultMutationOfObjects 1712 1707 -0.3% 1.00x (?)
DictionarySwap 1027 1037 +1.0% 0.99x
DictionarySwapAtOfObjects 52608 52428 -0.3% 1.00x (?)
DictionarySwapOfObjects 8792 8867 +0.9% 0.99x
DoubleWidthDivision 0 0 +0.0% 1.00x
DropFirstAnyCollection 84 84 +0.0% 1.00x
DropFirstAnyCollectionLazy 62903 62742 -0.3% 1.00x (?)
DropFirstAnySeqCRangeIter 21715 21685 -0.1% 1.00x
DropFirstAnySeqCRangeIterLazy 21739 21708 -0.1% 1.00x
DropFirstAnySeqCntRange 41 41 +0.0% 1.00x
DropFirstAnySeqCntRangeLazy 41 41 +0.0% 1.00x
DropFirstAnySequence 4978 4996 +0.4% 1.00x (?)
DropFirstAnySequenceLazy 4974 4995 +0.4% 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 2683 2682 -0.0% 1.00x
DropFirstSequenceLazy 2774 2774 +0.0% 1.00x
DropLastAnyCollection 31 31 +0.0% 1.00x
DropLastAnyCollectionLazy 21072 20965 -0.5% 1.01x (?)
DropLastAnySeqCRangeIter 3559 3559 +0.0% 1.00x
DropLastAnySeqCRangeIterLazy 3566 3558 -0.2% 1.00x (?)
DropLastAnySeqCntRange 13 13 +0.0% 1.00x
DropLastAnySeqCntRangeLazy 13 13 +0.0% 1.00x
DropLastAnySequence 4922 4920 -0.0% 1.00x (?)
DropLastAnySequenceLazy 5015 5026 +0.2% 1.00x
DropLastSequence 628 658 +4.8% 0.95x
DropLastSequenceLazy 629 656 +4.3% 0.96x
DropWhileAnyCollection 107 107 +0.0% 1.00x
DropWhileAnyCollectionLazy 125 125 +0.0% 1.00x
DropWhileAnySeqCRangeIter 17130 17160 +0.2% 1.00x
DropWhileAnySeqCRangeIterLazy 125 125 +0.0% 1.00x
DropWhileAnySeqCntRange 50 50 +0.0% 1.00x
DropWhileAnySeqCntRangeLazy 125 125 +0.0% 1.00x
DropWhileAnySequence 4874 4864 -0.2% 1.00x (?)
DropWhileAnySequenceLazy 1857 1856 -0.1% 1.00x (?)
DropWhileArrayLazy 88 88 +0.0% 1.00x
DropWhileCountableRange 36 36 +0.0% 1.00x
DropWhileCountableRangeLazy 105 105 +0.0% 1.00x
DropWhileSequence 2224 2223 -0.0% 1.00x (?)
DropWhileSequenceLazy 88 88 +0.0% 1.00x
EqualStringSubstring 49 49 +0.0% 1.00x
EqualSubstringString 49 49 +0.0% 1.00x
EqualSubstringSubstring 49 49 +0.0% 1.00x
EqualSubstringSubstringGenericEquatable 49 49 +0.0% 1.00x
ErrorHandling 1602 1647 +2.8% 0.97x
ExclusivityGlobal 5 5 +0.0% 1.00x
ExclusivityIndependent 2 2 +0.0% 1.00x
FatCompactMap 204271 208543 +2.1% 0.98x
FilterEvenUsingReduce 1316 1312 -0.3% 1.00x
FilterEvenUsingReduceInto 147 151 +2.7% 0.97x
FloatingPointPrinting_Double_description_small 23682 24158 +2.0% 0.98x
FloatingPointPrinting_Double_description_uniform 23268 23523 +1.1% 0.99x
FloatingPointPrinting_Double_interpolated 68763 68874 +0.2% 1.00x (?)
FloatingPointPrinting_Float80_description_small 30808 30825 +0.1% 1.00x (?)
FloatingPointPrinting_Float80_description_uniform 29749 30050 +1.0% 0.99x
FloatingPointPrinting_Float80_interpolated 71601 71776 +0.2% 1.00x (?)
FloatingPointPrinting_Float_description_small 5489 5479 -0.2% 1.00x (?)
FloatingPointPrinting_Float_description_uniform 5288 5192 -1.8% 1.02x (?)
FloatingPointPrinting_Float_interpolated 42674 42202 -1.1% 1.01x (?)
FrequenciesUsingReduce 5077 5077 +0.0% 1.00x
FrequenciesUsingReduceInto 1545 1558 +0.8% 0.99x
Hanoi 2286 2228 -2.5% 1.03x
HashTest 1060 1062 +0.2% 1.00x (?)
Histogram 697 698 +0.1% 1.00x
Integrate 335 342 +2.1% 0.98x
IterateData 1503 1548 +3.0% 0.97x
Join 166 166 +0.0% 1.00x
LazilyFilteredArrayContains 37495 36671 -2.2% 1.02x
LazilyFilteredArrays 65044 65304 +0.4% 1.00x (?)
LazilyFilteredRange 3881 3871 -0.3% 1.00x
LessSubstringSubstring 49 49 +0.0% 1.00x
LessSubstringSubstringGenericComparable 49 49 +0.0% 1.00x
LinkedList 7596 7591 -0.1% 1.00x (?)
LuhnAlgoEager 321 323 +0.6% 0.99x (?)
LuhnAlgoLazy 319 321 +0.6% 0.99x (?)
MapReduceAnyCollectionShort 2261 2218 -1.9% 1.02x
MapReduceClass 3023 3013 -0.3% 1.00x
MapReduceClassShort 4575 4578 +0.1% 1.00x (?)
MapReduceLazyCollection 13 13 +0.0% 1.00x
MapReduceLazySequence 86 86 +0.0% 1.00x
MapReduceSequence 461 461 +0.0% 1.00x
MapReduceShort 1994 2026 +1.6% 0.98x
MapReduceShortString 23 23 +0.0% 1.00x
MapReduceString 79 83 +5.1% 0.95x
Memset 216 217 +0.5% 1.00x (?)
MonteCarloE 10393 10305 -0.8% 1.01x
MonteCarloPi 42842 42970 +0.3% 1.00x
NSDictionaryCastToSwift 7373 7185 -2.5% 1.03x (?)
NSError 173 171 -1.2% 1.01x (?)
NSStringConversion 687 702 +2.2% 0.98x
NibbleSort 3672 3697 +0.7% 0.99x
ObjectAllocation 133 133 +0.0% 1.00x
ObjectiveCBridgeFromNSArrayAnyObject 26442 26380 -0.2% 1.00x (?)
ObjectiveCBridgeFromNSArrayAnyObjectToString 45574 45001 -1.3% 1.01x (?)
ObjectiveCBridgeFromNSArrayAnyObjectToStringForced 45195 45441 +0.5% 0.99x (?)
ObjectiveCBridgeFromNSDictionaryAnyObject 114604 113138 -1.3% 1.01x (?)
ObjectiveCBridgeFromNSSetAnyObjectForced 4933 4993 +1.2% 0.99x (?)
ObjectiveCBridgeFromNSSetAnyObjectToString 66938 66659 -0.4% 1.00x (?)
ObjectiveCBridgeFromNSString 1191 1193 +0.2% 1.00x (?)
ObjectiveCBridgeFromNSStringForced 2699 2722 +0.9% 0.99x (?)
ObjectiveCBridgeStubDataAppend 11451 11520 +0.6% 0.99x (?)
ObjectiveCBridgeStubDateMutation 401 401 +0.0% 1.00x
ObjectiveCBridgeStubFromArrayOfNSString 35601 34252 -3.8% 1.04x (?)
ObjectiveCBridgeStubFromNSStringRef 170 170 +0.0% 1.00x
ObjectiveCBridgeStubNSDataAppend 2548 2650 +4.0% 0.96x (?)
ObjectiveCBridgeStubToArrayOfNSString 39461 39280 -0.5% 1.00x (?)
ObjectiveCBridgeStubToNSDate 15115 14774 -2.3% 1.02x (?)
ObjectiveCBridgeStubToNSDateRef 3433 3487 +1.6% 0.98x (?)
ObjectiveCBridgeStubToNSString 2390 2405 +0.6% 0.99x (?)
ObjectiveCBridgeStubToNSStringRef 121 125 +3.3% 0.97x
ObjectiveCBridgeStubURLAppendPath 288694 292207 +1.2% 0.99x
ObjectiveCBridgeStubURLAppendPathRef 292141 287321 -1.6% 1.02x (?)
ObjectiveCBridgeToNSArray 15020 15046 +0.2% 1.00x (?)
ObjectiveCBridgeToNSDictionary 27894 26834 -3.8% 1.04x (?)
ObjectiveCBridgeToNSSet 17657 17116 -3.1% 1.03x
ObjectiveCBridgeToNSString 502 503 +0.2% 1.00x (?)
ObserverClosure 2180 2174 -0.3% 1.00x
ObserverForwarderStruct 1232 1224 -0.6% 1.01x (?)
ObserverPartiallyAppliedMethod 3781 3750 -0.8% 1.01x
ObserverUnappliedMethod 2471 2494 +0.9% 0.99x (?)
OpenClose 337 342 +1.5% 0.99x
PartialApplyDynamicType 0 0 +0.0% 1.00x
Phonebook 4709 4631 -1.7% 1.02x
PolymorphicCalls 25 25 +0.0% 1.00x
PrefixAnyCollection 84 84 +0.0% 1.00x
PrefixAnyCollectionLazy 63733 62972 -1.2% 1.01x (?)
PrefixAnySeqCRangeIter 16776 16791 +0.1% 1.00x (?)
PrefixAnySeqCRangeIterLazy 16784 16801 +0.1% 1.00x (?)
PrefixAnySeqCntRange 28 28 +0.0% 1.00x
PrefixAnySeqCntRangeLazy 28 28 +0.0% 1.00x
PrefixAnySequence 4320 4318 -0.0% 1.00x (?)
PrefixAnySequenceLazy 4320 4315 -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 2226 2222 -0.2% 1.00x
PrefixSequenceLazy 2275 2277 +0.1% 1.00x (?)
PrefixWhileAnyCollection 154 154 +0.0% 1.00x
PrefixWhileAnyCollectionLazy 90 90 +0.0% 1.00x
PrefixWhileAnySeqCRangeIter 8784 8797 +0.1% 1.00x
PrefixWhileAnySeqCRangeIterLazy 72 72 +0.0% 1.00x
PrefixWhileAnySeqCntRange 60 59 -1.7% 1.02x
PrefixWhileAnySeqCntRangeLazy 90 90 +0.0% 1.00x
PrefixWhileAnySequence 9823 9820 -0.0% 1.00x (?)
PrefixWhileAnySequenceLazy 1394 1394 +0.0% 1.00x
PrefixWhileArray 88 88 +0.0% 1.00x
PrefixWhileArrayLazy 70 70 +0.0% 1.00x
PrefixWhileCountableRange 36 36 +0.0% 1.00x
PrefixWhileCountableRangeLazy 35 35 +0.0% 1.00x
PrefixWhileSequence 361 361 +0.0% 1.00x
PrefixWhileSequenceLazy 53 52 -1.9% 1.02x
Prims 926 908 -1.9% 1.02x (?)
PrimsSplit 907 928 +2.3% 0.98x (?)
QueueConcrete 1146 1150 +0.3% 1.00x
QueueGeneric 1149 1153 +0.3% 1.00x
RGBHistogram 3283 3271 -0.4% 1.00x
RGBHistogramOfObjects 23814 23828 +0.1% 1.00x
RandomDoubleDef 27998 27805 -0.7% 1.01x
RandomDoubleLCG 4353 4509 +3.6% 0.97x
RandomIntegersDef 25789 25803 +0.1% 1.00x (?)
RandomIntegersLCG 2384 2403 +0.8% 0.99x
RandomShuffleDef 827969 829046 +0.1% 1.00x
RandomShuffleLCG 154918 150291 -3.0% 1.03x (?)
RangeReplaceableCollectionPlusDefault 1021 1033 +1.2% 0.99x
RecursiveOwnedParameter 115 115 +0.0% 1.00x
RemoveWhereFilterInts 46 47 +2.2% 0.98x
RemoveWhereFilterString 255 257 +0.8% 0.99x (?)
RemoveWhereFilterStrings 438 437 -0.2% 1.00x (?)
RemoveWhereMoveStrings 712 709 -0.4% 1.00x
RemoveWhereQuadraticInts 1297 1299 +0.2% 1.00x (?)
RemoveWhereQuadraticString 395 395 +0.0% 1.00x
RemoveWhereQuadraticStrings 2766 2785 +0.7% 0.99x
RemoveWhereSwapInts 19 19 +0.0% 1.00x
RemoveWhereSwapStrings 865 861 -0.5% 1.00x
ReversedArray 57 57 +0.0% 1.00x
ReversedBidirectional 16935 16857 -0.5% 1.00x (?)
ReversedDictionary 267 266 -0.4% 1.00x (?)
RomanNumbers 86845 87590 +0.9% 0.99x
SequenceAlgosAnySequence 12268 12122 -1.2% 1.01x
SequenceAlgosArray 1585 1573 -0.8% 1.01x (?)
SequenceAlgosContiguousArray 1579 1576 -0.2% 1.00x (?)
SequenceAlgosList 1354 1354 +0.0% 1.00x
SequenceAlgosRange 2578 2577 -0.0% 1.00x (?)
SequenceAlgosUnfoldSequence 1102 1102 +0.0% 1.00x
SetExclusiveOr 5251 5106 -2.8% 1.03x
SetExclusiveOr_OfObjects 11884 11955 +0.6% 0.99x (?)
SetIntersect 699 701 +0.3% 1.00x (?)
SetIntersect_OfObjects 1779 1751 -1.6% 1.02x
SetIsSubsetOf 354 354 +0.0% 1.00x
SetIsSubsetOf_OfObjects 450 450 +0.0% 1.00x
SetUnion 4557 4419 -3.0% 1.03x
SetUnion_OfObjects 10156 10217 +0.6% 0.99x
SevenBoom 887 880 -0.8% 1.01x (?)
SortLargeExistentials 6077 6045 -0.5% 1.01x (?)
SortLettersInPlace 1065 1065 +0.0% 1.00x
SortSortedStrings 1048 1019 -2.8% 1.03x
SortStrings 2039 1989 -2.5% 1.03x
SortStringsUnicode 2595 2556 -1.5% 1.02x
StackPromo 24883 24893 +0.0% 1.00x (?)
StaticArray 9 9 +0.0% 1.00x
StrComplexWalk 1785 1786 +0.1% 1.00x (?)
StrToInt 3235 3239 +0.1% 1.00x
StringAdder 852 850 -0.2% 1.00x
StringBuilder 763 761 -0.3% 1.00x
StringBuilderLong 1742 1807 +3.7% 0.96x (?)
StringBuilderSmallReservingCapacity 785 786 +0.1% 1.00x
StringBuilderWithLongSubstring 1488 1481 -0.5% 1.00x (?)
StringComparison_abnormal 822 819 -0.4% 1.00x (?)
StringComparison_ascii 1297 1290 -0.5% 1.01x
StringComparison_emoji 806 804 -0.2% 1.00x (?)
StringComparison_fastPrenormal 838 831 -0.8% 1.01x
StringComparison_latin1 655 653 -0.3% 1.00x
StringComparison_longSharedPrefix 942 936 -0.6% 1.01x
StringComparison_nonBMPSlowestPrenormal 1595 1597 +0.1% 1.00x (?)
StringComparison_slowerPrenormal 1689 1678 -0.7% 1.01x (?)
StringComparison_zalgo 125044 125345 +0.2% 1.00x (?)
StringEdits 172849 172930 +0.0% 1.00x (?)
StringEnumRawValueInitialization 934 924 -1.1% 1.01x
StringEqualPointerComparison 286 295 +3.1% 0.97x
StringFromLongWholeSubstringGeneric 22 22 +0.0% 1.00x
StringHasPrefixAscii 2290 2320 +1.3% 0.99x
StringHasPrefixUnicode 101860 101923 +0.1% 1.00x (?)
StringHasSuffixAscii 2497 2464 -1.3% 1.01x
StringHasSuffixUnicode 103115 104452 +1.3% 0.99x
StringInterpolation 10160 10054 -1.0% 1.01x (?)
StringInterpolationManySmallSegments 20812 20769 -0.2% 1.00x (?)
StringInterpolationSmall 6035 6017 -0.3% 1.00x
StringMatch 12670 12746 +0.6% 0.99x
StringRemoveDupes 520 527 +1.3% 0.99x
StringUTF16Builder 2713 2731 +0.7% 0.99x (?)
StringUTF16SubstringBuilder 5915 5916 +0.0% 1.00x (?)
StringWalk 1441 1440 -0.1% 1.00x
StringWithCString 43094 43109 +0.0% 1.00x (?)
StringWordBuilder 2446 2441 -0.2% 1.00x (?)
StringWordBuilderReservingCapacity 1925 1922 -0.2% 1.00x (?)
SubstringComparable 27 26 -3.7% 1.04x
SubstringEqualString 618 618 +0.0% 1.00x
SubstringEquatable 1403 1418 +1.1% 0.99x
SubstringFromLongString 10 10 +0.0% 1.00x
SubstringFromLongStringGeneric 77 74 -3.9% 1.04x
SuffixAnyCollection 31 31 +0.0% 1.00x
SuffixAnySeqCRangeIter 3777 3788 +0.3% 1.00x
SuffixAnySeqCRangeIterLazy 3771 3786 +0.4% 1.00x (?)
SuffixAnySeqCntRange 20 20 +0.0% 1.00x
SuffixAnySeqCntRangeLazy 20 20 +0.0% 1.00x
SuffixAnySequence 4910 4911 +0.0% 1.00x (?)
SuffixAnySequenceLazy 5008 4998 -0.2% 1.00x
SuffixCountableRangeLazy 11 11 +0.0% 1.00x
SuffixSequence 3571 3617 +1.3% 0.99x (?)
SuffixSequenceLazy 3567 3628 +1.7% 0.98x
SumUsingReduceInto 97 102 +5.2% 0.95x
SuperChars 15220 14773 -2.9% 1.03x
TwoSum 1470 1495 +1.7% 0.98x
TypeFlood 0 0 +0.0% 1.00x
UTF8Decode 318 304 -4.4% 1.05x
Walsh 421 432 +2.6% 0.97x
WordCountHistogramASCII 7870 7757 -1.4% 1.01x
WordCountHistogramUTF16 14783 14745 -0.3% 1.00x (?)
WordCountUniqueASCII 2150 2191 +1.9% 0.98x
WordCountUniqueUTF16 7911 8220 +3.9% 0.96x (?)
WordSplitASCII 6596 6826 +3.5% 0.97x (?)
XorLoop 403 403 +0.0% 1.00x
Added (1)
TEST MIN MAX MEAN MAX_RSS
COWArrayGuaranteedParameterOverhead 8600 9713 9012 7806976
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

@gottesmm gottesmm merged commit ad82fe6 into swiftlang:master May 25, 2018
@gottesmm gottesmm deleted the pr-84e7c044a8d49ddcb70f6fc1535e1309e96c6a27 branch May 25, 2018 05:56
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