Skip to content

[func-sig-opts][+0->+1] Add a benchmark that requires the optimizer t… #16832

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

…o propagate a +1 value from an opaque entry point through a simple linear call tree.

rdar://38196046

…o propagate a +1 value from an opaque entry point through a simple linear call tree.

rdar://38196046
@gottesmm
Copy link
Contributor Author

@swift-ci smoke test

@gottesmm
Copy link
Contributor Author

@eeckstein

@gottesmm
Copy link
Contributor Author

@swift-ci smoke benchmark

@swift-ci
Copy link
Contributor

Build comment file:

Optimized (O)

Regression (31)
TEST OLD NEW DELTA SPEEDUP
Sim2DArray 373 601 +61.1% 0.62x
BinaryFloatingPointPropertiesBinade 23 28 +21.7% 0.82x
ObjectiveCBridgeStubFromNSString 916 1093 +19.3% 0.84x (?)
RangeIterationSigned 154 179 +16.2% 0.86x
StringBuilderLong 1124 1306 +16.2% 0.86x (?)
DropFirstAnyCollectionLazy 56482 64002 +13.3% 0.88x
ChainedFilterMap 1119 1263 +12.9% 0.89x
StaticArray 8 9 +12.5% 0.89x
Chars 980 1090 +11.2% 0.90x
CharIndexing_chinese_unicodeScalars 11078 12175 +9.9% 0.91x
NSDictionaryCastToSwift 6258 6778 +8.3% 0.92x (?)
RC4 134 145 +8.2% 0.92x
MapReduce 332 359 +8.1% 0.92x
CharIteration_utf16_unicodeScalars_Backwards 15981 17197 +7.6% 0.93x
ObjectiveCBridgeStubFromArrayOfNSString 33091 35419 +7.0% 0.93x
BinaryFloatingPointPropertiesUlp 31 33 +6.5% 0.94x
CharIndexing_japanese_unicodeScalars 17510 18594 +6.2% 0.94x
ObjectiveCBridgeFromNSDictionaryAnyObject 100758 106913 +6.1% 0.94x
ObjectiveCBridgeStubNSDateMutationRef 11424 12086 +5.8% 0.95x (?)
CharIndexing_russian_unicodeScalars 12188 12894 +5.8% 0.95x
DataAppendSequence 18858 19946 +5.8% 0.95x
MapReduceString 71 75 +5.6% 0.95x
CharIteration_tweet_unicodeScalars_Backwards 26109 27576 +5.6% 0.95x
CharIteration_russian_unicodeScalars_Backwards 11021 11639 +5.6% 0.95x
CharIteration_korean_unicodeScalars_Backwards 12825 13540 +5.6% 0.95x
CharIteration_ascii_unicodeScalars_Backwards 13223 13960 +5.6% 0.95x
CharIteration_chinese_unicodeScalars_Backwards 10021 10576 +5.5% 0.95x
CharIteration_japanese_unicodeScalars_Backwards 15840 16715 +5.5% 0.95x
CharIndexing_korean_unicodeScalars 14185 14965 +5.5% 0.95x
DataAppendDataMediumToMedium 7295 7686 +5.4% 0.95x (?)
CharIteration_punctuated_unicodeScalars_Backwards 3005 3165 +5.3% 0.95x
Improvement (16)
TEST OLD NEW DELTA SPEEDUP
StringFromLongWholeSubstring 22 19 -13.6% 1.16x
ObjectiveCBridgeStubFromNSDate 6571 5764 -12.3% 1.14x (?)
AngryPhonebook 3666 3231 -11.9% 1.13x
MapReduceLazyCollectionShort 34 30 -11.8% 1.13x
SubstringFromLongStringGeneric 74 66 -10.8% 1.12x
ObjectiveCBridgeFromNSArrayAnyObjectToString 46258 41591 -10.1% 1.11x (?)
PointerArithmetics 30832 28261 -8.3% 1.09x
DataReplaceSmall 8834 8125 -8.0% 1.09x
ObjectiveCBridgeFromNSArrayAnyObject 24534 22595 -7.9% 1.09x (?)
FatCompactMap 199595 186154 -6.7% 1.07x
ObjectiveCBridgeStubFromNSStringRef 152 142 -6.6% 1.07x
NopDeinit 28970 27074 -6.5% 1.07x
DataReplaceMediumBuffer 15268 14284 -6.4% 1.07x (?)
MapReduceAnyCollection 385 361 -6.2% 1.07x
Hanoi 2047 1939 -5.3% 1.06x
UTF8Decode 286 272 -4.9% 1.05x
No Changes (389)
TEST OLD NEW DELTA SPEEDUP
AnyHashableWithAClass 77085 77282 +0.3% 1.00x (?)
Array2D 2555 2554 -0.0% 1.00x (?)
ArrayAppend 978 980 +0.2% 1.00x
ArrayAppendArrayOfInt 672 672 +0.0% 1.00x
ArrayAppendAscii 3525 3528 +0.1% 1.00x (?)
ArrayAppendAsciiSubstring 41167 41420 +0.6% 0.99x
ArrayAppendFromGeneric 674 675 +0.1% 1.00x (?)
ArrayAppendGenericStructs 1209 1213 +0.3% 1.00x
ArrayAppendLatin1 36859 36755 -0.3% 1.00x
ArrayAppendLatin1Substring 174138 173736 -0.2% 1.00x (?)
ArrayAppendLazyMap 1175 1178 +0.3% 1.00x (?)
ArrayAppendOptionals 1208 1211 +0.2% 1.00x (?)
ArrayAppendRepeatCol 1175 1189 +1.2% 0.99x
ArrayAppendReserved 749 750 +0.1% 1.00x (?)
ArrayAppendSequence 980 980 +0.0% 1.00x
ArrayAppendStrings 5662 5666 +0.1% 1.00x
ArrayAppendToFromGeneric 673 675 +0.3% 1.00x
ArrayAppendToGeneric 674 676 +0.3% 1.00x (?)
ArrayAppendUTF16 36372 36169 -0.6% 1.01x
ArrayAppendUTF16Substring 175967 175010 -0.5% 1.01x
ArrayInClass 77 77 +0.0% 1.00x
ArrayLiteral 0 0 +0.0% 1.00x
ArrayOfGenericPOD2 130 130 +0.0% 1.00x
ArrayOfGenericRef 3953 3964 +0.3% 1.00x (?)
ArrayOfPOD 156 156 +0.0% 1.00x
ArrayOfRef 3917 3932 +0.4% 1.00x (?)
ArrayPlusEqualArrayOfInt 672 670 -0.3% 1.00x (?)
ArrayPlusEqualFiveElementCollection 4909 4881 -0.6% 1.01x
ArrayPlusEqualSingleElementCollection 979 978 -0.1% 1.00x (?)
ArrayPlusEqualThreeElements 1489 1479 -0.7% 1.01x (?)
ArraySubscript 1391 1384 -0.5% 1.01x (?)
ArrayValueProp 7 7 +0.0% 1.00x
ArrayValueProp2 7 7 +0.0% 1.00x
ArrayValueProp3 7 7 +0.0% 1.00x
ArrayValueProp4 7 7 +0.0% 1.00x
BinaryFloatingPointPropertiesNextUp 25 25 +0.0% 1.00x
BitCount 181 189 +4.4% 0.96x
ByteSwap 95 93 -2.1% 1.02x
COWTree 4825 4892 +1.4% 0.99x (?)
CSVParsing 641927 625855 -2.5% 1.03x
CSVParsingAlt 702937 702255 -0.1% 1.00x (?)
CSVParsingAltIndices 311961 308608 -1.1% 1.01x (?)
CStringLongAscii 3813 3781 -0.8% 1.01x
CStringLongNonAscii 2274 2209 -2.9% 1.03x
CStringShortAscii 2981 3029 +1.6% 0.98x
Calculator 1072 1056 -1.5% 1.02x
CaptureProp 3699 3664 -0.9% 1.01x
CharIndexing_ascii_unicodeScalars 14632 15392 +5.2% 0.95x
CharIndexing_ascii_unicodeScalars_Backwards 14574 14556 -0.1% 1.00x (?)
CharIndexing_chinese_unicodeScalars_Backwards 11071 11450 +3.4% 0.97x
CharIndexing_japanese_unicodeScalars_Backwards 17464 17500 +0.2% 1.00x (?)
CharIndexing_korean_unicodeScalars_Backwards 14148 14145 -0.0% 1.00x (?)
CharIndexing_punctuatedJapanese_unicodeScalars 2713 2780 +2.5% 0.98x (?)
CharIndexing_punctuatedJapanese_unicodeScalars_Backwards 2656 2633 -0.9% 1.01x (?)
CharIndexing_punctuated_unicodeScalars 3331 3481 +4.5% 0.96x
CharIndexing_punctuated_unicodeScalars_Backwards 3326 3399 +2.2% 0.98x
CharIndexing_russian_unicodeScalars_Backwards 12160 12279 +1.0% 0.99x
CharIndexing_tweet_unicodeScalars 28866 29700 +2.9% 0.97x
CharIndexing_tweet_unicodeScalars_Backwards 28926 28762 -0.6% 1.01x (?)
CharIndexing_utf16_unicodeScalars 20787 20685 -0.5% 1.00x (?)
CharIndexing_utf16_unicodeScalars_Backwards 21172 20959 -1.0% 1.01x (?)
CharIteration_ascii_unicodeScalars 18546 19049 +2.7% 0.97x
CharIteration_chinese_unicodeScalars 14002 14364 +2.6% 0.97x
CharIteration_japanese_unicodeScalars 22129 22727 +2.7% 0.97x
CharIteration_korean_unicodeScalars 17971 18414 +2.5% 0.98x
CharIteration_punctuatedJapanese_unicodeScalars 3341 3387 +1.4% 0.99x
CharIteration_punctuatedJapanese_unicodeScalars_Backwards 2406 2528 +5.1% 0.95x
CharIteration_punctuated_unicodeScalars 4176 4255 +1.9% 0.98x
CharIteration_russian_unicodeScalars 15438 15792 +2.3% 0.98x
CharIteration_tweet_unicodeScalars 36613 37515 +2.5% 0.98x
CharIteration_utf16_unicodeScalars 25215 25089 -0.5% 1.01x
CharacterLiteralsLarge 5270 5439 +3.2% 0.97x
CharacterLiteralsSmall 195 197 +1.0% 0.99x
CharacterPropertiesFetch 4095 4099 +0.1% 1.00x (?)
CharacterPropertiesPrecomputed 992 1017 +2.5% 0.98x
CharacterPropertiesStashed 1315 1333 +1.4% 0.99x (?)
CharacterPropertiesStashedMemo 1407 1426 +1.4% 0.99x
ClassArrayGetter 13 13 +0.0% 1.00x
Combos 443 443 +0.0% 1.00x
DataAccessBytes 1028 1038 +1.0% 0.99x
DataAppendArray 5403 5446 +0.8% 0.99x (?)
DataAppendBytes 5419 5291 -2.4% 1.02x (?)
DataAppendDataLargeToLarge 62134 62470 +0.5% 0.99x (?)
DataAppendDataLargeToMedium 33294 32883 -1.2% 1.01x (?)
DataAppendDataLargeToSmall 31786 31980 +0.6% 0.99x (?)
DataAppendDataMediumToLarge 35117 35913 +2.3% 0.98x (?)
DataAppendDataMediumToSmall 6386 6196 -3.0% 1.03x (?)
DataAppendDataSmallToLarge 34078 34267 +0.6% 0.99x (?)
DataAppendDataSmallToMedium 6843 6828 -0.2% 1.00x (?)
DataAppendDataSmallToSmall 6275 6176 -1.6% 1.02x (?)
DataCopyBytes 2260 2305 +2.0% 0.98x
DataCount 34 33 -2.9% 1.03x
DataMutateBytes 3992 3934 -1.5% 1.01x (?)
DataReplaceLarge 37096 37466 +1.0% 0.99x (?)
DataReplaceLargeBuffer 54668 54344 -0.6% 1.01x (?)
DataReplaceMedium 11640 11125 -4.4% 1.05x (?)
DataReplaceSmallBuffer 10931 10539 -3.6% 1.04x (?)
DataReset 2981 2850 -4.4% 1.05x
DataSetCount 798 815 +2.1% 0.98x (?)
DataSubscript 213 220 +3.3% 0.97x
DictOfArraysToArrayOfDicts 749 729 -2.7% 1.03x (?)
Dictionary 608 611 +0.5% 1.00x (?)
Dictionary2 728 718 -1.4% 1.01x (?)
Dictionary2OfObjects 2021 2007 -0.7% 1.01x (?)
Dictionary3 229 228 -0.4% 1.00x
Dictionary3OfObjects 697 693 -0.6% 1.01x
Dictionary4 306 300 -2.0% 1.02x
Dictionary4Legacy 666 655 -1.7% 1.02x
Dictionary4OfObjects 410 400 -2.4% 1.02x
Dictionary4OfObjectsLegacy 859 839 -2.3% 1.02x
DictionaryBridge 1078 1068 -0.9% 1.01x (?)
DictionaryCopy 92692 94645 +2.1% 0.98x
DictionaryFilter 93110 93422 +0.3% 1.00x
DictionaryGroup 194 194 +0.0% 1.00x
DictionaryGroupOfObjects 1940 1990 +2.6% 0.97x
DictionaryKeysContainsCocoa 35 34 -2.9% 1.03x (?)
DictionaryKeysContainsNative 29 29 +0.0% 1.00x
DictionaryLiteral 1747 1720 -1.5% 1.02x (?)
DictionaryOfObjects 2242 2251 +0.4% 1.00x (?)
DictionaryRemove 3829 3775 -1.4% 1.01x
DictionaryRemoveOfObjects 23330 23413 +0.4% 1.00x
DictionarySubscriptDefaultMutation 236 238 +0.8% 0.99x
DictionarySubscriptDefaultMutationArray 628 633 +0.8% 0.99x (?)
DictionarySubscriptDefaultMutationArrayOfObjects 3589 3595 +0.2% 1.00x (?)
DictionarySubscriptDefaultMutationOfObjects 1539 1540 +0.1% 1.00x (?)
DictionarySwap 930 922 -0.9% 1.01x
DictionarySwapAt 6378 6207 -2.7% 1.03x
DictionarySwapAtOfObjects 46739 46769 +0.1% 1.00x (?)
DictionarySwapOfObjects 7989 7839 -1.9% 1.02x (?)
DoubleWidthDivision 0 0 +0.0% 1.00x
DropFirstAnyCollection 75 75 +0.0% 1.00x
DropFirstAnySeqCRangeIter 19446 19477 +0.2% 1.00x
DropFirstAnySeqCRangeIterLazy 19464 19560 +0.5% 1.00x
DropFirstAnySeqCntRange 37 36 -2.7% 1.03x
DropFirstAnySeqCntRangeLazy 37 36 -2.7% 1.03x
DropFirstAnySequence 4502 4469 -0.7% 1.01x
DropFirstAnySequenceLazy 4467 4458 -0.2% 1.00x (?)
DropFirstArray 31 31 +0.0% 1.00x
DropFirstArrayLazy 31 31 +0.0% 1.00x
DropFirstCountableRange 31 31 +0.0% 1.00x
DropFirstCountableRangeLazy 31 31 +0.0% 1.00x
DropFirstSequence 2405 2406 +0.0% 1.00x
DropFirstSequenceLazy 2491 2490 -0.0% 1.00x (?)
DropLastAnyCollection 27 28 +3.7% 0.96x
DropLastAnyCollectionLazy 19721 19006 -3.6% 1.04x (?)
DropLastAnySeqCRangeIter 3191 3155 -1.1% 1.01x (?)
DropLastAnySeqCRangeIterLazy 3197 3175 -0.7% 1.01x (?)
DropLastAnySeqCntRange 12 12 +0.0% 1.00x
DropLastAnySeqCntRangeLazy 12 12 +0.0% 1.00x
DropLastAnySequence 4412 4411 -0.0% 1.00x (?)
DropLastAnySequenceLazy 4503 4497 -0.1% 1.00x
DropLastCountableRange 10 10 +0.0% 1.00x
DropLastCountableRangeLazy 10 10 +0.0% 1.00x
DropLastSequence 562 589 +4.8% 0.95x
DropLastSequenceLazy 562 589 +4.8% 0.95x
DropWhileAnyCollection 96 96 +0.0% 1.00x
DropWhileAnyCollectionLazy 112 112 +0.0% 1.00x
DropWhileAnySeqCRangeIter 15349 15310 -0.3% 1.00x
DropWhileAnySeqCRangeIterLazy 112 112 +0.0% 1.00x
DropWhileAnySeqCntRange 45 45 +0.0% 1.00x
DropWhileAnySeqCntRangeLazy 112 112 +0.0% 1.00x
DropWhileAnySequence 4361 4404 +1.0% 0.99x
DropWhileAnySequenceLazy 1666 1667 +0.1% 1.00x
DropWhileArrayLazy 79 79 +0.0% 1.00x
DropWhileCountableRange 32 32 +0.0% 1.00x
DropWhileCountableRangeLazy 94 94 +0.0% 1.00x
DropWhileSequence 1995 1995 +0.0% 1.00x
DropWhileSequenceLazy 79 79 +0.0% 1.00x
EqualStringSubstring 44 44 +0.0% 1.00x
EqualSubstringString 44 44 +0.0% 1.00x
EqualSubstringSubstring 44 43 -2.3% 1.02x
EqualSubstringSubstringGenericEquatable 44 43 -2.3% 1.02x
ErrorHandling 1432 1460 +2.0% 0.98x
ExclusivityGlobal 5 5 +0.0% 1.00x
ExclusivityIndependent 2 2 +0.0% 1.00x
FilterEvenUsingReduce 1174 1178 +0.3% 1.00x (?)
FilterEvenUsingReduceInto 133 135 +1.5% 0.99x (?)
FloatingPointPrinting_Double_description_small 21398 21451 +0.2% 1.00x (?)
FloatingPointPrinting_Double_description_uniform 20922 20953 +0.1% 1.00x
FloatingPointPrinting_Double_interpolated 61346 60821 -0.9% 1.01x (?)
FloatingPointPrinting_Float80_description_small 27712 27858 +0.5% 0.99x
FloatingPointPrinting_Float80_description_uniform 26920 27048 +0.5% 1.00x
FloatingPointPrinting_Float80_interpolated 64204 64491 +0.4% 1.00x (?)
FloatingPointPrinting_Float_description_small 4940 4882 -1.2% 1.01x (?)
FloatingPointPrinting_Float_description_uniform 4740 4681 -1.2% 1.01x
FloatingPointPrinting_Float_interpolated 37824 37665 -0.4% 1.00x (?)
FrequenciesUsingReduce 4515 4539 +0.5% 0.99x (?)
FrequenciesUsingReduceInto 1384 1387 +0.2% 1.00x (?)
HashTest 953 950 -0.3% 1.00x (?)
Histogram 629 620 -1.4% 1.01x
Integrate 312 307 -1.6% 1.02x
IterateData 1349 1388 +2.9% 0.97x
Join 146 146 +0.0% 1.00x
LazilyFilteredArrayContains 33619 32913 -2.1% 1.02x
LazilyFilteredArrays 59340 59120 -0.4% 1.00x
LazilyFilteredRange 3469 3466 -0.1% 1.00x
LessSubstringSubstring 44 44 +0.0% 1.00x
LessSubstringSubstringGenericComparable 44 44 +0.0% 1.00x
LinkedList 6825 6818 -0.1% 1.00x (?)
LuhnAlgoEager 290 289 -0.3% 1.00x (?)
LuhnAlgoLazy 286 291 +1.7% 0.98x
MapReduceAnyCollectionShort 2032 2065 +1.6% 0.98x (?)
MapReduceClass 2720 2690 -1.1% 1.01x
MapReduceClassShort 4100 4079 -0.5% 1.01x (?)
MapReduceLazyCollection 12 12 +0.0% 1.00x
MapReduceLazySequence 77 77 +0.0% 1.00x
MapReduceSequence 418 417 -0.2% 1.00x (?)
MapReduceShort 1788 1819 +1.7% 0.98x
MapReduceShortString 20 21 +5.0% 0.95x
Memset 199 193 -3.0% 1.03x
MonteCarloE 9309 9174 -1.5% 1.01x
MonteCarloPi 38433 38330 -0.3% 1.00x
NSError 156 155 -0.6% 1.01x
NSStringConversion 616 620 +0.6% 0.99x
NibbleSort 3294 3319 +0.8% 0.99x
ObjectAllocation 118 118 +0.0% 1.00x
ObjectiveCBridgeFromNSArrayAnyObjectForced 4401 4378 -0.5% 1.01x (?)
ObjectiveCBridgeFromNSArrayAnyObjectToStringForced 40745 41247 +1.2% 0.99x (?)
ObjectiveCBridgeFromNSSetAnyObject 47362 48270 +1.9% 0.98x (?)
ObjectiveCBridgeFromNSSetAnyObjectForced 4386 4558 +3.9% 0.96x (?)
ObjectiveCBridgeFromNSSetAnyObjectToString 60179 58644 -2.6% 1.03x (?)
ObjectiveCBridgeFromNSString 1065 1065 +0.0% 1.00x
ObjectiveCBridgeFromNSStringForced 2422 2438 +0.7% 0.99x (?)
ObjectiveCBridgeStubDataAppend 10068 10255 +1.9% 0.98x (?)
ObjectiveCBridgeStubDateMutation 359 359 +0.0% 1.00x
ObjectiveCBridgeStubNSDataAppend 2341 2294 -2.0% 1.02x (?)
ObjectiveCBridgeStubToArrayOfNSString 35266 34973 -0.8% 1.01x (?)
ObjectiveCBridgeStubToNSDate 14091 13957 -1.0% 1.01x (?)
ObjectiveCBridgeStubToNSDateRef 3114 3096 -0.6% 1.01x (?)
ObjectiveCBridgeStubToNSString 2140 2153 +0.6% 0.99x (?)
ObjectiveCBridgeStubToNSStringRef 109 104 -4.6% 1.05x
ObjectiveCBridgeStubURLAppendPath 252589 263608 +4.4% 0.96x (?)
ObjectiveCBridgeStubURLAppendPathRef 252688 254698 +0.8% 0.99x (?)
ObjectiveCBridgeToNSArray 13747 13287 -3.3% 1.03x (?)
ObjectiveCBridgeToNSDictionary 23785 23607 -0.7% 1.01x (?)
ObjectiveCBridgeToNSSet 15791 15463 -2.1% 1.02x (?)
ObjectiveCBridgeToNSString 451 448 -0.7% 1.01x
ObserverClosure 1933 1934 +0.1% 1.00x (?)
ObserverForwarderStruct 1057 1051 -0.6% 1.01x (?)
ObserverPartiallyAppliedMethod 3347 3357 +0.3% 1.00x (?)
ObserverUnappliedMethod 2221 2175 -2.1% 1.02x
OpenClose 302 305 +1.0% 0.99x
PartialApplyDynamicType 0 0 +0.0% 1.00x
Phonebook 4221 4145 -1.8% 1.02x
PolymorphicCalls 22 22 +0.0% 1.00x
PopFrontArray 1760 1760 +0.0% 1.00x
PopFrontArrayGeneric 1768 1779 +0.6% 0.99x (?)
PopFrontUnsafePointer 8702 8617 -1.0% 1.01x
PrefixAnyCollection 75 75 +0.0% 1.00x
PrefixAnyCollectionLazy 57770 57013 -1.3% 1.01x (?)
PrefixAnySeqCRangeIter 15124 15075 -0.3% 1.00x (?)
PrefixAnySeqCRangeIterLazy 15136 15085 -0.3% 1.00x
PrefixAnySeqCntRange 25 25 +0.0% 1.00x
PrefixAnySeqCntRangeLazy 25 25 +0.0% 1.00x
PrefixAnySequence 3879 3893 +0.4% 1.00x (?)
PrefixAnySequenceLazy 3880 3892 +0.3% 1.00x (?)
PrefixArray 31 31 +0.0% 1.00x
PrefixArrayLazy 31 31 +0.0% 1.00x
PrefixCountableRange 31 31 +0.0% 1.00x
PrefixCountableRangeLazy 31 31 +0.0% 1.00x
PrefixSequence 1995 1994 -0.1% 1.00x (?)
PrefixSequenceLazy 2042 2040 -0.1% 1.00x
PrefixWhileAnyCollection 138 138 +0.0% 1.00x
PrefixWhileAnyCollectionLazy 81 81 +0.0% 1.00x
PrefixWhileAnySeqCRangeIter 7889 7884 -0.1% 1.00x (?)
PrefixWhileAnySeqCRangeIterLazy 65 65 +0.0% 1.00x
PrefixWhileAnySeqCntRange 53 53 +0.0% 1.00x
PrefixWhileAnySeqCntRangeLazy 81 81 +0.0% 1.00x
PrefixWhileAnySequence 8813 8770 -0.5% 1.00x (?)
PrefixWhileAnySequenceLazy 1250 1250 +0.0% 1.00x
PrefixWhileArray 79 79 +0.0% 1.00x
PrefixWhileArrayLazy 63 63 +0.0% 1.00x
PrefixWhileCountableRange 33 32 -3.0% 1.03x
PrefixWhileCountableRangeLazy 31 31 +0.0% 1.00x
PrefixWhileSequence 324 324 +0.0% 1.00x
PrefixWhileSequenceLazy 47 47 +0.0% 1.00x
Prims 819 812 -0.9% 1.01x (?)
PrimsSplit 821 838 +2.1% 0.98x (?)
QueueConcrete 1022 1026 +0.4% 1.00x
QueueGeneric 1022 1027 +0.5% 1.00x
RGBHistogram 2966 2929 -1.2% 1.01x
RGBHistogramOfObjects 21363 21406 +0.2% 1.00x (?)
RandomDoubleDef 25037 25217 +0.7% 0.99x
RandomDoubleLCG 3905 4005 +2.6% 0.98x
RandomIntegersDef 23040 23124 +0.4% 1.00x
RandomIntegersLCG 2138 2126 -0.6% 1.01x
RandomShuffleDef 746335 741609 -0.6% 1.01x
RandomShuffleLCG 137860 133761 -3.0% 1.03x
RangeAssignment 303 314 +3.6% 0.96x
RangeReplaceableCollectionPlusDefault 913 923 +1.1% 0.99x (?)
RecursiveOwnedParameter 103 103 +0.0% 1.00x
RemoveWhereFilterInts 41 42 +2.4% 0.98x
RemoveWhereFilterString 229 229 +0.0% 1.00x
RemoveWhereFilterStrings 391 390 -0.3% 1.00x (?)
RemoveWhereMoveInts 13 13 +0.0% 1.00x
RemoveWhereMoveStrings 634 635 +0.2% 1.00x (?)
RemoveWhereQuadraticInts 1158 1161 +0.3% 1.00x (?)
RemoveWhereQuadraticString 364 355 -2.5% 1.03x
RemoveWhereQuadraticStrings 2477 2480 +0.1% 1.00x (?)
RemoveWhereSwapInts 17 17 +0.0% 1.00x
RemoveWhereSwapStrings 772 772 +0.0% 1.00x
ReversedArray 51 51 +0.0% 1.00x
ReversedBidirectional 15182 14999 -1.2% 1.01x (?)
ReversedDictionary 205 205 +0.0% 1.00x
RomanNumbers 77976 77454 -0.7% 1.01x
SequenceAlgosAnySequence 10872 10870 -0.0% 1.00x (?)
SequenceAlgosArray 1387 1387 +0.0% 1.00x
SequenceAlgosContiguousArray 1386 1388 +0.1% 1.00x (?)
SequenceAlgosList 1216 1216 +0.0% 1.00x
SequenceAlgosRange 2312 2313 +0.0% 1.00x (?)
SequenceAlgosUnfoldSequence 989 989 +0.0% 1.00x
SetExclusiveOr 4689 4675 -0.3% 1.00x (?)
SetExclusiveOr_OfObjects 10652 10684 +0.3% 1.00x (?)
SetIntersect 626 629 +0.5% 1.00x (?)
SetIntersect_OfObjects 1607 1585 -1.4% 1.01x
SetIsSubsetOf 318 318 +0.0% 1.00x
SetIsSubsetOf_OfObjects 404 404 +0.0% 1.00x
SetUnion 4015 4006 -0.2% 1.00x (?)
SetUnion_OfObjects 9095 9222 +1.4% 0.99x
SevenBoom 798 789 -1.1% 1.01x
SortLargeExistentials 5446 5344 -1.9% 1.02x
SortLettersInPlace 953 967 +1.5% 0.99x
SortSortedStrings 940 909 -3.3% 1.03x
SortStrings 1824 1769 -3.0% 1.03x
SortStringsUnicode 2326 2279 -2.0% 1.02x
StackPromo 22587 22522 -0.3% 1.00x (?)
StrComplexWalk 1601 1601 +0.0% 1.00x
StrToInt 2900 2878 -0.8% 1.01x
StringAdder 764 748 -2.1% 1.02x
StringBuilder 685 681 -0.6% 1.01x
StringBuilderSmallReservingCapacity 704 699 -0.7% 1.01x
StringBuilderWithLongSubstring 1333 1306 -2.0% 1.02x
StringComparison_abnormal 733 711 -3.0% 1.03x (?)
StringComparison_ascii 1163 1141 -1.9% 1.02x
StringComparison_emoji 723 720 -0.4% 1.00x
StringComparison_fastPrenormal 751 733 -2.4% 1.02x
StringComparison_latin1 587 577 -1.7% 1.02x
StringComparison_longSharedPrefix 844 835 -1.1% 1.01x
StringComparison_nonBMPSlowestPrenormal 1417 1422 +0.4% 1.00x (?)
StringComparison_slowerPrenormal 1517 1519 +0.1% 1.00x (?)
StringComparison_zalgo 111978 112167 +0.2% 1.00x (?)
StringEdits 154978 153376 -1.0% 1.01x (?)
StringEnumRawValueInitialization 839 831 -1.0% 1.01x
StringEqualPointerComparison 256 265 +3.5% 0.97x
StringFromLongWholeSubstringGeneric 21 21 +0.0% 1.00x
StringHasPrefixAscii 2055 2055 +0.0% 1.00x
StringHasPrefixUnicode 91432 91446 +0.0% 1.00x (?)
StringHasSuffixAscii 2241 2184 -2.5% 1.03x
StringHasSuffixUnicode 91255 91075 -0.2% 1.00x (?)
StringInterpolation 9003 9065 +0.7% 0.99x (?)
StringInterpolationManySmallSegments 18578 18477 -0.5% 1.01x (?)
StringInterpolationSmall 5441 5366 -1.4% 1.01x (?)
StringMatch 11359 11084 -2.4% 1.02x
StringRemoveDupes 467 468 +0.2% 1.00x (?)
StringUTF16Builder 2420 2453 +1.4% 0.99x (?)
StringUTF16SubstringBuilder 5369 5311 -1.1% 1.01x (?)
StringWalk 1291 1288 -0.2% 1.00x (?)
StringWithCString 38171 38159 -0.0% 1.00x (?)
StringWordBuilder 2157 2155 -0.1% 1.00x (?)
StringWordBuilderReservingCapacity 1715 1726 +0.6% 0.99x
SubstringComparable 24 24 +0.0% 1.00x
SubstringEqualString 552 557 +0.9% 0.99x
SubstringEquatable 1251 1249 -0.2% 1.00x (?)
SubstringFromLongString 9 9 +0.0% 1.00x
SuffixAnyCollection 28 28 +0.0% 1.00x
SuffixAnyCollectionLazy 18714 19042 +1.8% 0.98x
SuffixAnySeqCRangeIter 3388 3363 -0.7% 1.01x
SuffixAnySeqCRangeIterLazy 3382 3351 -0.9% 1.01x (?)
SuffixAnySeqCntRange 18 18 +0.0% 1.00x
SuffixAnySeqCntRangeLazy 18 18 +0.0% 1.00x
SuffixAnySequence 4404 4404 +0.0% 1.00x
SuffixAnySequenceLazy 4494 4515 +0.5% 1.00x
SuffixCountableRange 10 10 +0.0% 1.00x
SuffixCountableRangeLazy 10 10 +0.0% 1.00x
SuffixSequence 3208 3249 +1.3% 0.99x
SuffixSequenceLazy 3205 3243 +1.2% 0.99x
SumUsingReduce 91 87 -4.4% 1.05x
SumUsingReduceInto 87 91 +4.6% 0.96x
SuperChars 13525 13211 -2.3% 1.02x
TwoSum 1347 1335 -0.9% 1.01x (?)
TypeFlood 0 0 +0.0% 1.00x
Walsh 378 388 +2.6% 0.97x
WordCountHistogramASCII 7039 6861 -2.5% 1.03x
WordCountHistogramUTF16 13165 13328 +1.2% 0.99x
WordCountUniqueASCII 1949 1952 +0.2% 1.00x
WordCountUniqueUTF16 7111 7186 +1.1% 0.99x (?)
WordSplitASCII 6020 5971 -0.8% 1.01x (?)
WordSplitUTF16 7564 7638 +1.0% 0.99x (?)
XorLoop 344 336 -2.3% 1.02x
Added (1)
TEST MIN MAX MEAN MAX_RSS
OpaqueConsumingUsers 3751 3753 3752 7684096
Hardware Overview
  Model Name: Mac Pro
  Model Identifier: MacPro6,1
  Processor Name: 8-Core Intel Xeon E5
  Processor Speed: 3 GHz
  Number of Processors: 1
  Total Number of Cores: 8
  L2 Cache (per Core): 256 KB
  L3 Cache: 25 MB
  Memory: 64 GB

@gottesmm gottesmm merged commit 4ddeba1 into swiftlang:master May 25, 2018
@gottesmm gottesmm deleted the pr-769c02db89f9caceec9c48e9e9f081fe78655b9a branch May 25, 2018 05:57
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