Skip to content

[benchmarks] Move StringComparison Workload initialization out of the… #16744

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

… timing loop.

I want to create some larger/more expensive workloads for this. So move all
StringComparison initialization out of the loop just to be standard.

rdar://40371840

… timing loop.

I want to create some larger/more expensive workloads for this. So move all
StringComparison initialization out of the loop just to be standard.

rdar://40371840
@gottesmm
Copy link
Contributor Author

@swift-ci smoke benchmark

@gottesmm
Copy link
Contributor Author

@swift-ci smoke test

@swift-ci
Copy link
Contributor

Build comment file:

Optimized (O)

Regression (25)
TEST OLD NEW DELTA SPEEDUP
DictionarySwapAt 7042 8741 +24.1% 0.81x
ObjectiveCBridgeStubFromArrayOfNSString 32559 37532 +15.3% 0.87x (?)
CharIndexing_tweet_unicodeScalars 31764 35267 +11.0% 0.90x (?)
StaticArray 10 11 +10.0% 0.91x
CharIteration_utf16_unicodeScalars_Backwards 17775 19521 +9.8% 0.91x
PopFrontUnsafePointer 8741 9554 +9.3% 0.91x (?)
DataAppendBytes 6141 6710 +9.3% 0.92x (?)
CharIteration_russian_unicodeScalars_Backwards 11979 13011 +8.6% 0.92x
CharIteration_ascii_unicodeScalars_Backwards 14370 15573 +8.4% 0.92x
CharIteration_japanese_unicodeScalars_Backwards 17191 18628 +8.4% 0.92x
CharIteration_korean_unicodeScalars_Backwards 13928 15087 +8.3% 0.92x
CharIteration_chinese_unicodeScalars_Backwards 10891 11794 +8.3% 0.92x
CharIndexing_russian_unicodeScalars 13616 14724 +8.1% 0.92x (?)
CharIteration_punctuated_unicodeScalars_Backwards 3267 3528 +8.0% 0.93x
CharIteration_punctuatedJapanese_unicodeScalars_Backwards 2614 2821 +7.9% 0.93x
CharIndexing_korean_unicodeScalars 15893 17119 +7.7% 0.93x (?)
DropLastAnySeqCntRangeLazy 13 14 +7.7% 0.93x
CharIteration_tweet_unicodeScalars_Backwards 28730 30768 +7.1% 0.93x
DataReplaceSmallBuffer 11907 12721 +6.8% 0.94x (?)
CharIndexing_ascii_unicodeScalars 16150 17191 +6.4% 0.94x (?)
CharIndexing_punctuatedJapanese_unicodeScalars_Backwards 2973 3155 +6.1% 0.94x (?)
CharIndexing_chinese_unicodeScalars 12280 13014 +6.0% 0.94x (?)
CharIndexing_punctuated_unicodeScalars 3703 3909 +5.6% 0.95x (?)
CharIndexing_punctuatedJapanese_unicodeScalars 2962 3122 +5.4% 0.95x
CharIteration_tweet_unicodeScalars 40174 42323 +5.3% 0.95x
Improvement (13)
TEST OLD NEW DELTA SPEEDUP
ObjectiveCBridgeStubFromNSDate 7183 5996 -16.5% 1.20x
DictionaryKeysContainsCocoa 47 40 -14.9% 1.17x (?)
SuffixCountableRangeLazy 12 11 -8.3% 1.09x
StringUTF16SubstringBuilder 6255 5752 -8.0% 1.09x
CharIndexing_russian_unicodeScalars_Backwards 14655 13530 -7.7% 1.08x (?)
PrefixAnyCollectionLazy 68939 63790 -7.5% 1.08x (?)
ObjectiveCBridgeToNSSet 17591 16494 -6.2% 1.07x (?)
DropFirstAnyCollectionLazy 67900 63763 -6.1% 1.06x (?)
DictionaryKeysContainsNative 34 32 -5.9% 1.06x (?)
CharIndexing_japanese_unicodeScalars 21743 20573 -5.4% 1.06x (?)
ObjectiveCBridgeFromNSArrayAnyObjectToString 48130 45699 -5.1% 1.05x
DataAppendDataSmallToSmall 7150 6792 -5.0% 1.05x (?)
DataReplaceMedium 13855 13172 -4.9% 1.05x (?)
No Changes (398)
TEST OLD NEW DELTA SPEEDUP
AngryPhonebook 3803 3865 +1.6% 0.98x (?)
AnyHashableWithAClass 88029 87168 -1.0% 1.01x (?)
Array2D 2859 2859 +0.0% 1.00x
ArrayAppend 1106 1110 +0.4% 1.00x (?)
ArrayAppendArrayOfInt 797 799 +0.3% 1.00x (?)
ArrayAppendAscii 4011 4017 +0.1% 1.00x (?)
ArrayAppendAsciiSubstring 46241 46252 +0.0% 1.00x (?)
ArrayAppendFromGeneric 800 799 -0.1% 1.00x (?)
ArrayAppendGenericStructs 1428 1424 -0.3% 1.00x (?)
ArrayAppendLatin1 41482 41301 -0.4% 1.00x
ArrayAppendLatin1Substring 195049 195384 +0.2% 1.00x
ArrayAppendLazyMap 1343 1343 +0.0% 1.00x
ArrayAppendOptionals 1443 1427 -1.1% 1.01x
ArrayAppendRepeatCol 1373 1350 -1.7% 1.02x
ArrayAppendReserved 841 842 +0.1% 1.00x
ArrayAppendSequence 1124 1122 -0.2% 1.00x (?)
ArrayAppendStrings 6211 6219 +0.1% 1.00x (?)
ArrayAppendToFromGeneric 801 800 -0.1% 1.00x (?)
ArrayAppendToGeneric 806 801 -0.6% 1.01x (?)
ArrayAppendUTF16 40373 39905 -1.2% 1.01x
ArrayAppendUTF16Substring 197697 196727 -0.5% 1.00x
ArrayInClass 86 85 -1.2% 1.01x
ArrayLiteral 0 0 +0.0% 1.00x
ArrayOfGenericPOD2 151 151 +0.0% 1.00x
ArrayOfGenericRef 4410 4464 +1.2% 0.99x
ArrayOfPOD 184 184 +0.0% 1.00x
ArrayOfRef 4399 4399 +0.0% 1.00x
ArrayPlusEqualArrayOfInt 797 802 +0.6% 0.99x (?)
ArrayPlusEqualFiveElementCollection 5566 5619 +1.0% 0.99x
ArrayPlusEqualSingleElementCollection 1109 1110 +0.1% 1.00x (?)
ArrayPlusEqualThreeElements 1649 1660 +0.7% 0.99x (?)
ArraySubscript 1528 1523 -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 108 107 -0.9% 1.01x
COWTree 5466 5554 +1.6% 0.98x (?)
CSVParsing 696177 699176 +0.4% 1.00x (?)
CSVParsingAlt 792802 789910 -0.4% 1.00x (?)
CSVParsingAltIndices 336755 338360 +0.5% 1.00x (?)
CStringLongAscii 4378 4385 +0.2% 1.00x (?)
CStringLongNonAscii 2407 2410 +0.1% 1.00x (?)
CStringShortAscii 3387 3360 -0.8% 1.01x (?)
Calculator 1190 1171 -1.6% 1.02x
CaptureProp 4108 4120 +0.3% 1.00x (?)
ChainedFilterMap 1248 1250 +0.2% 1.00x (?)
CharIndexing_ascii_unicodeScalars_Backwards 16006 16425 +2.6% 0.97x (?)
CharIndexing_chinese_unicodeScalars_Backwards 12131 12284 +1.3% 0.99x (?)
CharIndexing_japanese_unicodeScalars_Backwards 19194 19998 +4.2% 0.96x (?)
CharIndexing_korean_unicodeScalars_Backwards 16084 15730 -2.2% 1.02x (?)
CharIndexing_punctuated_unicodeScalars_Backwards 3886 3785 -2.6% 1.03x (?)
CharIndexing_tweet_unicodeScalars_Backwards 31604 31999 +1.2% 0.99x
CharIndexing_utf16_unicodeScalars 23247 23979 +3.1% 0.97x (?)
CharIndexing_utf16_unicodeScalars_Backwards 23525 24255 +3.1% 0.97x (?)
CharIteration_ascii_unicodeScalars 20602 21322 +3.5% 0.97x
CharIteration_chinese_unicodeScalars 15588 16127 +3.5% 0.97x
CharIteration_japanese_unicodeScalars 24668 25518 +3.4% 0.97x
CharIteration_korean_unicodeScalars 19968 20670 +3.5% 0.97x
CharIteration_punctuatedJapanese_unicodeScalars 3701 3812 +3.0% 0.97x
CharIteration_punctuated_unicodeScalars 4636 4791 +3.3% 0.97x
CharIteration_russian_unicodeScalars 17172 17724 +3.2% 0.97x
CharIteration_utf16_unicodeScalars 27726 27969 +0.9% 0.99x
CharacterLiteralsLarge 6100 6051 -0.8% 1.01x (?)
CharacterLiteralsSmall 217 217 +0.0% 1.00x
CharacterPropertiesFetch 4613 4558 -1.2% 1.01x (?)
CharacterPropertiesPrecomputed 1102 1103 +0.1% 1.00x (?)
CharacterPropertiesStashed 1452 1447 -0.3% 1.00x
CharacterPropertiesStashedMemo 1553 1545 -0.5% 1.01x (?)
Chars 1093 1093 +0.0% 1.00x
ClassArrayGetter 15 15 +0.0% 1.00x
Combos 496 494 -0.4% 1.00x (?)
DataAccessBytes 1165 1149 -1.4% 1.01x
DataAppendArray 6308 6314 +0.1% 1.00x (?)
DataAppendDataLargeToLarge 69335 71060 +2.5% 0.98x (?)
DataAppendDataLargeToMedium 36574 36756 +0.5% 1.00x (?)
DataAppendDataLargeToSmall 35446 35677 +0.7% 0.99x (?)
DataAppendDataMediumToLarge 39627 38896 -1.8% 1.02x (?)
DataAppendDataMediumToMedium 7960 8255 +3.7% 0.96x (?)
DataAppendDataMediumToSmall 7130 7068 -0.9% 1.01x (?)
DataAppendDataSmallToLarge 38165 39048 +2.3% 0.98x (?)
DataAppendDataSmallToMedium 7718 7536 -2.4% 1.02x (?)
DataAppendSequence 21543 20629 -4.2% 1.04x (?)
DataCopyBytes 2578 2579 +0.0% 1.00x (?)
DataCount 38 38 +0.0% 1.00x
DataMutateBytes 4519 4422 -2.1% 1.02x
DataReplaceLarge 42069 43875 +4.3% 0.96x (?)
DataReplaceLargeBuffer 62040 61433 -1.0% 1.01x (?)
DataReplaceMediumBuffer 16093 16026 -0.4% 1.00x (?)
DataReplaceSmall 9814 10148 +3.4% 0.97x (?)
DataReset 3220 3324 +3.2% 0.97x
DataSetCount 903 895 -0.9% 1.01x
DataSubscript 237 239 +0.8% 0.99x
DictOfArraysToArrayOfDicts 819 832 +1.6% 0.98x (?)
Dictionary 681 681 +0.0% 1.00x
Dictionary2 811 810 -0.1% 1.00x (?)
Dictionary2OfObjects 2244 2248 +0.2% 1.00x (?)
Dictionary3 251 254 +1.2% 0.99x
Dictionary3OfObjects 771 772 +0.1% 1.00x (?)
Dictionary4 345 345 +0.0% 1.00x
Dictionary4Legacy 733 734 +0.1% 1.00x
Dictionary4OfObjects 452 456 +0.9% 0.99x
Dictionary4OfObjectsLegacy 942 937 -0.5% 1.01x
DictionaryBridge 1243 1242 -0.1% 1.00x (?)
DictionaryCopy 108862 108693 -0.2% 1.00x (?)
DictionaryFilter 107074 106948 -0.1% 1.00x (?)
DictionaryGroup 215 216 +0.5% 1.00x (?)
DictionaryGroupOfObjects 2203 2212 +0.4% 1.00x (?)
DictionaryLiteral 1997 1947 -2.5% 1.03x
DictionaryOfObjects 2532 2569 +1.5% 0.99x (?)
DictionaryRemove 4223 4381 +3.7% 0.96x
DictionaryRemoveOfObjects 26348 26309 -0.1% 1.00x (?)
DictionarySubscriptDefaultMutation 271 273 +0.7% 0.99x
DictionarySubscriptDefaultMutationArray 670 647 -3.4% 1.04x (?)
DictionarySubscriptDefaultMutationArrayOfObjects 4051 4027 -0.6% 1.01x
DictionarySubscriptDefaultMutationOfObjects 1720 1718 -0.1% 1.00x (?)
DictionarySwap 1030 1030 +0.0% 1.00x
DictionarySwapAtOfObjects 52194 52025 -0.3% 1.00x (?)
DictionarySwapOfObjects 8906 8792 -1.3% 1.01x (?)
DoubleWidthDivision 0 0 +0.0% 1.00x
DropFirstAnyCollection 84 83 -1.2% 1.01x
DropFirstAnySeqCRangeIter 21747 21833 +0.4% 1.00x (?)
DropFirstAnySeqCRangeIterLazy 21852 21860 +0.0% 1.00x (?)
DropFirstAnySeqCntRange 41 41 +0.0% 1.00x
DropFirstAnySeqCntRangeLazy 41 41 +0.0% 1.00x
DropFirstAnySequence 4971 4993 +0.4% 1.00x (?)
DropFirstAnySequenceLazy 4965 4982 +0.3% 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 2680 2680 +0.0% 1.00x
DropFirstSequenceLazy 2769 2770 +0.0% 1.00x (?)
DropLastAnyCollection 30 31 +3.3% 0.97x (?)
DropLastAnyCollectionLazy 21734 22724 +4.6% 0.96x (?)
DropLastAnySeqCRangeIter 3538 3545 +0.2% 1.00x (?)
DropLastAnySeqCRangeIterLazy 3543 3578 +1.0% 0.99x (?)
DropLastAnySeqCntRange 13 13 +0.0% 1.00x
DropLastAnySequence 4934 4954 +0.4% 1.00x (?)
DropLastAnySequenceLazy 5046 5066 +0.4% 1.00x (?)
DropLastCountableRange 12 12 +0.0% 1.00x
DropLastCountableRangeLazy 11 11 +0.0% 1.00x
DropLastSequence 662 664 +0.3% 1.00x (?)
DropLastSequenceLazy 662 661 -0.2% 1.00x (?)
DropWhileAnyCollection 107 107 +0.0% 1.00x
DropWhileAnyCollectionLazy 125 125 +0.0% 1.00x
DropWhileAnySeqCRangeIter 17013 17056 +0.3% 1.00x (?)
DropWhileAnySeqCRangeIterLazy 125 126 +0.8% 0.99x
DropWhileAnySeqCntRange 51 51 +0.0% 1.00x
DropWhileAnySeqCntRangeLazy 125 125 +0.0% 1.00x
DropWhileAnySequence 4831 4833 +0.0% 1.00x (?)
DropWhileAnySequenceLazy 1856 1856 +0.0% 1.00x
DropWhileArrayLazy 88 88 +0.0% 1.00x
DropWhileCountableRange 36 36 +0.0% 1.00x
DropWhileCountableRangeLazy 105 105 +0.0% 1.00x
DropWhileSequence 2225 2223 -0.1% 1.00x (?)
DropWhileSequenceLazy 88 88 +0.0% 1.00x
EqualStringSubstring 48 49 +2.1% 0.98x
EqualSubstringString 49 49 +0.0% 1.00x
EqualSubstringSubstring 48 48 +0.0% 1.00x
EqualSubstringSubstringGenericEquatable 48 48 +0.0% 1.00x
ErrorHandling 1600 1587 -0.8% 1.01x (?)
ExclusivityGlobal 5 5 +0.0% 1.00x
ExclusivityIndependent 2 2 +0.0% 1.00x
FatCompactMap 209523 209279 -0.1% 1.00x
FilterEvenUsingReduce 1324 1326 +0.2% 1.00x (?)
FilterEvenUsingReduceInto 151 150 -0.7% 1.01x (?)
FloatingPointPrinting_Double_description_small 24400 24164 -1.0% 1.01x
FloatingPointPrinting_Double_description_uniform 23357 23363 +0.0% 1.00x (?)
FloatingPointPrinting_Double_interpolated 68938 68554 -0.6% 1.01x
FloatingPointPrinting_Float80_description_small 30941 30954 +0.0% 1.00x (?)
FloatingPointPrinting_Float80_description_uniform 30453 30237 -0.7% 1.01x (?)
FloatingPointPrinting_Float80_interpolated 72553 72159 -0.5% 1.01x (?)
FloatingPointPrinting_Float_description_small 5464 5411 -1.0% 1.01x
FloatingPointPrinting_Float_description_uniform 5260 5175 -1.6% 1.02x
FloatingPointPrinting_Float_interpolated 42041 42027 -0.0% 1.00x (?)
FrequenciesUsingReduce 5095 5301 +4.0% 0.96x
FrequenciesUsingReduceInto 1597 1602 +0.3% 1.00x (?)
Hanoi 2177 2121 -2.6% 1.03x
HashTest 1061 1059 -0.2% 1.00x (?)
Histogram 704 702 -0.3% 1.00x
Integrate 353 345 -2.3% 1.02x
IterateData 1864 1874 +0.5% 0.99x (?)
Join 165 165 +0.0% 1.00x
LazilyFilteredArrayContains 37459 36265 -3.2% 1.03x
LazilyFilteredArrays 65451 65359 -0.1% 1.00x (?)
LazilyFilteredRange 3881 3890 +0.2% 1.00x
LessSubstringSubstring 49 49 +0.0% 1.00x
LessSubstringSubstringGenericComparable 49 49 +0.0% 1.00x
LinkedList 7558 7550 -0.1% 1.00x (?)
LuhnAlgoEager 323 319 -1.2% 1.01x
LuhnAlgoLazy 322 321 -0.3% 1.00x
MapReduce 372 373 +0.3% 1.00x
MapReduceAnyCollection 431 430 -0.2% 1.00x (?)
MapReduceAnyCollectionShort 2285 2284 -0.0% 1.00x (?)
MapReduceClass 3009 3026 +0.6% 0.99x (?)
MapReduceClassShort 4554 4582 +0.6% 0.99x (?)
MapReduceLazyCollection 13 13 +0.0% 1.00x
MapReduceLazyCollectionShort 37 37 +0.0% 1.00x
MapReduceLazySequence 86 86 +0.0% 1.00x
MapReduceSequence 454 455 +0.2% 1.00x (?)
MapReduceShort 2014 2014 +0.0% 1.00x
MapReduceShortString 23 23 +0.0% 1.00x
MapReduceString 81 81 +0.0% 1.00x
Memset 222 221 -0.5% 1.00x (?)
MonteCarloE 10312 10320 +0.1% 1.00x (?)
MonteCarloPi 42706 42714 +0.0% 1.00x (?)
NSDictionaryCastToSwift 7064 6904 -2.3% 1.02x (?)
NSError 173 174 +0.6% 0.99x (?)
NSStringConversion 726 724 -0.3% 1.00x (?)
NibbleSort 3672 3672 +0.0% 1.00x
NopDeinit 32378 32318 -0.2% 1.00x
ObjectAllocation 133 132 -0.8% 1.01x (?)
ObjectiveCBridgeFromNSArrayAnyObject 25913 26253 +1.3% 0.99x (?)
ObjectiveCBridgeFromNSArrayAnyObjectForced 4602 4776 +3.8% 0.96x (?)
ObjectiveCBridgeFromNSArrayAnyObjectToStringForced 43911 44441 +1.2% 0.99x (?)
ObjectiveCBridgeFromNSDictionaryAnyObject 107464 108240 +0.7% 0.99x (?)
ObjectiveCBridgeFromNSSetAnyObject 53800 53585 -0.4% 1.00x (?)
ObjectiveCBridgeFromNSSetAnyObjectForced 4908 4860 -1.0% 1.01x (?)
ObjectiveCBridgeFromNSSetAnyObjectToString 68681 66209 -3.6% 1.04x (?)
ObjectiveCBridgeFromNSString 1236 1228 -0.6% 1.01x
ObjectiveCBridgeFromNSStringForced 2615 2625 +0.4% 1.00x (?)
ObjectiveCBridgeStubDataAppend 11635 11379 -2.2% 1.02x (?)
ObjectiveCBridgeStubDateMutation 401 401 +0.0% 1.00x
ObjectiveCBridgeStubFromNSString 1036 1022 -1.4% 1.01x (?)
ObjectiveCBridgeStubFromNSStringRef 172 167 -2.9% 1.03x
ObjectiveCBridgeStubNSDataAppend 2623 2509 -4.3% 1.05x (?)
ObjectiveCBridgeStubNSDateMutationRef 13381 13006 -2.8% 1.03x (?)
ObjectiveCBridgeStubToArrayOfNSString 39196 39668 +1.2% 0.99x (?)
ObjectiveCBridgeStubToNSDate 15383 15400 +0.1% 1.00x (?)
ObjectiveCBridgeStubToNSDateRef 3450 3428 -0.6% 1.01x (?)
ObjectiveCBridgeStubToNSString 2419 2413 -0.2% 1.00x (?)
ObjectiveCBridgeStubToNSStringRef 124 121 -2.4% 1.02x
ObjectiveCBridgeStubURLAppendPath 300325 297798 -0.8% 1.01x (?)
ObjectiveCBridgeStubURLAppendPathRef 284076 295950 +4.2% 0.96x (?)
ObjectiveCBridgeToNSArray 14916 14948 +0.2% 1.00x (?)
ObjectiveCBridgeToNSDictionary 26625 26857 +0.9% 0.99x (?)
ObjectiveCBridgeToNSString 484 487 +0.6% 0.99x (?)
ObserverClosure 2177 2173 -0.2% 1.00x (?)
ObserverForwarderStruct 1257 1262 +0.4% 1.00x (?)
ObserverPartiallyAppliedMethod 3778 3780 +0.1% 1.00x (?)
ObserverUnappliedMethod 2583 2601 +0.7% 0.99x (?)
OpenClose 346 343 -0.9% 1.01x (?)
PartialApplyDynamicType 0 0 +0.0% 1.00x
Phonebook 4613 4590 -0.5% 1.01x (?)
PointerArithmetics 31501 31517 +0.1% 1.00x (?)
PolymorphicCalls 25 25 +0.0% 1.00x
PopFrontArray 1965 1968 +0.2% 1.00x (?)
PopFrontArrayGeneric 1996 1980 -0.8% 1.01x (?)
PrefixAnyCollection 84 84 +0.0% 1.00x
PrefixAnySeqCRangeIter 16914 16935 +0.1% 1.00x (?)
PrefixAnySeqCRangeIterLazy 16904 16934 +0.2% 1.00x (?)
PrefixAnySeqCntRange 28 28 +0.0% 1.00x
PrefixAnySeqCntRangeLazy 28 28 +0.0% 1.00x
PrefixAnySequence 4338 4339 +0.0% 1.00x (?)
PrefixAnySequenceLazy 4343 4329 -0.3% 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 2225 -0.0% 1.00x
PrefixSequenceLazy 2278 2274 -0.2% 1.00x
PrefixWhileAnyCollection 154 154 +0.0% 1.00x
PrefixWhileAnyCollectionLazy 90 90 +0.0% 1.00x
PrefixWhileAnySeqCRangeIter 8657 8677 +0.2% 1.00x (?)
PrefixWhileAnySeqCRangeIterLazy 72 72 +0.0% 1.00x
PrefixWhileAnySeqCntRange 60 60 +0.0% 1.00x
PrefixWhileAnySeqCntRangeLazy 90 91 +1.1% 0.99x
PrefixWhileAnySequence 9844 9856 +0.1% 1.00x (?)
PrefixWhileAnySequenceLazy 1394 1393 -0.1% 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 362 362 +0.0% 1.00x
PrefixWhileSequenceLazy 52 52 +0.0% 1.00x
Prims 923 926 +0.3% 1.00x (?)
PrimsSplit 937 909 -3.0% 1.03x
QueueConcrete 1149 1151 +0.2% 1.00x
QueueGeneric 1150 1147 -0.3% 1.00x (?)
RC4 149 149 +0.0% 1.00x
RGBHistogram 3219 3208 -0.3% 1.00x (?)
RGBHistogramOfObjects 23894 23856 -0.2% 1.00x (?)
RandomDoubleDef 27809 27645 -0.6% 1.01x
RandomDoubleLCG 4351 4324 -0.6% 1.01x
RandomIntegersDef 25489 25507 +0.1% 1.00x (?)
RandomIntegersLCG 2353 2321 -1.4% 1.01x
RandomShuffleDef 824774 821672 -0.4% 1.00x (?)
RandomShuffleLCG 154955 154977 +0.0% 1.00x (?)
RangeAssignment 342 342 +0.0% 1.00x
RangeIterationSigned 171 171 +0.0% 1.00x
RangeReplaceableCollectionPlusDefault 1043 1027 -1.5% 1.02x (?)
RecursiveOwnedParameter 115 115 +0.0% 1.00x
RemoveWhereFilterInts 46 46 +0.0% 1.00x
RemoveWhereFilterString 251 249 -0.8% 1.01x (?)
RemoveWhereFilterStrings 437 437 +0.0% 1.00x
RemoveWhereMoveInts 14 14 +0.0% 1.00x
RemoveWhereMoveStrings 709 708 -0.1% 1.00x
RemoveWhereQuadraticInts 1296 1296 +0.0% 1.00x
RemoveWhereQuadraticString 387 381 -1.6% 1.02x (?)
RemoveWhereQuadraticStrings 2762 2766 +0.1% 1.00x (?)
RemoveWhereSwapInts 19 19 +0.0% 1.00x
RemoveWhereSwapStrings 860 861 +0.1% 1.00x (?)
ReversedArray 57 57 +0.0% 1.00x
ReversedBidirectional 16954 16918 -0.2% 1.00x (?)
ReversedDictionary 271 273 +0.7% 0.99x (?)
RomanNumbers 83531 82677 -1.0% 1.01x
SequenceAlgosAnySequence 12032 12016 -0.1% 1.00x (?)
SequenceAlgosArray 1579 1579 +0.0% 1.00x
SequenceAlgosContiguousArray 1573 1595 +1.4% 0.99x
SequenceAlgosList 1351 1351 +0.0% 1.00x
SequenceAlgosRange 2576 2576 +0.0% 1.00x
SequenceAlgosUnfoldSequence 1102 1103 +0.1% 1.00x
SetExclusiveOr 5298 5324 +0.5% 1.00x
SetExclusiveOr_OfObjects 12049 12111 +0.5% 0.99x (?)
SetIntersect 700 699 -0.1% 1.00x (?)
SetIntersect_OfObjects 1757 1799 +2.4% 0.98x
SetIsSubsetOf 354 354 +0.0% 1.00x
SetIsSubsetOf_OfObjects 449 449 +0.0% 1.00x
SetUnion 4578 4591 +0.3% 1.00x (?)
SetUnion_OfObjects 10241 10232 -0.1% 1.00x (?)
SevenBoom 886 882 -0.5% 1.00x (?)
Sim2DArray 417 417 +0.0% 1.00x
SortLargeExistentials 6106 6069 -0.6% 1.01x
SortLettersInPlace 1080 1081 +0.1% 1.00x (?)
SortSortedStrings 1007 1001 -0.6% 1.01x
SortStrings 1968 1947 -1.1% 1.01x
SortStringsUnicode 2480 2455 -1.0% 1.01x
StackPromo 25186 25168 -0.1% 1.00x (?)
StrComplexWalk 1784 1783 -0.1% 1.00x (?)
StrToInt 3202 3170 -1.0% 1.01x
StringAdder 816 819 +0.4% 1.00x
StringBuilder 734 726 -1.1% 1.01x
StringBuilderLong 1390 1363 -1.9% 1.02x (?)
StringBuilderSmallReservingCapacity 754 745 -1.2% 1.01x
StringBuilderWithLongSubstring 1466 1524 +4.0% 0.96x (?)
StringComparison_abnormal 803 837 +4.2% 0.96x (?)
StringComparison_ascii 1273 1260 -1.0% 1.01x
StringComparison_emoji 821 815 -0.7% 1.01x (?)
StringComparison_fastPrenormal 802 795 -0.9% 1.01x
StringComparison_latin1 636 625 -1.7% 1.02x
StringComparison_longSharedPrefix 932 927 -0.5% 1.01x
StringComparison_nonBMPSlowestPrenormal 1611 1605 -0.4% 1.00x (?)
StringComparison_slowerPrenormal 1757 1743 -0.8% 1.01x
StringComparison_zalgo 125191 125358 +0.1% 1.00x (?)
StringEdits 169466 169765 +0.2% 1.00x (?)
StringEnumRawValueInitialization 928 927 -0.1% 1.00x (?)
StringEqualPointerComparison 286 295 +3.1% 0.97x
StringFromLongWholeSubstring 21 21 +0.0% 1.00x
StringFromLongWholeSubstringGeneric 22 22 +0.0% 1.00x
StringHasPrefixAscii 2261 2263 +0.1% 1.00x (?)
StringHasPrefixUnicode 104182 103546 -0.6% 1.01x (?)
StringHasSuffixAscii 2443 2406 -1.5% 1.02x
StringHasSuffixUnicode 101010 101175 +0.2% 1.00x (?)
StringInterpolation 10311 10055 -2.5% 1.03x (?)
StringInterpolationManySmallSegments 20797 20686 -0.5% 1.01x (?)
StringInterpolationSmall 5994 5941 -0.9% 1.01x (?)
StringMatch 12451 12694 +2.0% 0.98x
StringRemoveDupes 529 523 -1.1% 1.01x
StringUTF16Builder 2738 2723 -0.5% 1.01x (?)
StringWalk 1419 1416 -0.2% 1.00x
StringWithCString 46837 46848 +0.0% 1.00x (?)
StringWordBuilder 2557 2566 +0.4% 1.00x (?)
StringWordBuilderReservingCapacity 1834 1837 +0.2% 1.00x (?)
SubstringComparable 27 26 -3.7% 1.04x
SubstringEqualString 611 613 +0.3% 1.00x (?)
SubstringEquatable 1450 1445 -0.3% 1.00x (?)
SubstringFromLongString 10 10 +0.0% 1.00x
SubstringFromLongStringGeneric 75 75 +0.0% 1.00x
SuffixAnyCollection 31 31 +0.0% 1.00x
SuffixAnyCollectionLazy 21852 21487 -1.7% 1.02x (?)
SuffixAnySeqCRangeIter 3755 3746 -0.2% 1.00x (?)
SuffixAnySeqCRangeIterLazy 3750 3750 +0.0% 1.00x
SuffixAnySeqCntRange 21 21 +0.0% 1.00x
SuffixAnySeqCntRangeLazy 21 21 +0.0% 1.00x
SuffixAnySequence 4932 4925 -0.1% 1.00x (?)
SuffixAnySequenceLazy 5045 5049 +0.1% 1.00x (?)
SuffixCountableRange 11 11 +0.0% 1.00x
SuffixSequence 3588 3649 +1.7% 0.98x
SuffixSequenceLazy 3595 3631 +1.0% 0.99x
SumUsingReduce 102 102 +0.0% 1.00x
SumUsingReduceInto 97 97 +0.0% 1.00x
SuperChars 14841 14852 +0.1% 1.00x (?)
TwoSum 1495 1499 +0.3% 1.00x (?)
TypeFlood 0 0 +0.0% 1.00x
UTF8Decode 319 305 -4.4% 1.05x
Walsh 431 443 +2.8% 0.97x
WordCountHistogramASCII 7763 7703 -0.8% 1.01x
WordCountHistogramUTF16 14257 14292 +0.2% 1.00x (?)
WordCountUniqueASCII 2156 2148 -0.4% 1.00x (?)
WordCountUniqueUTF16 7710 7638 -0.9% 1.01x (?)
WordSplitASCII 6620 6922 +4.6% 0.96x (?)
WordSplitUTF16 8652 8674 +0.3% 1.00x (?)
XorLoop 403 397 -1.5% 1.02x
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 7f042a7 into swiftlang:master May 20, 2018
@gottesmm gottesmm deleted the pr-2e455ec599c163c10ef601ab05763ed442892c5a branch May 20, 2018 03:36
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