Skip to content

[stdlib]Specialize remaining on _CollectionSource #17636

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
Jul 2, 2018
Merged

[stdlib]Specialize remaining on _CollectionSource #17636

merged 1 commit into from
Jul 2, 2018

Conversation

lancep
Copy link
Contributor

@lancep lancep commented Jun 29, 2018

This should speed up String hashing for some non-ascii strings

rdar://problem/41573707

@lancep
Copy link
Contributor Author

lancep commented Jun 29, 2018

@swift-ci please smoke benchmark

@lancep lancep changed the title Specialize remaining on _CollectionSource Specialize remaining on _CollectionSource Jun 29, 2018
@swift-ci
Copy link
Contributor

Build comment file:

Optimized (O)

Regression (16)
TEST OLD NEW DELTA SPEEDUP
SuffixCountableRangeLazy 11 12 +9.1% 0.92x
ObjectiveCBridgeFromNSSetAnyObject 49098 53322 +8.6% 0.92x (?)
CharIteration_russian_unicodeScalars 17185 18577 +8.1% 0.93x
CharIteration_chinese_unicodeScalars 15604 16867 +8.1% 0.93x
CharIteration_korean_unicodeScalars 20005 21607 +8.0% 0.93x
CharIteration_japanese_unicodeScalars 24680 26649 +8.0% 0.93x
CharIteration_ascii_unicodeScalars 20617 22243 +7.9% 0.93x
CharIteration_punctuated_unicodeScalars 4635 4999 +7.9% 0.93x
UTF8Decode_InitFromData_ascii 672 722 +7.4% 0.93x (?)
DataReplaceSmallBuffer 8382 9002 +7.4% 0.93x
CharIteration_punctuatedJapanese_unicodeScalars 3691 3958 +7.2% 0.93x
CharIteration_tweet_unicodeScalars 41032 43931 +7.1% 0.93x
DictionaryBridge 1209 1284 +6.2% 0.94x (?)
SetIsSubsetOf 341 362 +6.2% 0.94x
ObjectiveCBridgeFromNSSetAnyObjectForced 4960 5253 +5.9% 0.94x (?)
ObjectiveCBridgeFromNSArrayAnyObjectToStringForced 44515 47139 +5.9% 0.94x (?)
Improvement (9)
TEST OLD NEW DELTA SPEEDUP
WordCountUniqueUTF16 7694 4576 -40.5% 1.68x
WordCountHistogramUTF16 14781 11413 -22.8% 1.30x
DataCopyBytes 509 438 -13.9% 1.16x (?)
StaticArray 10 9 -10.0% 1.11x
DictionaryKeysContainsCocoa 44 40 -9.1% 1.10x
StringComparison_zalgo 123180 112890 -8.4% 1.09x
SuffixCountableRange 12 11 -8.3% 1.09x
ObjectiveCBridgeFromNSSetAnyObjectToString 73233 67833 -7.4% 1.08x (?)
UTF8Decode_InitFromBytes_ascii 510 475 -6.9% 1.07x (?)
No Changes (421)
TEST OLD NEW DELTA SPEEDUP
AngryPhonebook 3594 3558 -1.0% 1.01x (?)
AnyHashableWithAClass 90721 90802 +0.1% 1.00x (?)
Array2D 2852 2851 -0.0% 1.00x (?)
ArrayAppend 1068 1069 +0.1% 1.00x (?)
ArrayAppendArrayOfInt 799 799 +0.0% 1.00x
ArrayAppendAscii 3870 3932 +1.6% 0.98x
ArrayAppendAsciiSubstring 24983 24971 -0.0% 1.00x (?)
ArrayAppendFromGeneric 803 786 -2.1% 1.02x
ArrayAppendGenericStructs 1432 1424 -0.6% 1.01x
ArrayAppendLatin1 40973 40959 -0.0% 1.00x (?)
ArrayAppendLatin1Substring 141538 141466 -0.1% 1.00x (?)
ArrayAppendLazyMap 1346 1351 +0.4% 1.00x (?)
ArrayAppendOptionals 1426 1420 -0.4% 1.00x (?)
ArrayAppendRepeatCol 1342 1340 -0.1% 1.00x (?)
ArrayAppendReserved 800 799 -0.1% 1.00x (?)
ArrayAppendSequence 1123 1122 -0.1% 1.00x (?)
ArrayAppendStrings 6350 6344 -0.1% 1.00x (?)
ArrayAppendToFromGeneric 800 801 +0.1% 1.00x (?)
ArrayAppendToGeneric 801 802 +0.1% 1.00x (?)
ArrayAppendUTF16 39851 39883 +0.1% 1.00x (?)
ArrayAppendUTF16Substring 138758 138788 +0.0% 1.00x (?)
ArrayInClass 86 86 +0.0% 1.00x
ArrayLiteral 0 0 +0.0% 1.00x
ArrayOfGenericPOD2 151 151 +0.0% 1.00x
ArrayOfGenericRef 4387 4424 +0.8% 0.99x
ArrayOfPOD 184 185 +0.5% 0.99x
ArrayOfRef 4390 4391 +0.0% 1.00x (?)
ArrayPlusEqualArrayOfInt 807 798 -1.1% 1.01x (?)
ArrayPlusEqualFiveElementCollection 5542 5587 +0.8% 0.99x
ArrayPlusEqualSingleElementCollection 1066 1069 +0.3% 1.00x (?)
ArrayPlusEqualThreeElements 1654 1657 +0.2% 1.00x (?)
ArraySubscript 1526 1530 +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 31 31 +0.0% 1.00x
BinaryFloatingPointPropertiesNextUp 28 28 +0.0% 1.00x
BinaryFloatingPointPropertiesUlp 37 37 +0.0% 1.00x
BitCount 211 211 +0.0% 1.00x
ByteSwap 101 102 +1.0% 0.99x
COWArrayGuaranteedParameterOverhead 8627 8739 +1.3% 0.99x
COWTree 3659 3657 -0.1% 1.00x (?)
CSVParsing 655198 655524 +0.0% 1.00x (?)
CSVParsingAlt 812974 810792 -0.3% 1.00x (?)
CSVParsingAltIndices 342256 339024 -0.9% 1.01x (?)
CStringLongAscii 4196 4199 +0.1% 1.00x (?)
CStringLongNonAscii 2442 2445 +0.1% 1.00x (?)
CStringShortAscii 3330 3330 +0.0% 1.00x
Calculator 206 206 +0.0% 1.00x
CaptureProp 4079 4072 -0.2% 1.00x (?)
ChainedFilterMap 1246 1248 +0.2% 1.00x (?)
CharIndexing_ascii_unicodeScalars 16288 16292 +0.0% 1.00x
CharIndexing_ascii_unicodeScalars_Backwards 16029 16029 +0.0% 1.00x
CharIndexing_chinese_unicodeScalars 12330 12341 +0.1% 1.00x (?)
CharIndexing_chinese_unicodeScalars_Backwards 12153 12153 +0.0% 1.00x
CharIndexing_japanese_unicodeScalars 19507 19484 -0.1% 1.00x (?)
CharIndexing_japanese_unicodeScalars_Backwards 19180 19186 +0.0% 1.00x (?)
CharIndexing_korean_unicodeScalars 15801 15799 -0.0% 1.00x (?)
CharIndexing_korean_unicodeScalars_Backwards 15548 15547 -0.0% 1.00x (?)
CharIndexing_punctuatedJapanese_unicodeScalars 3001 2975 -0.9% 1.01x (?)
CharIndexing_punctuatedJapanese_unicodeScalars_Backwards 2913 2913 +0.0% 1.00x
CharIndexing_punctuated_unicodeScalars 3699 3697 -0.1% 1.00x (?)
CharIndexing_punctuated_unicodeScalars_Backwards 3649 3645 -0.1% 1.00x
CharIndexing_russian_unicodeScalars 13585 13570 -0.1% 1.00x (?)
CharIndexing_russian_unicodeScalars_Backwards 13348 13355 +0.1% 1.00x (?)
CharIndexing_tweet_unicodeScalars 32113 32092 -0.1% 1.00x (?)
CharIndexing_tweet_unicodeScalars_Backwards 31610 31615 +0.0% 1.00x (?)
CharIndexing_utf16_unicodeScalars 22866 22864 -0.0% 1.00x (?)
CharIndexing_utf16_unicodeScalars_Backwards 23264 23260 -0.0% 1.00x (?)
CharIteration_ascii_unicodeScalars_Backwards 15104 15101 -0.0% 1.00x (?)
CharIteration_chinese_unicodeScalars_Backwards 11448 11445 -0.0% 1.00x (?)
CharIteration_japanese_unicodeScalars_Backwards 18081 18096 +0.1% 1.00x
CharIteration_korean_unicodeScalars_Backwards 14659 14652 -0.0% 1.00x (?)
CharIteration_punctuatedJapanese_unicodeScalars_Backwards 2737 2738 +0.0% 1.00x (?)
CharIteration_punctuated_unicodeScalars_Backwards 3425 3425 +0.0% 1.00x
CharIteration_russian_unicodeScalars_Backwards 12585 12585 +0.0% 1.00x
CharIteration_tweet_unicodeScalars_Backwards 29828 29843 +0.1% 1.00x
CharIteration_utf16_unicodeScalars 27851 28250 +1.4% 0.99x
CharIteration_utf16_unicodeScalars_Backwards 18571 18590 +0.1% 1.00x (?)
CharacterLiteralsLarge 5860 5857 -0.1% 1.00x (?)
CharacterLiteralsSmall 220 220 +0.0% 1.00x
CharacterPropertiesFetch 4581 4601 +0.4% 1.00x (?)
CharacterPropertiesPrecomputed 996 1006 +1.0% 0.99x (?)
CharacterPropertiesStashed 1477 1486 +0.6% 0.99x (?)
CharacterPropertiesStashedMemo 1541 1549 +0.5% 0.99x (?)
Chars 1022 1021 -0.1% 1.00x (?)
ClassArrayGetter 15 15 +0.0% 1.00x
Combos 492 493 +0.2% 1.00x (?)
DataAccessBytes 1143 1143 +0.0% 1.00x
DataAppendArray 5299 5047 -4.8% 1.05x (?)
DataAppendBytes 4966 4976 +0.2% 1.00x (?)
DataAppendDataLargeToLarge 68444 67558 -1.3% 1.01x (?)
DataAppendDataLargeToMedium 35096 35613 +1.5% 0.99x (?)
DataAppendDataLargeToSmall 34499 34669 +0.5% 1.00x (?)
DataAppendDataMediumToLarge 37509 38056 +1.5% 0.99x (?)
DataAppendDataMediumToMedium 6561 6557 -0.1% 1.00x (?)
DataAppendDataMediumToSmall 6102 6223 +2.0% 0.98x (?)
DataAppendDataSmallToLarge 38662 36863 -4.7% 1.05x (?)
DataAppendDataSmallToMedium 6126 6122 -0.1% 1.00x (?)
DataAppendDataSmallToSmall 5797 6008 +3.6% 0.96x (?)
DataAppendSequence 20918 20381 -2.6% 1.03x (?)
DataCount 34 34 +0.0% 1.00x
DataMutateBytes 3959 3944 -0.4% 1.00x (?)
DataReplaceLarge 36889 37651 +2.1% 0.98x (?)
DataReplaceLargeBuffer 57032 57130 +0.2% 1.00x (?)
DataReplaceMedium 7527 7760 +3.1% 0.97x (?)
DataReplaceMediumBuffer 11358 11194 -1.4% 1.01x (?)
DataReplaceSmall 5458 5522 +1.2% 0.99x (?)
DataReset 2909 2811 -3.4% 1.03x
DataSetCount 549 549 +0.0% 1.00x
DataSubscript 220 220 +0.0% 1.00x
DictOfArraysToArrayOfDicts 789 786 -0.4% 1.00x (?)
Dictionary 508 511 +0.6% 0.99x (?)
Dictionary2 637 638 +0.2% 1.00x (?)
Dictionary2OfObjects 2087 2098 +0.5% 0.99x (?)
Dictionary3 226 226 +0.0% 1.00x
Dictionary3OfObjects 745 743 -0.3% 1.00x (?)
Dictionary4 322 320 -0.6% 1.01x
Dictionary4Legacy 698 697 -0.1% 1.00x (?)
Dictionary4OfObjects 441 441 +0.0% 1.00x
Dictionary4OfObjectsLegacy 922 926 +0.4% 1.00x (?)
DictionaryCopy 107092 107058 -0.0% 1.00x (?)
DictionaryFilter 106591 106531 -0.1% 1.00x (?)
DictionaryGroup 216 216 +0.0% 1.00x
DictionaryGroupOfObjects 2125 2125 +0.0% 1.00x
DictionaryKeysContainsNative 32 32 +0.0% 1.00x
DictionaryLiteral 1917 1902 -0.8% 1.01x (?)
DictionaryOfObjects 2371 2373 +0.1% 1.00x (?)
DictionaryRemove 4207 4195 -0.3% 1.00x (?)
DictionaryRemoveOfObjects 26115 25840 -1.1% 1.01x (?)
DictionarySubscriptDefaultMutation 267 267 +0.0% 1.00x
DictionarySubscriptDefaultMutationArray 611 626 +2.5% 0.98x (?)
DictionarySubscriptDefaultMutationArrayOfObjects 4042 4015 -0.7% 1.01x
DictionarySubscriptDefaultMutationOfObjects 1707 1706 -0.1% 1.00x (?)
DictionarySwap 1075 1075 +0.0% 1.00x
DictionarySwapAt 6728 6694 -0.5% 1.01x (?)
DictionarySwapAtOfObjects 52309 52386 +0.1% 1.00x (?)
DictionarySwapOfObjects 8883 8833 -0.6% 1.01x (?)
DoubleWidthDivision 0 0 +0.0% 1.00x
DropFirstAnyCollection 76 76 +0.0% 1.00x
DropFirstAnyCollectionLazy 64384 65190 +1.3% 0.99x (?)
DropFirstAnySeqCRangeIter 93 93 +0.0% 1.00x
DropFirstAnySeqCRangeIterLazy 93 93 +0.0% 1.00x
DropFirstAnySeqCntRange 71 71 +0.0% 1.00x
DropFirstAnySeqCntRangeLazy 71 71 +0.0% 1.00x
DropFirstAnySequence 1841 1844 +0.2% 1.00x
DropFirstAnySequenceLazy 1843 1841 -0.1% 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 2776 +0.1% 1.00x (?)
DropLastAnyCollection 28 28 +0.0% 1.00x
DropLastAnyCollectionLazy 21866 21747 -0.5% 1.01x (?)
DropLastAnySeqCRangeIter 3315 3313 -0.1% 1.00x (?)
DropLastAnySeqCRangeIterLazy 3331 3316 -0.5% 1.00x (?)
DropLastAnySeqCntRange 11 11 +0.0% 1.00x
DropLastAnySeqCntRangeLazy 11 11 +0.0% 1.00x
DropLastAnySequence 4933 4948 +0.3% 1.00x (?)
DropLastAnySequenceLazy 5065 5052 -0.3% 1.00x (?)
DropLastCountableRange 11 11 +0.0% 1.00x
DropLastCountableRangeLazy 12 12 +0.0% 1.00x
DropLastSequence 681 681 +0.0% 1.00x
DropLastSequenceLazy 681 681 +0.0% 1.00x
DropWhileAnyCollection 99 100 +1.0% 0.99x
DropWhileAnyCollectionLazy 130 130 +0.0% 1.00x
DropWhileAnySeqCRangeIter 76 76 +0.0% 1.00x
DropWhileAnySeqCRangeIterLazy 130 130 +0.0% 1.00x
DropWhileAnySeqCntRange 95 95 +0.0% 1.00x
DropWhileAnySeqCntRangeLazy 130 130 +0.0% 1.00x
DropWhileAnySequence 1859 1860 +0.1% 1.00x (?)
DropWhileAnySequenceLazy 1856 1855 -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 2209 2207 -0.1% 1.00x (?)
DropWhileSequenceLazy 88 88 +0.0% 1.00x
EqualStringSubstring 52 52 +0.0% 1.00x
EqualSubstringString 51 52 +2.0% 0.98x
EqualSubstringSubstring 51 51 +0.0% 1.00x
EqualSubstringSubstringGenericEquatable 50 50 +0.0% 1.00x
ErrorHandling 1213 1203 -0.8% 1.01x (?)
ExclusivityGlobal 5 5 +0.0% 1.00x
ExclusivityIndependent 2 2 +0.0% 1.00x
FatCompactMap 208133 201730 -3.1% 1.03x
FilterEvenUsingReduce 1301 1301 +0.0% 1.00x
FilterEvenUsingReduceInto 148 148 +0.0% 1.00x
FloatingPointPrinting_Double_description_small 21674 21655 -0.1% 1.00x (?)
FloatingPointPrinting_Double_description_uniform 21155 21046 -0.5% 1.01x
FloatingPointPrinting_Double_interpolated 62570 62107 -0.7% 1.01x (?)
FloatingPointPrinting_Float80_description_small 28290 28366 +0.3% 1.00x (?)
FloatingPointPrinting_Float80_description_uniform 27616 27507 -0.4% 1.00x
FloatingPointPrinting_Float80_interpolated 66113 65620 -0.7% 1.01x (?)
FloatingPointPrinting_Float_description_small 5334 5447 +2.1% 0.98x
FloatingPointPrinting_Float_description_uniform 5360 5363 +0.1% 1.00x (?)
FloatingPointPrinting_Float_interpolated 38990 38692 -0.8% 1.01x (?)
FrequenciesUsingReduce 4944 4995 +1.0% 0.99x (?)
FrequenciesUsingReduceInto 1517 1520 +0.2% 1.00x (?)
Hanoi 2175 2175 +0.0% 1.00x
HashTest 940 941 +0.1% 1.00x (?)
Histogram 651 652 +0.2% 1.00x
Integrate 346 346 +0.0% 1.00x
IterateData 1539 1540 +0.1% 1.00x (?)
Join 163 163 +0.0% 1.00x
LazilyFilteredArrayContains 37462 37459 -0.0% 1.00x (?)
LazilyFilteredArrays 65173 65183 +0.0% 1.00x (?)
LazilyFilteredRange 3878 3871 -0.2% 1.00x (?)
LessSubstringSubstring 51 51 +0.0% 1.00x
LessSubstringSubstringGenericComparable 50 50 +0.0% 1.00x
LinkedList 7521 7528 +0.1% 1.00x (?)
LuhnAlgoEager 455 456 +0.2% 1.00x (?)
LuhnAlgoLazy 456 454 -0.4% 1.00x (?)
MapReduce 428 427 -0.2% 1.00x
MapReduceAnyCollection 427 427 +0.0% 1.00x
MapReduceAnyCollectionShort 2068 2061 -0.3% 1.00x
MapReduceClass 3003 3003 +0.0% 1.00x
MapReduceClassShort 4557 4563 +0.1% 1.00x (?)
MapReduceLazyCollection 13 13 +0.0% 1.00x
MapReduceLazyCollectionShort 34 34 +0.0% 1.00x
MapReduceLazySequence 86 86 +0.0% 1.00x
MapReduceSequence 460 460 +0.0% 1.00x
MapReduceShort 2047 2044 -0.1% 1.00x (?)
MapReduceShortString 20 20 +0.0% 1.00x
MapReduceString 50 50 +0.0% 1.00x
Memset 217 223 +2.8% 0.97x (?)
MonteCarloE 10312 10304 -0.1% 1.00x (?)
MonteCarloPi 42684 42721 +0.1% 1.00x (?)
NSDictionaryCastToSwift 6727 6711 -0.2% 1.00x (?)
NSError 166 163 -1.8% 1.02x (?)
NSStringConversion 688 689 +0.1% 1.00x (?)
NibbleSort 3672 3667 -0.1% 1.00x
NopDeinit 32249 32254 +0.0% 1.00x (?)
ObjectAllocation 132 132 +0.0% 1.00x
ObjectiveCBridgeFromNSArrayAnyObject 26331 26158 -0.7% 1.01x (?)
ObjectiveCBridgeFromNSArrayAnyObjectForced 4670 4650 -0.4% 1.00x (?)
ObjectiveCBridgeFromNSArrayAnyObjectToString 45181 46649 +3.2% 0.97x (?)
ObjectiveCBridgeFromNSDictionaryAnyObject 111842 112886 +0.9% 0.99x (?)
ObjectiveCBridgeFromNSString 1200 1203 +0.2% 1.00x (?)
ObjectiveCBridgeFromNSStringForced 2756 2737 -0.7% 1.01x (?)
ObjectiveCBridgeStubDataAppend 6394 6501 +1.7% 0.98x
ObjectiveCBridgeStubDateMutation 400 400 +0.0% 1.00x
ObjectiveCBridgeStubFromArrayOfNSString 33152 34448 +3.9% 0.96x (?)
ObjectiveCBridgeStubFromNSDate 6187 6164 -0.4% 1.00x
ObjectiveCBridgeStubFromNSString 1017 1013 -0.4% 1.00x (?)
ObjectiveCBridgeStubFromNSStringRef 155 155 +0.0% 1.00x
ObjectiveCBridgeStubNSDataAppend 2518 2584 +2.6% 0.97x (?)
ObjectiveCBridgeStubNSDateMutationRef 13953 13325 -4.5% 1.05x
ObjectiveCBridgeStubToArrayOfNSString 39780 40022 +0.6% 0.99x (?)
ObjectiveCBridgeStubToNSDate 15222 15526 +2.0% 0.98x (?)
ObjectiveCBridgeStubToNSDateRef 3485 3452 -0.9% 1.01x (?)
ObjectiveCBridgeStubToNSString 2346 2347 +0.0% 1.00x (?)
ObjectiveCBridgeStubToNSStringRef 113 114 +0.9% 0.99x (?)
ObjectiveCBridgeStubURLAppendPath 281669 279143 -0.9% 1.01x (?)
ObjectiveCBridgeStubURLAppendPathRef 281746 287841 +2.2% 0.98x
ObjectiveCBridgeToNSArray 15311 14650 -4.3% 1.05x
ObjectiveCBridgeToNSDictionary 26880 27800 +3.4% 0.97x (?)
ObjectiveCBridgeToNSSet 18327 18549 +1.2% 0.99x (?)
ObjectiveCBridgeToNSString 464 464 +0.0% 1.00x
ObserverClosure 2160 2161 +0.0% 1.00x (?)
ObserverForwarderStruct 1218 1209 -0.7% 1.01x (?)
ObserverPartiallyAppliedMethod 3713 3724 +0.3% 1.00x (?)
ObserverUnappliedMethod 2457 2452 -0.2% 1.00x (?)
OpaqueConsumingUsers 4179 4181 +0.0% 1.00x
OpenClose 65 65 +0.0% 1.00x
PartialApplyDynamicType 0 0 +0.0% 1.00x
Phonebook 6879 6854 -0.4% 1.00x (?)
PointerArithmetics 31502 31499 -0.0% 1.00x (?)
PolymorphicCalls 25 25 +0.0% 1.00x
PopFrontArray 1964 1970 +0.3% 1.00x (?)
PopFrontArrayGeneric 1974 1974 +0.0% 1.00x
PopFrontUnsafePointer 9123 9526 +4.4% 0.96x (?)
PrefixAnyCollection 76 76 +0.0% 1.00x
PrefixAnyCollectionLazy 64678 64814 +0.2% 1.00x (?)
PrefixAnySeqCRangeIter 40 40 +0.0% 1.00x
PrefixAnySeqCRangeIterLazy 40 40 +0.0% 1.00x
PrefixAnySeqCntRange 71 71 +0.0% 1.00x
PrefixAnySeqCntRangeLazy 71 71 +0.0% 1.00x
PrefixAnySequence 1379 1378 -0.1% 1.00x (?)
PrefixAnySequenceLazy 1378 1378 +0.0% 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 2217 2218 +0.0% 1.00x (?)
PrefixSequenceLazy 2273 2273 +0.0% 1.00x
PrefixWhileAnyCollection 146 147 +0.7% 0.99x
PrefixWhileAnyCollectionLazy 71 71 +0.0% 1.00x
PrefixWhileAnySeqCRangeIter 398 397 -0.3% 1.00x (?)
PrefixWhileAnySeqCRangeIterLazy 89 89 +0.0% 1.00x
PrefixWhileAnySeqCntRange 142 142 +0.0% 1.00x
PrefixWhileAnySeqCntRangeLazy 71 71 +0.0% 1.00x
PrefixWhileAnySequence 1535 1536 +0.1% 1.00x (?)
PrefixWhileAnySequenceLazy 1393 1391 -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 374 373 -0.3% 1.00x (?)
PrefixWhileSequenceLazy 52 52 +0.0% 1.00x
Prims 901 897 -0.4% 1.00x (?)
PrimsSplit 904 901 -0.3% 1.00x (?)
QueueConcrete 1149 1149 +0.0% 1.00x
QueueGeneric 1147 1145 -0.2% 1.00x (?)
RC4 160 161 +0.6% 0.99x (?)
RGBHistogram 2975 2992 +0.6% 0.99x (?)
RGBHistogramOfObjects 23752 23724 -0.1% 1.00x (?)
Radix2CooleyTukey 12449 12408 -0.3% 1.00x (?)
Radix2CooleyTukeyf 8949 8985 +0.4% 1.00x (?)
RandomDoubleDef 26751 26624 -0.5% 1.00x
RandomDoubleLCG 2913 2908 -0.2% 1.00x (?)
RandomIntegersDef 24513 24518 +0.0% 1.00x (?)
RandomIntegersLCG 994 995 +0.1% 1.00x
RandomShuffleDef 813674 813566 -0.0% 1.00x (?)
RandomShuffleLCG 120524 121477 +0.8% 0.99x (?)
RangeAssignment 366 364 -0.5% 1.01x (?)
RangeIterationSigned 171 171 +0.0% 1.00x
RangeReplaceableCollectionPlusDefault 1012 1016 +0.4% 1.00x (?)
RecursiveOwnedParameter 115 115 +0.0% 1.00x
RemoveWhereFilterInts 50 49 -2.0% 1.02x
RemoveWhereFilterString 259 260 +0.4% 1.00x (?)
RemoveWhereFilterStrings 438 437 -0.2% 1.00x (?)
RemoveWhereMoveInts 15 15 +0.0% 1.00x
RemoveWhereMoveStrings 709 712 +0.4% 1.00x
RemoveWhereQuadraticInts 1300 1297 -0.2% 1.00x
RemoveWhereQuadraticString 375 373 -0.5% 1.01x (?)
RemoveWhereQuadraticStrings 2763 2760 -0.1% 1.00x (?)
RemoveWhereSwapInts 19 19 +0.0% 1.00x
RemoveWhereSwapStrings 863 863 +0.0% 1.00x
ReversedArray 57 57 +0.0% 1.00x
ReversedBidirectional 16547 16527 -0.1% 1.00x (?)
ReversedDictionary 267 263 -1.5% 1.02x (?)
RomanNumbers 85336 86566 +1.4% 0.99x
SequenceAlgosAnySequence 12058 11951 -0.9% 1.01x
SequenceAlgosArray 1578 1578 +0.0% 1.00x
SequenceAlgosContiguousArray 1578 1585 +0.4% 1.00x (?)
SequenceAlgosList 1352 1351 -0.1% 1.00x (?)
SequenceAlgosRange 2578 2577 -0.0% 1.00x (?)
SequenceAlgosUnfoldSequence 1102 1103 +0.1% 1.00x
SetExclusiveOr 5025 5067 +0.8% 0.99x
SetExclusiveOr_OfObjects 11727 11675 -0.4% 1.00x (?)
SetIntersect 682 682 +0.0% 1.00x
SetIntersect_OfObjects 1685 1662 -1.4% 1.01x
SetIsSubsetOf_OfObjects 484 484 +0.0% 1.00x
SetUnion 4413 4395 -0.4% 1.00x (?)
SetUnion_OfObjects 10005 10072 +0.7% 0.99x
SevenBoom 834 835 +0.1% 1.00x (?)
Sim2DArray 669 669 +0.0% 1.00x
SortLargeExistentials 5564 5567 +0.1% 1.00x (?)
SortLettersInPlace 997 995 -0.2% 1.00x (?)
SortSortedStrings 868 869 +0.1% 1.00x (?)
SortStrings 1774 1776 +0.1% 1.00x (?)
SortStringsUnicode 2559 2561 +0.1% 1.00x
StackPromo 25322 24937 -1.5% 1.02x
StrComplexWalk 1776 1775 -0.1% 1.00x
StrToInt 3207 3208 +0.0% 1.00x (?)
StringAdder 588 588 +0.0% 1.00x
StringBuilder 492 492 +0.0% 1.00x
StringBuilderLong 1260 1258 -0.2% 1.00x (?)
StringBuilderSmallReservingCapacity 508 508 +0.0% 1.00x
StringBuilderWithLongSubstring 1444 1436 -0.6% 1.01x (?)
StringComparison_abnormal 797 789 -1.0% 1.01x (?)
StringComparison_ascii 1015 1017 +0.2% 1.00x (?)
StringComparison_emoji 836 836 +0.0% 1.00x
StringComparison_fastPrenormal 858 858 +0.0% 1.00x
StringComparison_latin1 669 669 +0.0% 1.00x
StringComparison_longSharedPrefix 953 954 +0.1% 1.00x
StringComparison_nonBMPSlowestPrenormal 1665 1662 -0.2% 1.00x (?)
StringComparison_slowerPrenormal 1765 1764 -0.1% 1.00x (?)
StringEdits 167992 169271 +0.8% 0.99x (?)
StringEnumRawValueInitialization 861 860 -0.1% 1.00x (?)
StringEqualPointerComparison 286 286 +0.0% 1.00x
StringFromLongWholeSubstring 21 21 +0.0% 1.00x
StringFromLongWholeSubstringGeneric 21 21 +0.0% 1.00x
StringHasPrefixAscii 2234 2233 -0.0% 1.00x (?)
StringHasPrefixUnicode 99561 99610 +0.0% 1.00x (?)
StringHasSuffixAscii 2261 2262 +0.0% 1.00x (?)
StringHasSuffixUnicode 101343 101324 -0.0% 1.00x (?)
StringInterpolation 9278 9259 -0.2% 1.00x (?)
StringInterpolationManySmallSegments 18398 18380 -0.1% 1.00x (?)
StringInterpolationSmall 4420 4415 -0.1% 1.00x (?)
StringMatch 12223 12401 +1.5% 0.99x
StringRemoveDupes 485 486 +0.2% 1.00x (?)
StringUTF16Builder 2662 2670 +0.3% 1.00x (?)
StringUTF16SubstringBuilder 5674 5667 -0.1% 1.00x (?)
StringWalk 1566 1566 +0.0% 1.00x
StringWithCString 44935 44932 -0.0% 1.00x (?)
StringWordBuilder 2363 2363 +0.0% 1.00x
StringWordBuilderReservingCapacity 2079 2078 -0.0% 1.00x (?)
SubstringComparable 14 14 +0.0% 1.00x
SubstringEqualString 637 632 -0.8% 1.01x (?)
SubstringEquatable 1466 1469 +0.2% 1.00x (?)
SubstringFromLongString 10 10 +0.0% 1.00x
SubstringFromLongStringGeneric 74 74 +0.0% 1.00x
SuffixAnyCollection 28 28 +0.0% 1.00x
SuffixAnyCollectionLazy 21764 21676 -0.4% 1.00x (?)
SuffixAnySeqCRangeIter 3610 3615 +0.1% 1.00x (?)
SuffixAnySeqCRangeIterLazy 3626 3623 -0.1% 1.00x (?)
SuffixAnySeqCntRange 17 17 +0.0% 1.00x
SuffixAnySeqCntRangeLazy 17 17 +0.0% 1.00x
SuffixAnySequence 4938 4920 -0.4% 1.00x (?)
SuffixAnySequenceLazy 5026 5038 +0.2% 1.00x (?)
SuffixSequence 3643 3638 -0.1% 1.00x (?)
SuffixSequenceLazy 3642 3641 -0.0% 1.00x (?)
SumUsingReduce 92 92 +0.0% 1.00x
SumUsingReduceInto 97 97 +0.0% 1.00x
SuperChars 20033 20117 +0.4% 1.00x
TwoSum 1481 1467 -0.9% 1.01x (?)
TypeFlood 0 0 +0.0% 1.00x
UTF8Decode 298 298 +0.0% 1.00x
UTF8Decode_InitDecoding 1357 1357 +0.0% 1.00x
UTF8Decode_InitDecoding_ascii 658 649 -1.4% 1.01x
UTF8Decode_InitFromBytes 1174 1192 +1.5% 0.98x
UTF8Decode_InitFromData 1241 1245 +0.3% 1.00x (?)
Walsh 433 432 -0.2% 1.00x (?)
WordCountHistogramASCII 8091 8102 +0.1% 1.00x (?)
WordCountUniqueASCII 2066 2061 -0.2% 1.00x (?)
WordSplitASCII 9118 9514 +4.3% 0.96x
WordSplitUTF16 11210 10762 -4.0% 1.04x (?)
XorLoop 403 405 +0.5% 1.00x (?)
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

@lancep
Copy link
Contributor Author

lancep commented Jun 29, 2018

@swift-ci please test

@lancep lancep changed the title Specialize remaining on _CollectionSource [stdlib]Specialize remaining on _CollectionSource Jun 29, 2018
@lancep lancep requested review from milseman and lorentey June 29, 2018 23:09
Copy link
Member

@lorentey lorentey left a comment

Choose a reason for hiding this comment

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

👍

Copy link
Member

@milseman milseman left a comment

Choose a reason for hiding this comment

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

LGTM

@lancep lancep merged commit 78e9e90 into swiftlang:master Jul 2, 2018
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.

4 participants