Skip to content

[String] Define _copyContents for UTF8View #16245

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
May 1, 2018

Conversation

milseman
Copy link
Member

@milseman milseman commented Apr 29, 2018

Define _copyContents on String.UTF8View, which allows it to
efficiently memcpy bytes when the String is already in UTF-8 (or
ASCII).

@milseman
Copy link
Member Author

@swift-ci please smoke benchmark

@swift-ci
Copy link
Contributor

Build comment file:

Optimized (O)

Regression (5)
TEST OLD NEW DELTA SPEEDUP
FatCompactMap 204209 261262 +27.9% 0.78x
CharIndexing_ascii_unicodeScalars 15898 17792 +11.9% 0.89x (?)
StringUTF16SubstringBuilder 5871 6357 +8.3% 0.92x
DataAppendBytes 5906 6343 +7.4% 0.93x
StringBuilder 758 810 +6.9% 0.94x
Improvement (12)
TEST OLD NEW DELTA SPEEDUP
ArrayAppendAscii 14061 3756 -73.3% 3.74x
StringBuilderWithLongSubstring 1978 1478 -25.3% 1.34x (?)
StringBuilderLong 1671 1362 -18.5% 1.23x (?)
CharIndexing_korean_unicodeScalars 18060 15601 -13.6% 1.16x
ObjectiveCBridgeFromNSArrayAnyObjectForced 4961 4509 -9.1% 1.10x (?)
DataReplaceSmallBuffer 10362 9419 -9.1% 1.10x (?)
CharIndexing_chinese_unicodeScalars 13039 12042 -7.6% 1.08x (?)
ObjectiveCBridgeStubFromNSString 1243 1152 -7.3% 1.08x (?)
MapReduce 399 372 -6.8% 1.07x
RemoveWhereFilterInts 46 43 -6.5% 1.07x
MapReduceAnyCollection 458 429 -6.3% 1.07x
StringWithCString 43009 40860 -5.0% 1.05x
No Changes (407)
TEST OLD NEW DELTA SPEEDUP
AngryPhonebook 3897 4006 +2.8% 0.97x (?)
AnyHashableWithAClass 84241 85371 +1.3% 0.99x
Array2D 2548 2549 +0.0% 1.00x (?)
ArrayAppend 1062 1065 +0.3% 1.00x (?)
ArrayAppendArrayOfInt 796 796 +0.0% 1.00x
ArrayAppendFromGeneric 797 804 +0.9% 0.99x (?)
ArrayAppendGenericStructs 1429 1430 +0.1% 1.00x (?)
ArrayAppendLatin1 41040 40168 -2.1% 1.02x
ArrayAppendLazyMap 1343 1345 +0.1% 1.00x
ArrayAppendOptionals 1428 1398 -2.1% 1.02x (?)
ArrayAppendRepeatCol 1341 1338 -0.2% 1.00x (?)
ArrayAppendReserved 791 795 +0.5% 0.99x
ArrayAppendSequence 1120 1119 -0.1% 1.00x (?)
ArrayAppendStrings 6339 6341 +0.0% 1.00x
ArrayAppendToFromGeneric 799 800 +0.1% 1.00x (?)
ArrayAppendToGeneric 802 797 -0.6% 1.01x (?)
ArrayAppendUTF16 40328 39600 -1.8% 1.02x
ArrayInClass 86 86 +0.0% 1.00x
ArrayLiteral 0 0 +0.0% 1.00x
ArrayOfGenericPOD2 150 150 +0.0% 1.00x
ArrayOfGenericRef 4397 4403 +0.1% 1.00x (?)
ArrayOfPOD 184 183 -0.5% 1.01x
ArrayOfRef 4360 4379 +0.4% 1.00x (?)
ArrayPlusEqualArrayOfInt 796 797 +0.1% 1.00x (?)
ArrayPlusEqualFiveElementCollection 5474 5469 -0.1% 1.00x (?)
ArrayPlusEqualSingleElementCollection 1068 1062 -0.6% 1.01x (?)
ArrayPlusEqualThreeElements 1642 1676 +2.1% 0.98x
ArraySubscript 1528 1539 +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
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 101 102 +1.0% 0.99x (?)
COWTree 5364 5462 +1.8% 0.98x (?)
CSVParsing 718785 717237 -0.2% 1.00x (?)
CSVParsingAlt 798602 783433 -1.9% 1.02x (?)
CSVParsingAltIndices 342408 342759 +0.1% 1.00x (?)
CStringLongAscii 4805 4635 -3.5% 1.04x
CStringLongNonAscii 2273 2281 +0.4% 1.00x (?)
CStringShortAscii 3197 3192 -0.2% 1.00x (?)
Calculator 1119 1120 +0.1% 1.00x (?)
CaptureProp 4107 4104 -0.1% 1.00x (?)
ChainedFilterMap 1409 1408 -0.1% 1.00x (?)
CharIndexing_ascii_unicodeScalars_Backwards 16202 16365 +1.0% 0.99x (?)
CharIndexing_chinese_unicodeScalars_Backwards 12325 12296 -0.2% 1.00x (?)
CharIndexing_japanese_unicodeScalars 19019 19021 +0.0% 1.00x (?)
CharIndexing_japanese_unicodeScalars_Backwards 19495 20494 +5.1% 0.95x (?)
CharIndexing_korean_unicodeScalars_Backwards 15883 15787 -0.6% 1.01x (?)
CharIndexing_punctuatedJapanese_unicodeScalars 2892 2891 -0.0% 1.00x (?)
CharIndexing_punctuatedJapanese_unicodeScalars_Backwards 2954 2945 -0.3% 1.00x
CharIndexing_punctuated_unicodeScalars 3622 3612 -0.3% 1.00x
CharIndexing_punctuated_unicodeScalars_Backwards 3769 3708 -1.6% 1.02x (?)
CharIndexing_russian_unicodeScalars 14179 13564 -4.3% 1.05x (?)
CharIndexing_russian_unicodeScalars_Backwards 13595 13720 +0.9% 0.99x (?)
CharIndexing_tweet_unicodeScalars 31966 32341 +1.2% 0.99x (?)
CharIndexing_tweet_unicodeScalars_Backwards 32290 32053 -0.7% 1.01x (?)
CharIndexing_utf16_unicodeScalars 22817 22633 -0.8% 1.01x (?)
CharIndexing_utf16_unicodeScalars_Backwards 23388 23177 -0.9% 1.01x (?)
CharIteration_ascii_unicodeScalars 20449 20456 +0.0% 1.00x (?)
CharIteration_ascii_unicodeScalars_Backwards 14996 14973 -0.2% 1.00x (?)
CharIteration_chinese_unicodeScalars 15464 15476 +0.1% 1.00x
CharIteration_chinese_unicodeScalars_Backwards 11359 11342 -0.1% 1.00x
CharIteration_japanese_unicodeScalars 24512 24455 -0.2% 1.00x
CharIteration_japanese_unicodeScalars_Backwards 17933 17933 +0.0% 1.00x
CharIteration_korean_unicodeScalars 19809 19804 -0.0% 1.00x (?)
CharIteration_korean_unicodeScalars_Backwards 14527 14538 +0.1% 1.00x (?)
CharIteration_punctuatedJapanese_unicodeScalars 3667 3648 -0.5% 1.01x
CharIteration_punctuatedJapanese_unicodeScalars_Backwards 2722 2719 -0.1% 1.00x (?)
CharIteration_punctuated_unicodeScalars 4613 4587 -0.6% 1.01x (?)
CharIteration_punctuated_unicodeScalars_Backwards 3405 3401 -0.1% 1.00x (?)
CharIteration_russian_unicodeScalars 17015 17002 -0.1% 1.00x (?)
CharIteration_russian_unicodeScalars_Backwards 12491 12481 -0.1% 1.00x
CharIteration_tweet_unicodeScalars 40088 40660 +1.4% 0.99x
CharIteration_tweet_unicodeScalars_Backwards 29664 29649 -0.1% 1.00x (?)
CharIteration_utf16_unicodeScalars 27633 27727 +0.3% 1.00x
CharIteration_utf16_unicodeScalars_Backwards 18704 18754 +0.3% 1.00x
CharacterLiteralsLarge 5837 5901 +1.1% 0.99x
CharacterLiteralsSmall 217 217 +0.0% 1.00x
CharacterPropertiesFetch 4554 4647 +2.0% 0.98x (?)
CharacterPropertiesPrecomputed 1239 1262 +1.9% 0.98x
CharacterPropertiesStashed 1460 1460 +0.0% 1.00x
CharacterPropertiesStashedMemo 1660 1680 +1.2% 0.99x
Chars 1216 1215 -0.1% 1.00x (?)
ClassArrayGetter 15 15 +0.0% 1.00x
Combos 485 486 +0.2% 1.00x (?)
DataAccessBytes 1226 1225 -0.1% 1.00x
DataAppendArray 6414 6678 +4.1% 0.96x (?)
DataAppendDataLargeToLarge 68608 69843 +1.8% 0.98x (?)
DataAppendDataLargeToMedium 37063 37099 +0.1% 1.00x (?)
DataAppendDataLargeToSmall 35705 35829 +0.3% 1.00x (?)
DataAppendDataMediumToLarge 38869 38738 -0.3% 1.00x (?)
DataAppendDataMediumToMedium 8056 7942 -1.4% 1.01x (?)
DataAppendDataMediumToSmall 6941 6879 -0.9% 1.01x (?)
DataAppendDataSmallToLarge 38083 37797 -0.8% 1.01x
DataAppendDataSmallToMedium 7308 7491 +2.5% 0.98x (?)
DataAppendDataSmallToSmall 7020 6986 -0.5% 1.00x (?)
DataAppendSequence 19364 19357 -0.0% 1.00x (?)
DataCopyBytes 2560 2634 +2.9% 0.97x
DataCount 37 37 +0.0% 1.00x
DataMutateBytes 4359 4358 -0.0% 1.00x (?)
DataReplaceLarge 42987 42902 -0.2% 1.00x (?)
DataReplaceLargeBuffer 58870 59617 +1.3% 0.99x
DataReplaceMedium 12470 11983 -3.9% 1.04x (?)
DataReplaceMediumBuffer 12592 13075 +3.8% 0.96x (?)
DataReplaceSmall 9334 9453 +1.3% 0.99x (?)
DataReset 3196 3273 +2.4% 0.98x (?)
DataSetCount 919 910 -1.0% 1.01x
DataSubscript 241 246 +2.1% 0.98x
DictOfArraysToArrayOfDicts 846 840 -0.7% 1.01x (?)
Dictionary 720 731 +1.5% 0.98x (?)
Dictionary2 852 854 +0.2% 1.00x (?)
Dictionary2OfObjects 2222 2243 +0.9% 0.99x (?)
Dictionary3 299 305 +2.0% 0.98x (?)
Dictionary3OfObjects 765 773 +1.0% 0.99x (?)
Dictionary4 338 338 +0.0% 1.00x
Dictionary4Legacy 811 799 -1.5% 1.02x (?)
Dictionary4OfObjects 454 450 -0.9% 1.01x
Dictionary4OfObjectsLegacy 912 915 +0.3% 1.00x
DictionaryBridge 1288 1233 -4.3% 1.04x (?)
DictionaryCopy 123376 125387 +1.6% 0.98x
DictionaryFilter 123493 126907 +2.8% 0.97x
DictionaryGroup 284 281 -1.1% 1.01x
DictionaryGroupOfObjects 2128 2123 -0.2% 1.00x (?)
DictionaryLiteral 2104 2135 +1.5% 0.99x (?)
DictionaryOfObjects 2474 2498 +1.0% 0.99x
DictionaryRemove 5432 5453 +0.4% 1.00x
DictionaryRemoveOfObjects 26729 26694 -0.1% 1.00x (?)
DictionarySubscriptDefaultMutation 338 339 +0.3% 1.00x (?)
DictionarySubscriptDefaultMutationArray 698 694 -0.6% 1.01x (?)
DictionarySubscriptDefaultMutationArrayOfObjects 4060 4061 +0.0% 1.00x (?)
DictionarySubscriptDefaultMutationOfObjects 1730 1736 +0.3% 1.00x (?)
DictionarySwap 1518 1492 -1.7% 1.02x (?)
DictionarySwapAt 6906 6902 -0.1% 1.00x (?)
DictionarySwapAtOfObjects 52267 52306 +0.1% 1.00x (?)
DictionarySwapOfObjects 8638 8573 -0.8% 1.01x (?)
DoubleWidthDivision 0 0 +0.0% 1.00x
DropFirstAnyCollection 84 84 +0.0% 1.00x
DropFirstAnyCollectionLazy 63110 62328 -1.2% 1.01x
DropFirstAnySeqCRangeIter 21394 21323 -0.3% 1.00x
DropFirstAnySeqCRangeIterLazy 21401 21348 -0.2% 1.00x
DropFirstAnySeqCntRange 41 41 +0.0% 1.00x
DropFirstAnySeqCntRangeLazy 41 41 +0.0% 1.00x
DropFirstAnySequence 4942 4994 +1.1% 0.99x
DropFirstAnySequenceLazy 4930 4992 +1.3% 0.99x
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 2681 2680 -0.0% 1.00x (?)
DropFirstSequenceLazy 2775 2775 +0.0% 1.00x
DropLastAnyCollection 31 31 +0.0% 1.00x
DropLastAnyCollectionLazy 20865 20769 -0.5% 1.00x (?)
DropLastAnySeqCRangeIter 3675 3679 +0.1% 1.00x (?)
DropLastAnySeqCRangeIterLazy 3695 3659 -1.0% 1.01x
DropLastAnySeqCntRange 13 13 +0.0% 1.00x
DropLastAnySeqCntRangeLazy 13 13 +0.0% 1.00x
DropLastAnySequence 5047 5033 -0.3% 1.00x
DropLastAnySequenceLazy 5191 5194 +0.1% 1.00x (?)
DropLastCountableRange 12 12 +0.0% 1.00x
DropLastCountableRangeLazy 11 11 +0.0% 1.00x
DropLastSequence 593 572 -3.5% 1.04x
DropLastSequenceLazy 594 573 -3.5% 1.04x
DropWhileAnyCollection 107 107 +0.0% 1.00x
DropWhileAnyCollectionLazy 125 125 +0.0% 1.00x
DropWhileAnySeqCRangeIter 16838 16853 +0.1% 1.00x (?)
DropWhileAnySeqCRangeIterLazy 125 125 +0.0% 1.00x
DropWhileAnySeqCntRange 51 51 +0.0% 1.00x
DropWhileAnySeqCntRangeLazy 125 125 +0.0% 1.00x
DropWhileAnySequence 4835 4838 +0.1% 1.00x (?)
DropWhileAnySequenceLazy 1858 1857 -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 2215 2223 +0.4% 1.00x
DropWhileSequenceLazy 88 88 +0.0% 1.00x
EqualStringSubstring 56 56 +0.0% 1.00x
EqualSubstringString 65 65 +0.0% 1.00x
EqualSubstringSubstring 49 49 +0.0% 1.00x
EqualSubstringSubstringGenericEquatable 49 49 +0.0% 1.00x
ErrorHandling 1497 1513 +1.1% 0.99x (?)
ExclusivityGlobal 5 5 +0.0% 1.00x
ExclusivityIndependent 2 2 +0.0% 1.00x
FilterEvenUsingReduce 1327 1309 -1.4% 1.01x (?)
FilterEvenUsingReduceInto 149 151 +1.3% 0.99x
FloatingPointPrinting_Double_description_small 23463 23578 +0.5% 1.00x
FloatingPointPrinting_Double_description_uniform 23143 23244 +0.4% 1.00x
FloatingPointPrinting_Double_interpolated 78806 78041 -1.0% 1.01x (?)
FloatingPointPrinting_Float80_description_small 30554 30951 +1.3% 0.99x (?)
FloatingPointPrinting_Float80_description_uniform 29784 29740 -0.1% 1.00x (?)
FloatingPointPrinting_Float80_interpolated 82027 81300 -0.9% 1.01x (?)
FloatingPointPrinting_Float_description_small 5215 5194 -0.4% 1.00x
FloatingPointPrinting_Float_description_uniform 5151 5095 -1.1% 1.01x
FloatingPointPrinting_Float_interpolated 52973 53069 +0.2% 1.00x (?)
FrequenciesUsingReduce 5328 5415 +1.6% 0.98x (?)
FrequenciesUsingReduceInto 1808 1807 -0.1% 1.00x (?)
Hanoi 2249 2159 -4.0% 1.04x
HashTest 1039 1023 -1.5% 1.02x (?)
Histogram 905 904 -0.1% 1.00x
Integrate 334 334 +0.0% 1.00x
IterateData 1906 1908 +0.1% 1.00x (?)
Join 186 187 +0.5% 0.99x (?)
LazilyFilteredArrayContains 36279 36277 -0.0% 1.00x (?)
LazilyFilteredArrays 65554 65149 -0.6% 1.01x (?)
LazilyFilteredRange 3913 3878 -0.9% 1.01x (?)
LessSubstringSubstring 49 49 +0.0% 1.00x
LessSubstringSubstringGenericComparable 49 49 +0.0% 1.00x
LinkedList 7578 7599 +0.3% 1.00x (?)
LuhnAlgoEager 297 295 -0.7% 1.01x
LuhnAlgoLazy 298 294 -1.3% 1.01x (?)
MapReduceAnyCollectionShort 2260 2266 +0.3% 1.00x (?)
MapReduceClass 3008 3010 +0.1% 1.00x (?)
MapReduceClassShort 4568 4569 +0.0% 1.00x (?)
MapReduceLazyCollection 13 13 +0.0% 1.00x
MapReduceLazyCollectionShort 34 34 +0.0% 1.00x
MapReduceLazySequence 86 86 +0.0% 1.00x
MapReduceSequence 455 458 +0.7% 0.99x (?)
MapReduceShort 2044 2040 -0.2% 1.00x (?)
MapReduceShortString 30 30 +0.0% 1.00x
MapReduceString 83 80 -3.6% 1.04x (?)
Memset 223 222 -0.4% 1.00x (?)
MonteCarloE 10381 10436 +0.5% 0.99x
MonteCarloPi 42726 42939 +0.5% 1.00x
NSDictionaryCastToSwift 5598 5551 -0.8% 1.01x (?)
NSError 173 174 +0.6% 0.99x (?)
NSStringConversion 695 717 +3.2% 0.97x
NibbleSort 3689 3671 -0.5% 1.00x (?)
NopDeinit 30180 30180 +0.0% 1.00x
ObjectAllocation 135 132 -2.2% 1.02x
ObjectiveCBridgeFromNSArrayAnyObject 27167 26518 -2.4% 1.02x (?)
ObjectiveCBridgeFromNSArrayAnyObjectToString 48142 47244 -1.9% 1.02x (?)
ObjectiveCBridgeFromNSArrayAnyObjectToStringForced 44902 43635 -2.8% 1.03x (?)
ObjectiveCBridgeFromNSDictionaryAnyObject 111268 111183 -0.1% 1.00x (?)
ObjectiveCBridgeFromNSSetAnyObject 49994 49348 -1.3% 1.01x (?)
ObjectiveCBridgeFromNSSetAnyObjectForced 4896 4783 -2.3% 1.02x (?)
ObjectiveCBridgeFromNSSetAnyObjectToString 69281 70688 +2.0% 0.98x (?)
ObjectiveCBridgeFromNSString 1241 1215 -2.1% 1.02x
ObjectiveCBridgeFromNSStringForced 2799 2667 -4.7% 1.05x
ObjectiveCBridgeStubDataAppend 11629 11432 -1.7% 1.02x (?)
ObjectiveCBridgeStubDateMutation 400 401 +0.2% 1.00x
ObjectiveCBridgeStubFromArrayOfNSString 39618 39295 -0.8% 1.01x (?)
ObjectiveCBridgeStubFromNSDate 6627 6570 -0.9% 1.01x
ObjectiveCBridgeStubFromNSStringRef 164 162 -1.2% 1.01x
ObjectiveCBridgeStubNSDataAppend 2646 2622 -0.9% 1.01x (?)
ObjectiveCBridgeStubNSDateMutationRef 13470 13601 +1.0% 0.99x (?)
ObjectiveCBridgeStubToArrayOfNSString 39582 39178 -1.0% 1.01x
ObjectiveCBridgeStubToNSDate 15798 15631 -1.1% 1.01x
ObjectiveCBridgeStubToNSDateRef 3427 3521 +2.7% 0.97x
ObjectiveCBridgeStubToNSString 2383 2399 +0.7% 0.99x (?)
ObjectiveCBridgeStubToNSStringRef 115 116 +0.9% 0.99x (?)
ObjectiveCBridgeStubURLAppendPath 302452 289518 -4.3% 1.04x (?)
ObjectiveCBridgeStubURLAppendPathRef 291944 292704 +0.3% 1.00x (?)
ObjectiveCBridgeToNSArray 14338 14403 +0.5% 1.00x (?)
ObjectiveCBridgeToNSDictionary 26685 26369 -1.2% 1.01x (?)
ObjectiveCBridgeToNSSet 16389 16836 +2.7% 0.97x (?)
ObjectiveCBridgeToNSString 500 490 -2.0% 1.02x
ObserverClosure 2180 2182 +0.1% 1.00x (?)
ObserverForwarderStruct 1265 1262 -0.2% 1.00x (?)
ObserverPartiallyAppliedMethod 3733 3761 +0.8% 0.99x
ObserverUnappliedMethod 2596 2604 +0.3% 1.00x
OpenClose 269 269 +0.0% 1.00x
PartialApplyDynamicType 0 0 +0.0% 1.00x
Phonebook 5078 5092 +0.3% 1.00x
PointerArithmetics 34382 34356 -0.1% 1.00x (?)
PolymorphicCalls 25 25 +0.0% 1.00x
PopFrontArray 1870 1869 -0.1% 1.00x (?)
PopFrontArrayGeneric 1912 1877 -1.8% 1.02x
PopFrontUnsafePointer 9002 9028 +0.3% 1.00x (?)
PrefixAnyCollection 84 84 +0.0% 1.00x
PrefixAnyCollectionLazy 62853 62321 -0.8% 1.01x
PrefixAnySeqCRangeIter 16794 16719 -0.4% 1.00x (?)
PrefixAnySeqCRangeIterLazy 16765 16698 -0.4% 1.00x (?)
PrefixAnySeqCntRange 28 28 +0.0% 1.00x
PrefixAnySeqCntRangeLazy 28 28 +0.0% 1.00x
PrefixAnySequence 4344 4326 -0.4% 1.00x
PrefixAnySequenceLazy 4372 4381 +0.2% 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 2219 2225 +0.3% 1.00x
PrefixSequenceLazy 2276 2276 +0.0% 1.00x
PrefixWhileAnyCollection 154 154 +0.0% 1.00x
PrefixWhileAnyCollectionLazy 90 90 +0.0% 1.00x
PrefixWhileAnySeqCRangeIter 9033 9041 +0.1% 1.00x (?)
PrefixWhileAnySeqCRangeIterLazy 72 72 +0.0% 1.00x
PrefixWhileAnySeqCntRange 60 60 +0.0% 1.00x
PrefixWhileAnySeqCntRangeLazy 90 90 +0.0% 1.00x
PrefixWhileAnySequence 10162 10154 -0.1% 1.00x
PrefixWhileAnySequenceLazy 1393 1394 +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 378 361 -4.5% 1.05x
PrefixWhileSequenceLazy 52 52 +0.0% 1.00x
Prims 919 920 +0.1% 1.00x (?)
PrimsSplit 919 921 +0.2% 1.00x (?)
QueueConcrete 1148 1150 +0.2% 1.00x (?)
QueueGeneric 1150 1150 +0.0% 1.00x
RC4 167 168 +0.6% 0.99x
RGBHistogram 3948 3957 +0.2% 1.00x (?)
RGBHistogramOfObjects 24494 24410 -0.3% 1.00x (?)
RangeAssignment 358 343 -4.2% 1.04x
RangeIterationSigned 200 200 +0.0% 1.00x
RangeReplaceableCollectionPlusDefault 985 979 -0.6% 1.01x (?)
RecursiveOwnedParameter 115 115 +0.0% 1.00x
RemoveWhereFilterString 327 325 -0.6% 1.01x
RemoveWhereFilterStrings 437 437 +0.0% 1.00x
RemoveWhereMoveInts 15 15 +0.0% 1.00x
RemoveWhereMoveStrings 707 707 +0.0% 1.00x
RemoveWhereQuadraticInts 1287 1290 +0.2% 1.00x (?)
RemoveWhereQuadraticString 483 488 +1.0% 0.99x
RemoveWhereQuadraticStrings 2754 2751 -0.1% 1.00x (?)
RemoveWhereSwapInts 19 19 +0.0% 1.00x
RemoveWhereSwapStrings 854 855 +0.1% 1.00x (?)
ReversedArray 57 57 +0.0% 1.00x
ReversedBidirectional 16402 16157 -1.5% 1.02x
ReversedDictionary 363 369 +1.7% 0.98x (?)
RomanNumbers 144996 139489 -3.8% 1.04x
SequenceAlgosAnySequence 11838 11856 +0.2% 1.00x
SequenceAlgosArray 1581 1569 -0.8% 1.01x (?)
SequenceAlgosContiguousArray 1580 1566 -0.9% 1.01x
SequenceAlgosList 1359 1356 -0.2% 1.00x
SequenceAlgosRange 2576 2578 +0.1% 1.00x (?)
SequenceAlgosUnfoldSequence 1103 1102 -0.1% 1.00x (?)
SetExclusiveOr 6481 6594 +1.7% 0.98x
SetExclusiveOr_OfObjects 11856 11735 -1.0% 1.01x
SetIntersect 961 976 +1.6% 0.98x (?)
SetIntersect_OfObjects 1576 1585 +0.6% 0.99x
SetIsSubsetOf 374 374 +0.0% 1.00x
SetIsSubsetOf_OfObjects 438 439 +0.2% 1.00x
SetUnion 5647 5680 +0.6% 0.99x (?)
SetUnion_OfObjects 10149 10064 -0.8% 1.01x
SevenBoom 882 882 +0.0% 1.00x
Sim2DArray 417 417 +0.0% 1.00x
SortLargeExistentials 6184 6194 +0.2% 1.00x
SortLettersInPlace 1053 1054 +0.1% 1.00x (?)
SortSortedStrings 1024 1023 -0.1% 1.00x
SortStrings 2072 2079 +0.3% 1.00x (?)
SortStringsUnicode 2596 2569 -1.0% 1.01x (?)
StackPromo 22468 22448 -0.1% 1.00x (?)
StaticArray 9 9 +0.0% 1.00x
StrComplexWalk 1785 1784 -0.1% 1.00x
StrToInt 2851 2819 -1.1% 1.01x
StringAdder 740 736 -0.5% 1.01x
StringComparison_abnormal 786 786 +0.0% 1.00x
StringComparison_ascii 1272 1280 +0.6% 0.99x
StringComparison_emoji 815 823 +1.0% 0.99x (?)
StringComparison_fastPrenormal 802 796 -0.7% 1.01x
StringComparison_latin1 635 628 -1.1% 1.01x
StringComparison_longSharedPrefix 932 939 +0.8% 0.99x (?)
StringComparison_nonBMPSlowestPrenormal 1612 1616 +0.2% 1.00x (?)
StringComparison_slowerPrenormal 1710 1762 +3.0% 0.97x
StringComparison_zalgo 124977 125583 +0.5% 1.00x (?)
StringEdits 177655 171666 -3.4% 1.03x
StringEnumRawValueInitialization 839 835 -0.5% 1.00x (?)
StringEqualPointerComparison 295 295 +0.0% 1.00x
StringFromLongWholeSubstring 21 21 +0.0% 1.00x
StringFromLongWholeSubstringGeneric 21 21 +0.0% 1.00x
StringHasPrefixAscii 2032 1976 -2.8% 1.03x
StringHasPrefixUnicode 110167 109105 -1.0% 1.01x (?)
StringHasSuffixAscii 2177 2118 -2.7% 1.03x
StringHasSuffixUnicode 114985 114429 -0.5% 1.00x (?)
StringInterpolation 10588 10720 +1.2% 0.99x (?)
StringInterpolationManySmallSegments 19814 19417 -2.0% 1.02x (?)
StringInterpolationSmall 6671 6536 -2.0% 1.02x
StringMatch 11483 11287 -1.7% 1.02x
StringRemoveDupes 793 774 -2.4% 1.02x
StringUTF16Builder 2778 2753 -0.9% 1.01x (?)
StringWalk 1429 1423 -0.4% 1.00x
StringWordBuilder 2327 2334 +0.3% 1.00x (?)
StringWordBuilderReservingCapacity 2013 2036 +1.1% 0.99x
SubstringComparable 31 31 +0.0% 1.00x
SubstringEqualString 791 802 +1.4% 0.99x (?)
SubstringEquatable 1418 1451 +2.3% 0.98x
SubstringFromLongString 10 10 +0.0% 1.00x
SubstringFromLongStringGeneric 75 75 +0.0% 1.00x
SuffixAnyCollection 31 31 +0.0% 1.00x
SuffixAnyCollectionLazy 20855 20782 -0.4% 1.00x (?)
SuffixAnySeqCRangeIter 3862 3882 +0.5% 0.99x (?)
SuffixAnySeqCRangeIterLazy 3878 3869 -0.2% 1.00x (?)
SuffixAnySeqCntRange 21 21 +0.0% 1.00x
SuffixAnySeqCntRangeLazy 21 21 +0.0% 1.00x
SuffixAnySequence 5079 5032 -0.9% 1.01x
SuffixAnySequenceLazy 5168 5165 -0.1% 1.00x (?)
SuffixCountableRange 11 11 +0.0% 1.00x
SuffixCountableRangeLazy 11 11 +0.0% 1.00x
SuffixSequence 3735 3787 +1.4% 0.99x (?)
SuffixSequenceLazy 3797 3757 -1.1% 1.01x (?)
SumUsingReduce 97 97 +0.0% 1.00x
SumUsingReduceInto 102 102 +0.0% 1.00x
SuperChars 14883 14794 -0.6% 1.01x (?)
TwoSum 1748 1777 +1.7% 0.98x (?)
TypeFlood 0 0 +0.0% 1.00x
UTF8Decode 296 295 -0.3% 1.00x
Walsh 404 406 +0.5% 1.00x (?)
WordCountHistogramASCII 8263 8220 -0.5% 1.01x
WordCountHistogramUTF16 14761 14169 -4.0% 1.04x
WordCountUniqueASCII 2472 2540 +2.8% 0.97x
WordCountUniqueUTF16 7940 7723 -2.7% 1.03x
WordSplitASCII 8847 8459 -4.4% 1.05x
WordSplitUTF16 11147 10645 -4.5% 1.05x (?)
XorLoop 401 401 +0.0% 1.00x

Unoptimized (Onone)

Regression (25)
TEST OLD NEW DELTA SPEEDUP
ArrayAppendLazyMap 170089 216723 +27.4% 0.78x
PrefixWhileArrayLazy 12426 15788 +27.1% 0.79x (?)
MapReduceLazyCollection 22683 28232 +24.5% 0.80x
DropWhileArrayLazy 14233 17492 +22.9% 0.81x
ObjectiveCBridgeStubToNSString 2421 2933 +21.1% 0.83x
RemoveWhereFilterString 1290 1549 +20.1% 0.83x
MapReduceLazyCollectionShort 33452 39621 +18.4% 0.84x
FatCompactMap 297248 349758 +17.7% 0.85x
PrefixArrayLazy 29413 33823 +15.0% 0.87x
ObjectiveCBridgeFromNSSetAnyObjectForced 6090 6972 +14.5% 0.87x
DropFirstArrayLazy 29461 33721 +14.5% 0.87x
SubstringComparable 1653 1875 +13.4% 0.88x
ObjectiveCBridgeStubFromNSString 1083 1209 +11.6% 0.90x (?)
LazilyFilteredArrayContains 755298 827656 +9.6% 0.91x
StringWithCString 41382 45229 +9.3% 0.91x
DataAppendBytes 5117 5534 +8.1% 0.92x (?)
Dictionary2OfObjects 4168 4452 +6.8% 0.94x (?)
StrComplexWalk 6830 7281 +6.6% 0.94x
ObjectiveCBridgeStubToNSDate 15111 16105 +6.6% 0.94x (?)
FilterEvenUsingReduce 3625 3861 +6.5% 0.94x
StringEdits 415200 440992 +6.2% 0.94x
ChainedFilterMap 233889 248333 +6.2% 0.94x
RomanNumbers 1304904 1383978 +6.1% 0.94x
CharIteration_chinese_unicodeScalars_Backwards 220017 233095 +5.9% 0.94x
NSStringConversion 737 779 +5.7% 0.95x
Improvement (17)
TEST OLD NEW DELTA SPEEDUP
ArrayAppendAscii 39507 28496 -27.9% 1.39x
FloatingPointPrinting_Double_description_uniform 41576 36025 -13.4% 1.15x
FloatingPointPrinting_Float_interpolated 80875 70856 -12.4% 1.14x (?)
Dictionary4OfObjects 1927 1735 -10.0% 1.11x (?)
ArrayPlusEqualFiveElementCollection 261689 238071 -9.0% 1.10x (?)
Dictionary4 1300 1189 -8.5% 1.09x
ObjectiveCBridgeFromNSString 3171 2908 -8.3% 1.09x
CStringShortAscii 6829 6273 -8.1% 1.09x (?)
ObjectiveCBridgeFromNSArrayAnyObjectToStringForced 49734 46309 -6.9% 1.07x (?)
StringInterpolationSmall 9834 9187 -6.6% 1.07x
ObjectiveCBridgeFromNSStringForced 3012 2815 -6.5% 1.07x (?)
CharIndexing_russian_unicodeScalars 311594 292019 -6.3% 1.07x
ObjectiveCBridgeToNSArray 15111 14190 -6.1% 1.06x
FloatingPointPrinting_Double_interpolated 104216 98001 -6.0% 1.06x (?)
StringAdder 1155 1087 -5.9% 1.06x
Dictionary3 949 896 -5.6% 1.06x
DataReplaceSmall 7160 6814 -4.8% 1.05x (?)
No Changes (382)
TEST OLD NEW DELTA SPEEDUP
AngryPhonebook 5854 5688 -2.8% 1.03x (?)
AnyHashableWithAClass 102114 102863 +0.7% 0.99x (?)
Array2D 652168 650435 -0.3% 1.00x
ArrayAppend 4671 4667 -0.1% 1.00x (?)
ArrayAppendArrayOfInt 863 865 +0.2% 1.00x (?)
ArrayAppendFromGeneric 870 869 -0.1% 1.00x (?)
ArrayAppendGenericStructs 1499 1506 +0.5% 1.00x (?)
ArrayAppendLatin1 65038 65742 +1.1% 0.99x
ArrayAppendOptionals 1501 1508 +0.5% 1.00x (?)
ArrayAppendRepeatCol 184985 185596 +0.3% 1.00x
ArrayAppendReserved 4281 4283 +0.0% 1.00x (?)
ArrayAppendSequence 103695 104452 +0.7% 0.99x
ArrayAppendStrings 6442 6458 +0.2% 1.00x (?)
ArrayAppendToFromGeneric 866 867 +0.1% 1.00x (?)
ArrayAppendToGeneric 874 872 -0.2% 1.00x (?)
ArrayAppendUTF16 64702 65242 +0.8% 0.99x
ArrayInClass 6190 6247 +0.9% 0.99x
ArrayLiteral 1806 1806 +0.0% 1.00x
ArrayOfGenericPOD2 1079 1073 -0.6% 1.01x (?)
ArrayOfGenericRef 10753 10844 +0.8% 0.99x (?)
ArrayOfPOD 761 763 +0.3% 1.00x
ArrayOfRef 9932 9946 +0.1% 1.00x (?)
ArrayPlusEqualArrayOfInt 868 869 +0.1% 1.00x (?)
ArrayPlusEqualSingleElementCollection 234953 234026 -0.4% 1.00x (?)
ArrayPlusEqualThreeElements 9484 9372 -1.2% 1.01x (?)
ArraySubscript 107313 108422 +1.0% 0.99x
ArrayValueProp 3664 3758 +2.6% 0.97x
ArrayValueProp2 15393 15478 +0.6% 0.99x (?)
ArrayValueProp3 4229 4243 +0.3% 1.00x (?)
ArrayValueProp4 4145 4158 +0.3% 1.00x (?)
BinaryFloatingPointPropertiesBinade 85 89 +4.7% 0.96x
BinaryFloatingPointPropertiesNextUp 137 134 -2.2% 1.02x
BinaryFloatingPointPropertiesUlp 128 131 +2.3% 0.98x
BitCount 8897 8892 -0.1% 1.00x (?)
ByteSwap 9656 9640 -0.2% 1.00x
COWTree 12593 12062 -4.2% 1.04x
CSVParsing 2893278 2863841 -1.0% 1.01x (?)
CSVParsingAlt 1435745 1424400 -0.8% 1.01x (?)
CSVParsingAltIndices 2389228 2432322 +1.8% 0.98x
CStringLongAscii 5384 5546 +3.0% 0.97x
CStringLongNonAscii 2517 2563 +1.8% 0.98x (?)
Calculator 2138 2180 +2.0% 0.98x
CaptureProp 280857 278455 -0.9% 1.01x
CharIndexing_ascii_unicodeScalars 366725 384098 +4.7% 0.95x (?)
CharIndexing_ascii_unicodeScalars_Backwards 401228 401025 -0.1% 1.00x (?)
CharIndexing_chinese_unicodeScalars 277913 269046 -3.2% 1.03x (?)
CharIndexing_chinese_unicodeScalars_Backwards 298308 298721 +0.1% 1.00x (?)
CharIndexing_japanese_unicodeScalars 439707 425489 -3.2% 1.03x
CharIndexing_japanese_unicodeScalars_Backwards 478024 480600 +0.5% 0.99x (?)
CharIndexing_korean_unicodeScalars 350640 341366 -2.6% 1.03x (?)
CharIndexing_korean_unicodeScalars_Backwards 386567 386826 +0.1% 1.00x (?)
CharIndexing_punctuatedJapanese_unicodeScalars 67748 66072 -2.5% 1.03x (?)
CharIndexing_punctuatedJapanese_unicodeScalars_Backwards 70995 69249 -2.5% 1.03x (?)
CharIndexing_punctuated_unicodeScalars 82618 79305 -4.0% 1.04x
CharIndexing_punctuated_unicodeScalars_Backwards 88373 89028 +0.7% 0.99x (?)
CharIndexing_russian_unicodeScalars_Backwards 333529 332342 -0.4% 1.00x (?)
CharIndexing_tweet_unicodeScalars 720945 725340 +0.6% 0.99x (?)
CharIndexing_tweet_unicodeScalars_Backwards 788049 786114 -0.2% 1.00x (?)
CharIndexing_utf16_unicodeScalars 305394 299348 -2.0% 1.02x (?)
CharIndexing_utf16_unicodeScalars_Backwards 337335 330646 -2.0% 1.02x (?)
CharIteration_ascii_unicodeScalars 149928 149257 -0.4% 1.00x (?)
CharIteration_ascii_unicodeScalars_Backwards 292897 301470 +2.9% 0.97x
CharIteration_chinese_unicodeScalars 113343 113129 -0.2% 1.00x (?)
CharIteration_japanese_unicodeScalars 179224 179513 +0.2% 1.00x (?)
CharIteration_japanese_unicodeScalars_Backwards 346365 357564 +3.2% 0.97x
CharIteration_korean_unicodeScalars 145534 146926 +1.0% 0.99x (?)
CharIteration_korean_unicodeScalars_Backwards 286627 289173 +0.9% 0.99x
CharIteration_punctuatedJapanese_unicodeScalars 26926 26863 -0.2% 1.00x (?)
CharIteration_punctuatedJapanese_unicodeScalars_Backwards 51577 52116 +1.0% 0.99x (?)
CharIteration_punctuated_unicodeScalars 33568 33408 -0.5% 1.00x (?)
CharIteration_punctuated_unicodeScalars_Backwards 64486 65799 +2.0% 0.98x
CharIteration_russian_unicodeScalars 125407 124537 -0.7% 1.01x (?)
CharIteration_russian_unicodeScalars_Backwards 241610 248016 +2.7% 0.97x (?)
CharIteration_tweet_unicodeScalars 296865 296180 -0.2% 1.00x (?)
CharIteration_tweet_unicodeScalars_Backwards 572645 596435 +4.2% 0.96x
CharIteration_utf16_unicodeScalars 126759 128168 +1.1% 0.99x
CharIteration_utf16_unicodeScalars_Backwards 244392 247997 +1.5% 0.99x (?)
CharacterLiteralsLarge 5712 5775 +1.1% 0.99x
CharacterLiteralsSmall 727 704 -3.2% 1.03x
CharacterPropertiesFetch 5423 5418 -0.1% 1.00x (?)
CharacterPropertiesPrecomputed 3723 3680 -1.2% 1.01x (?)
CharacterPropertiesStashed 2334 2327 -0.3% 1.00x (?)
CharacterPropertiesStashedMemo 4566 4692 +2.8% 0.97x (?)
Chars 36068 36105 +0.1% 1.00x
ClassArrayGetter 988 989 +0.1% 1.00x (?)
Combos 2367 2395 +1.2% 0.99x (?)
DataAccessBytes 2404 2395 -0.4% 1.00x (?)
DataAppendArray 5565 5739 +3.1% 0.97x (?)
DataAppendDataLargeToLarge 68456 68091 -0.5% 1.01x (?)
DataAppendDataLargeToMedium 35232 35739 +1.4% 0.99x (?)
DataAppendDataLargeToSmall 34562 34240 -0.9% 1.01x (?)
DataAppendDataMediumToLarge 38599 38135 -1.2% 1.01x
DataAppendDataMediumToMedium 6675 6951 +4.1% 0.96x (?)
DataAppendDataMediumToSmall 6105 6053 -0.9% 1.01x (?)
DataAppendDataSmallToLarge 36945 37224 +0.8% 0.99x (?)
DataAppendDataSmallToMedium 6197 6310 +1.8% 0.98x (?)
DataAppendDataSmallToSmall 6131 6099 -0.5% 1.01x (?)
DataAppendSequence 1919791 1920744 +0.0% 1.00x (?)
DataCopyBytes 2625 2648 +0.9% 0.99x (?)
DataCount 223 223 +0.0% 1.00x
DataMutateBytes 5227 5252 +0.5% 1.00x (?)
DataReplaceLarge 41512 40148 -3.3% 1.03x
DataReplaceLargeBuffer 58196 59511 +2.3% 0.98x (?)
DataReplaceMedium 9269 9307 +0.4% 1.00x (?)
DataReplaceMediumBuffer 12864 12354 -4.0% 1.04x (?)
DataReplaceSmallBuffer 10152 9717 -4.3% 1.04x (?)
DataReset 2864 2832 -1.1% 1.01x (?)
DataSetCount 563 568 +0.9% 0.99x (?)
DataSubscript 443 444 +0.2% 1.00x
DictOfArraysToArrayOfDicts 3651 3618 -0.9% 1.01x (?)
Dictionary 2354 2365 +0.5% 1.00x (?)
Dictionary2 1477 1479 +0.1% 1.00x (?)
Dictionary3OfObjects 2106 2166 +2.8% 0.97x (?)
Dictionary4Legacy 1697 1758 +3.6% 0.97x
Dictionary4OfObjectsLegacy 2390 2335 -2.3% 1.02x (?)
DictionaryBridge 1336 1389 +4.0% 0.96x (?)
DictionaryCopy 327668 325725 -0.6% 1.01x (?)
DictionaryFilter 338637 335602 -0.9% 1.01x (?)
DictionaryGroup 4593 4569 -0.5% 1.01x (?)
DictionaryGroupOfObjects 6903 6875 -0.4% 1.00x (?)
DictionaryLiteral 8931 8986 +0.6% 0.99x (?)
DictionaryOfObjects 6257 6382 +2.0% 0.98x (?)
DictionaryRemove 17758 17906 +0.8% 0.99x
DictionaryRemoveOfObjects 50115 50335 +0.4% 1.00x (?)
DictionarySubscriptDefaultMutation 2008 2003 -0.2% 1.00x (?)
DictionarySubscriptDefaultMutationArray 2318 2265 -2.3% 1.02x
DictionarySubscriptDefaultMutationArrayOfObjects 9434 9220 -2.3% 1.02x
DictionarySubscriptDefaultMutationOfObjects 5366 5393 +0.5% 0.99x (?)
DictionarySwap 5236 5226 -0.2% 1.00x (?)
DictionarySwapAt 35424 35958 +1.5% 0.99x (?)
DictionarySwapAtOfObjects 113716 114250 +0.5% 1.00x (?)
DictionarySwapOfObjects 18308 18289 -0.1% 1.00x (?)
DoubleWidthDivision 0 0 +0.0% 1.00x
DropFirstAnyCollection 15483 15457 -0.2% 1.00x (?)
DropFirstAnyCollectionLazy 102064 102577 +0.5% 0.99x (?)
DropFirstAnySeqCRangeIter 23731 24615 +3.7% 0.96x (?)
DropFirstAnySeqCRangeIterLazy 23632 23593 -0.2% 1.00x (?)
DropFirstAnySeqCntRange 15404 15357 -0.3% 1.00x (?)
DropFirstAnySeqCntRangeLazy 15407 15417 +0.1% 1.00x (?)
DropFirstAnySequence 13009 13002 -0.1% 1.00x (?)
DropFirstAnySequenceLazy 12808 12963 +1.2% 0.99x
DropFirstArray 3445 3435 -0.3% 1.00x
DropFirstCountableRange 323 323 +0.0% 1.00x
DropFirstCountableRangeLazy 34434 34611 +0.5% 0.99x
DropFirstSequence 12478 12577 +0.8% 0.99x
DropFirstSequenceLazy 12533 12550 +0.1% 1.00x (?)
DropLastAnyCollection 5168 5182 +0.3% 1.00x (?)
DropLastAnyCollectionLazy 33272 34735 +4.4% 0.96x
DropLastAnySeqCRangeIter 40991 40625 -0.9% 1.01x
DropLastAnySeqCRangeIterLazy 41017 40780 -0.6% 1.01x (?)
DropLastAnySeqCntRange 5142 5133 -0.2% 1.00x (?)
DropLastAnySeqCntRangeLazy 5135 5157 +0.4% 1.00x
DropLastAnySequence 31086 31432 +1.1% 0.99x (?)
DropLastAnySequenceLazy 31200 31051 -0.5% 1.00x (?)
DropLastCountableRange 112 112 +0.0% 1.00x
DropLastCountableRangeLazy 11488 11533 +0.4% 1.00x
DropLastSequence 30762 30738 -0.1% 1.00x (?)
DropLastSequenceLazy 31196 31039 -0.5% 1.01x (?)
DropWhileAnyCollection 20018 20065 +0.2% 1.00x (?)
DropWhileAnyCollectionLazy 22386 22520 +0.6% 0.99x (?)
DropWhileAnySeqCRangeIter 24747 24737 -0.0% 1.00x (?)
DropWhileAnySeqCRangeIterLazy 22336 22222 -0.5% 1.01x (?)
DropWhileAnySeqCntRange 19843 19967 +0.6% 0.99x
DropWhileAnySeqCntRangeLazy 22320 22222 -0.4% 1.00x
DropWhileAnySequence 13574 13609 +0.3% 1.00x
DropWhileAnySequenceLazy 12571 12438 -1.1% 1.01x
DropWhileCountableRange 4855 4929 +1.5% 0.98x
DropWhileCountableRangeLazy 21998 21904 -0.4% 1.00x
DropWhileSequence 13200 13304 +0.8% 0.99x
DropWhileSequenceLazy 12335 12351 +0.1% 1.00x (?)
EqualStringSubstring 72 72 +0.0% 1.00x
EqualSubstringString 72 72 +0.0% 1.00x
EqualSubstringSubstring 76 73 -3.9% 1.04x
EqualSubstringSubstringGenericEquatable 58 60 +3.4% 0.97x
ErrorHandling 6710 6883 +2.6% 0.97x (?)
ExclusivityGlobal 186 186 +0.0% 1.00x
ExclusivityIndependent 77 75 -2.6% 1.03x
FilterEvenUsingReduceInto 1919 1941 +1.1% 0.99x (?)
FloatingPointPrinting_Double_description_small 24316 24388 +0.3% 1.00x (?)
FloatingPointPrinting_Float80_description_small 31368 31388 +0.1% 1.00x (?)
FloatingPointPrinting_Float80_description_uniform 58556 59549 +1.7% 0.98x (?)
FloatingPointPrinting_Float80_interpolated 122323 122680 +0.3% 1.00x (?)
FloatingPointPrinting_Float_description_small 6807 6959 +2.2% 0.98x
FloatingPointPrinting_Float_description_uniform 17225 17429 +1.2% 0.99x
FrequenciesUsingReduce 11286 10990 -2.6% 1.03x (?)
FrequenciesUsingReduceInto 3433 3521 +2.6% 0.98x (?)
Hanoi 20342 20372 +0.1% 1.00x (?)
HashTest 21495 22165 +3.1% 0.97x
Histogram 7543 7315 -3.0% 1.03x
Integrate 459 460 +0.2% 1.00x (?)
IterateData 5504 5469 -0.6% 1.01x
Join 806 799 -0.9% 1.01x
LazilyFilteredArrays 1520995 1540267 +1.3% 0.99x
LazilyFilteredRange 533659 534016 +0.1% 1.00x (?)
LessSubstringSubstring 75 75 +0.0% 1.00x
LessSubstringSubstringGenericComparable 58 59 +1.7% 0.98x
LinkedList 32499 32465 -0.1% 1.00x (?)
LuhnAlgoEager 5603 5601 -0.0% 1.00x (?)
LuhnAlgoLazy 5809 5716 -1.6% 1.02x (?)
MapReduce 25712 25497 -0.8% 1.01x
MapReduceAnyCollection 25679 25601 -0.3% 1.00x (?)
MapReduceAnyCollectionShort 37025 38271 +3.4% 0.97x
MapReduceClass 29628 29597 -0.1% 1.00x (?)
MapReduceClassShort 41373 41395 +0.1% 1.00x (?)
MapReduceLazySequence 20345 20553 +1.0% 0.99x
MapReduceSequence 30586 30661 +0.2% 1.00x (?)
MapReduceShort 37472 37981 +1.4% 0.99x (?)
MapReduceShortString 246 252 +2.4% 0.98x (?)
MapReduceString 1762 1760 -0.1% 1.00x (?)
Memset 44128 44105 -0.1% 1.00x (?)
MonteCarloE 1148034 1148911 +0.1% 1.00x (?)
MonteCarloPi 5175626 5221425 +0.9% 0.99x
NSDictionaryCastToSwift 6835 6617 -3.2% 1.03x (?)
NSError 625 644 +3.0% 0.97x (?)
NibbleSort 498921 502541 +0.7% 0.99x
NopDeinit 189826 190531 +0.4% 1.00x
ObjectAllocation 1262 1272 +0.8% 0.99x (?)
ObjectiveCBridgeFromNSArrayAnyObject 29161 29213 +0.2% 1.00x (?)
ObjectiveCBridgeFromNSArrayAnyObjectForced 9195 9460 +2.9% 0.97x (?)
ObjectiveCBridgeFromNSArrayAnyObjectToString 50871 48972 -3.7% 1.04x
ObjectiveCBridgeFromNSDictionaryAnyObject 119027 116403 -2.2% 1.02x
ObjectiveCBridgeFromNSSetAnyObject 53255 54039 +1.5% 0.99x (?)
ObjectiveCBridgeFromNSSetAnyObjectToString 74662 74211 -0.6% 1.01x (?)
ObjectiveCBridgeStubDataAppend 6339 6292 -0.7% 1.01x (?)
ObjectiveCBridgeStubDateMutation 774 773 -0.1% 1.00x
ObjectiveCBridgeStubFromArrayOfNSString 35704 34253 -4.1% 1.04x (?)
ObjectiveCBridgeStubFromNSDate 7004 7062 +0.8% 0.99x (?)
ObjectiveCBridgeStubFromNSStringRef 196 197 +0.5% 0.99x
ObjectiveCBridgeStubNSDataAppend 3090 3032 -1.9% 1.02x (?)
ObjectiveCBridgeStubNSDateMutationRef 16153 16765 +3.8% 0.96x (?)
ObjectiveCBridgeStubToArrayOfNSString 38879 38673 -0.5% 1.01x (?)
ObjectiveCBridgeStubToNSDateRef 3512 3481 -0.9% 1.01x (?)
ObjectiveCBridgeStubToNSStringRef 156 156 +0.0% 1.00x
ObjectiveCBridgeStubURLAppendPath 306182 302271 -1.3% 1.01x (?)
ObjectiveCBridgeStubURLAppendPathRef 306542 302651 -1.3% 1.01x (?)
ObjectiveCBridgeToNSDictionary 28823 28573 -0.9% 1.01x (?)
ObjectiveCBridgeToNSSet 17559 17221 -1.9% 1.02x (?)
ObjectiveCBridgeToNSString 541 538 -0.6% 1.01x
ObserverClosure 6458 6476 +0.3% 1.00x (?)
ObserverForwarderStruct 4387 4361 -0.6% 1.01x (?)
ObserverPartiallyAppliedMethod 8046 8054 +0.1% 1.00x (?)
ObserverUnappliedMethod 8207 8188 -0.2% 1.00x (?)
OpenClose 893 878 -1.7% 1.02x
PartialApplyDynamicType 40786 39222 -3.8% 1.04x
Phonebook 18749 19318 +3.0% 0.97x
PointerArithmetics 117454 117492 +0.0% 1.00x (?)
PolymorphicCalls 2459 2437 -0.9% 1.01x (?)
PopFrontArray 4672 4675 +0.1% 1.00x (?)
PopFrontArrayGeneric 5352 5351 -0.0% 1.00x (?)
PopFrontUnsafePointer 10633 10656 +0.2% 1.00x (?)
PrefixAnyCollection 15408 15449 +0.3% 1.00x (?)
PrefixAnyCollectionLazy 101439 100936 -0.5% 1.00x (?)
PrefixAnySeqCRangeIter 18914 18780 -0.7% 1.01x
PrefixAnySeqCRangeIterLazy 18969 18869 -0.5% 1.01x
PrefixAnySeqCntRange 15472 15406 -0.4% 1.00x (?)
PrefixAnySeqCntRangeLazy 15388 15390 +0.0% 1.00x (?)
PrefixAnySequence 10451 10479 +0.3% 1.00x (?)
PrefixAnySequenceLazy 10473 10514 +0.4% 1.00x (?)
PrefixArray 3449 3447 -0.1% 1.00x (?)
PrefixCountableRange 323 323 +0.0% 1.00x
PrefixCountableRangeLazy 34407 34585 +0.5% 0.99x (?)
PrefixSequence 10093 10109 +0.2% 1.00x (?)
PrefixSequenceLazy 10156 10108 -0.5% 1.00x (?)
PrefixWhileAnyCollection 29011 29247 +0.8% 0.99x (?)
PrefixWhileAnyCollectionLazy 18529 18526 -0.0% 1.00x (?)
PrefixWhileAnySeqCRangeIter 34535 34235 -0.9% 1.01x (?)
PrefixWhileAnySeqCRangeIterLazy 18472 18403 -0.4% 1.00x (?)
PrefixWhileAnySeqCntRange 28840 29041 +0.7% 0.99x
PrefixWhileAnySeqCntRangeLazy 18374 18354 -0.1% 1.00x
PrefixWhileAnySequence 26949 26963 +0.1% 1.00x (?)
PrefixWhileAnySequenceLazy 10983 11060 +0.7% 0.99x
PrefixWhileArray 10550 10533 -0.2% 1.00x
PrefixWhileCountableRange 13765 13986 +1.6% 0.98x
PrefixWhileCountableRangeLazy 18159 18072 -0.5% 1.00x
PrefixWhileSequence 26804 26650 -0.6% 1.01x (?)
PrefixWhileSequenceLazy 10829 10752 -0.7% 1.01x
Prims 9766 9693 -0.7% 1.01x (?)
PrimsSplit 9832 9689 -1.5% 1.01x (?)
QueueConcrete 14340 14477 +1.0% 0.99x
QueueGeneric 18716 19687 +5.2% 0.95x
RC4 16005 16029 +0.1% 1.00x
RGBHistogram 27163 26570 -2.2% 1.02x
RGBHistogramOfObjects 80497 79836 -0.8% 1.01x (?)
RangeAssignment 2649 2639 -0.4% 1.00x (?)
RangeIterationSigned 14386 14863 +3.3% 0.97x
RangeReplaceableCollectionPlusDefault 10943 11159 +2.0% 0.98x (?)
RecursiveOwnedParameter 5897 5875 -0.4% 1.00x (?)
RemoveWhereFilterInts 1937 1951 +0.7% 0.99x
RemoveWhereFilterStrings 2460 2463 +0.1% 1.00x
RemoveWhereMoveInts 3408 3413 +0.1% 1.00x (?)
RemoveWhereMoveStrings 3926 3933 +0.2% 1.00x (?)
RemoveWhereQuadraticInts 8083 8097 +0.2% 1.00x
RemoveWhereQuadraticString 2267 2256 -0.5% 1.00x (?)
RemoveWhereQuadraticStrings 9742 9750 +0.1% 1.00x (?)
RemoveWhereSwapInts 6170 6157 -0.2% 1.00x
RemoveWhereSwapStrings 6859 6866 +0.1% 1.00x (?)
ReversedArray 12976 12973 -0.0% 1.00x (?)
ReversedBidirectional 43120 44108 +2.3% 0.98x (?)
ReversedDictionary 24585 24688 +0.4% 1.00x (?)
SequenceAlgosAnySequence 13013 12990 -0.2% 1.00x (?)
SequenceAlgosArray 755764 794468 +5.1% 0.95x
SequenceAlgosContiguousArray 297460 296829 -0.2% 1.00x (?)
SequenceAlgosList 8693 8721 +0.3% 1.00x
SequenceAlgosRange 1279561 1275556 -0.3% 1.00x
SequenceAlgosUnfoldSequence 6562 6569 +0.1% 1.00x (?)
SetExclusiveOr 17065 17060 -0.0% 1.00x (?)
SetExclusiveOr_OfObjects 39123 39069 -0.1% 1.00x (?)
SetIntersect 6948 6839 -1.6% 1.02x (?)
SetIntersect_OfObjects 9754 9706 -0.5% 1.00x (?)
SetIsSubsetOf 1211 1206 -0.4% 1.00x (?)
SetIsSubsetOf_OfObjects 2171 2166 -0.2% 1.00x (?)
SetUnion 12303 12282 -0.2% 1.00x (?)
SetUnion_OfObjects 28038 28081 +0.2% 1.00x (?)
SevenBoom 1090 1094 +0.4% 1.00x (?)
Sim2DArray 43537 43479 -0.1% 1.00x (?)
SortLargeExistentials 11706 11592 -1.0% 1.01x (?)
SortLettersInPlace 1946 1950 +0.2% 1.00x (?)
SortSortedStrings 1107 1153 +4.2% 0.96x
SortStrings 2243 2336 +4.1% 0.96x
SortStringsUnicode 2749 2780 +1.1% 0.99x
StackPromo 98836 99692 +0.9% 0.99x (?)
StaticArray 2553 2512 -1.6% 1.02x
StrToInt 79472 79301 -0.2% 1.00x (?)
StringBuilder 5537 5584 +0.8% 0.99x (?)
StringBuilderLong 2965 2977 +0.4% 1.00x
StringBuilderWithLongSubstring 4945 5168 +4.5% 0.96x (?)
StringComparison_abnormal 1355 1316 -2.9% 1.03x (?)
StringComparison_ascii 9552 9578 +0.3% 1.00x (?)
StringComparison_emoji 1982 2006 +1.2% 0.99x (?)
StringComparison_fastPrenormal 4988 5006 +0.4% 1.00x (?)
StringComparison_latin1 3902 3886 -0.4% 1.00x (?)
StringComparison_longSharedPrefix 2372 2375 +0.1% 1.00x (?)
StringComparison_nonBMPSlowestPrenormal 3682 3716 +0.9% 0.99x (?)
StringComparison_slowerPrenormal 4136 4246 +2.7% 0.97x (?)
StringComparison_zalgo 127916 127151 -0.6% 1.01x (?)
StringEnumRawValueInitialization 32835 34108 +3.9% 0.96x
StringEqualPointerComparison 1611 1611 +0.0% 1.00x
StringFromLongWholeSubstring 12 12 +0.0% 1.00x
StringFromLongWholeSubstringGeneric 198 200 +1.0% 0.99x
StringHasPrefixAscii 3063 3064 +0.0% 1.00x (?)
StringHasPrefixUnicode 116071 117200 +1.0% 0.99x (?)
StringHasSuffixAscii 3215 3218 +0.1% 1.00x
StringHasSuffixUnicode 108041 105921 -2.0% 1.02x (?)
StringInterpolation 13143 12608 -4.1% 1.04x (?)
StringInterpolationManySmallSegments 20879 20587 -1.4% 1.01x (?)
StringMatch 40422 39957 -1.2% 1.01x (?)
StringRemoveDupes 792 806 +1.8% 0.98x (?)
StringUTF16Builder 8580 8836 +3.0% 0.97x (?)
StringUTF16SubstringBuilder 24201 25387 +4.9% 0.95x
StringWalk 12371 12009 -2.9% 1.03x
StringWordBuilder 2486 2536 +2.0% 0.98x
StringWordBuilderReservingCapacity 2130 2201 +3.3% 0.97x
SubstringEqualString 1738 1736 -0.1% 1.00x (?)
SubstringEquatable 5690 5797 +1.9% 0.98x
SubstringFromLongString 18 18 +0.0% 1.00x
SubstringFromLongStringGeneric 105 105 +0.0% 1.00x
SuffixAnyCollection 5150 5177 +0.5% 0.99x (?)
SuffixAnyCollectionLazy 33020 34187 +3.5% 0.97x (?)
SuffixAnySeqCRangeIter 36577 36468 -0.3% 1.00x (?)
SuffixAnySeqCRangeIterLazy 36600 36462 -0.4% 1.00x (?)
SuffixAnySeqCntRange 5142 5138 -0.1% 1.00x (?)
SuffixAnySeqCntRangeLazy 5147 5143 -0.1% 1.00x (?)
SuffixAnySequence 26677 26534 -0.5% 1.01x
SuffixAnySequenceLazy 26695 26576 -0.4% 1.00x
SuffixCountableRange 113 113 +0.0% 1.00x
SuffixCountableRangeLazy 11478 11543 +0.6% 0.99x (?)
SuffixSequence 26361 26438 +0.3% 1.00x
SuffixSequenceLazy 26693 26707 +0.1% 1.00x (?)
SumUsingReduce 162505 161377 -0.7% 1.01x
SumUsingReduceInto 153427 154128 +0.5% 1.00x
SuperChars 86767 86224 -0.6% 1.01x (?)
TwoSum 3815 3769 -1.2% 1.01x
TypeFlood 209 218 +4.3% 0.96x (?)
UTF8Decode 29770 29756 -0.0% 1.00x (?)
Walsh 11931 11944 +0.1% 1.00x (?)
WordCountHistogramASCII 39971 40106 +0.3% 1.00x (?)
WordCountHistogramUTF16 47827 47234 -1.2% 1.01x (?)
WordCountUniqueASCII 7472 7494 +0.3% 1.00x
WordCountUniqueUTF16 13355 12991 -2.7% 1.03x
WordSplitASCII 12471 11915 -4.5% 1.05x (?)
WordSplitUTF16 14892 14765 -0.9% 1.01x (?)
XorLoop 23239 23231 -0.0% 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

@milseman
Copy link
Member Author

milseman commented May 1, 2018

I filed https://bugs.swift.org/browse/SR-7575 for other views

@milseman
Copy link
Member Author

milseman commented May 1, 2018

(Those regressions don't repro locally for me)

Define _copyContents on String.UTF8View, which allows it to
efficiently memcpy bytes when the String is already in UTF-8 (or
ASCII).
@milseman milseman force-pushed the its_all_about_the_copy_content branch from 3414195 to 17b0ed4 Compare May 1, 2018 00:09
@milseman milseman changed the title [WIP] [String] Copy contents for utf8 view [String] Define _copyContents for UTF8View May 1, 2018
@milseman milseman requested a review from airspeedswift May 1, 2018 00:10
@milseman
Copy link
Member Author

milseman commented May 1, 2018

I want to land #16262 then see benchmarks results again

@milseman
Copy link
Member Author

milseman commented May 1, 2018

@swift-ci please test

@swift-ci
Copy link
Contributor

swift-ci commented May 1, 2018

Build failed
Swift Test Linux Platform
Git Sha - 34141952b4be9d57dd96e9dbef0a36ec7ebe9e35

@swift-ci
Copy link
Contributor

swift-ci commented May 1, 2018

Build failed
Swift Test OS X Platform
Git Sha - 34141952b4be9d57dd96e9dbef0a36ec7ebe9e35

@milseman
Copy link
Member Author

milseman commented May 1, 2018

@swift-ci please smoke benchmark

@swift-ci
Copy link
Contributor

swift-ci commented May 1, 2018

Build comment file:

Optimized (O)

Regression (13)
TEST OLD NEW DELTA SPEEDUP
MapReduce 398 719 +80.7% 0.55x
AngryPhonebook 3726 4335 +16.3% 0.86x
MapReduceSequence 462 527 +14.1% 0.88x
StaticArray 9 10 +11.1% 0.90x
StringComparison_abnormal 774 852 +10.1% 0.91x
CharIndexing_korean_unicodeScalars_Backwards 15679 17259 +10.1% 0.91x (?)
CharIndexing_chinese_unicodeScalars_Backwards 12297 13530 +10.0% 0.91x
ObjectiveCBridgeStubFromArrayOfNSString 34095 37036 +8.6% 0.92x (?)
PrefixWhileSequence 361 391 +8.3% 0.92x
NopDeinit 32248 34590 +7.3% 0.93x
ObjectiveCBridgeFromNSArrayAnyObject 25965 27576 +6.2% 0.94x (?)
NSStringConversion 707 747 +5.7% 0.95x
StringBuilderWithLongSubstring 1501 1585 +5.6% 0.95x (?)
Improvement (9)
TEST OLD NEW DELTA SPEEDUP
ArrayAppendAscii 14351 3960 -72.4% 3.62x
StringBuilderLong 1790 1353 -24.4% 1.32x (?)
StringUTF16SubstringBuilder 6392 5765 -9.8% 1.11x (?)
ObjectiveCBridgeFromNSSetAnyObjectForced 5154 4767 -7.5% 1.08x (?)
CharIndexing_korean_unicodeScalars 16828 15592 -7.3% 1.08x
ObjectiveCBridgeFromNSArrayAnyObjectForced 5086 4780 -6.0% 1.06x (?)
RemoveWhereQuadraticString 516 487 -5.6% 1.06x (?)
DictionaryBridge 1263 1198 -5.1% 1.05x (?)
ObjectiveCBridgeToNSDictionary 28076 26735 -4.8% 1.05x (?)
No Changes (405)
TEST OLD NEW DELTA SPEEDUP
AnyHashableWithAClass 84481 85182 +0.8% 0.99x
Array2D 2560 2560 +0.0% 1.00x
ArrayAppend 1108 1124 +1.4% 0.99x
ArrayAppendArrayOfInt 797 804 +0.9% 0.99x (?)
ArrayAppendAsciiSubstring 160243 156535 -2.3% 1.02x
ArrayAppendFromGeneric 798 798 +0.0% 1.00x
ArrayAppendGenericStructs 1426 1425 -0.1% 1.00x (?)
ArrayAppendLatin1 40912 39970 -2.3% 1.02x
ArrayAppendLatin1Substring 285701 288015 +0.8% 0.99x (?)
ArrayAppendLazyMap 1345 1343 -0.1% 1.00x (?)
ArrayAppendOptionals 1439 1427 -0.8% 1.01x
ArrayAppendRepeatCol 1339 1338 -0.1% 1.00x (?)
ArrayAppendReserved 842 841 -0.1% 1.00x
ArrayAppendSequence 1122 1122 +0.0% 1.00x
ArrayAppendStrings 6350 6342 -0.1% 1.00x
ArrayAppendToFromGeneric 799 800 +0.1% 1.00x (?)
ArrayAppendToGeneric 799 801 +0.3% 1.00x (?)
ArrayAppendUTF16 41911 40499 -3.4% 1.03x
ArrayAppendUTF16Substring 286276 281319 -1.7% 1.02x
ArrayInClass 85 86 +1.2% 0.99x
ArrayLiteral 0 0 +0.0% 1.00x
ArrayOfGenericPOD2 151 151 +0.0% 1.00x
ArrayOfGenericRef 4386 4384 -0.0% 1.00x
ArrayOfPOD 184 183 -0.5% 1.01x (?)
ArrayOfRef 4378 4364 -0.3% 1.00x (?)
ArrayPlusEqualArrayOfInt 798 796 -0.3% 1.00x
ArrayPlusEqualFiveElementCollection 5603 5610 +0.1% 1.00x
ArrayPlusEqualSingleElementCollection 1109 1111 +0.2% 1.00x (?)
ArrayPlusEqualThreeElements 1654 1654 +0.0% 1.00x
ArraySubscript 1518 1527 +0.6% 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
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 102 101 -1.0% 1.01x
COWTree 5481 5418 -1.1% 1.01x (?)
CSVParsing 712548 713961 +0.2% 1.00x (?)
CSVParsingAlt 793052 785849 -0.9% 1.01x
CSVParsingAltIndices 343702 343668 -0.0% 1.00x (?)
CStringLongAscii 4643 4635 -0.2% 1.00x
CStringLongNonAscii 2157 2269 +5.2% 0.95x
CStringShortAscii 3190 3177 -0.4% 1.00x
Calculator 1098 1131 +3.0% 0.97x
CaptureProp 4116 4122 +0.1% 1.00x (?)
ChainedFilterMap 1409 1409 +0.0% 1.00x
CharIndexing_ascii_unicodeScalars 16090 16106 +0.1% 1.00x (?)
CharIndexing_ascii_unicodeScalars_Backwards 16225 16601 +2.3% 0.98x (?)
CharIndexing_chinese_unicodeScalars 12346 12415 +0.6% 0.99x (?)
CharIndexing_japanese_unicodeScalars 19260 19262 +0.0% 1.00x (?)
CharIndexing_japanese_unicodeScalars_Backwards 19813 20331 +2.6% 0.97x (?)
CharIndexing_punctuatedJapanese_unicodeScalars 2925 2922 -0.1% 1.00x (?)
CharIndexing_punctuatedJapanese_unicodeScalars_Backwards 2937 2943 +0.2% 1.00x
CharIndexing_punctuated_unicodeScalars 3650 3655 +0.1% 1.00x
CharIndexing_punctuated_unicodeScalars_Backwards 3681 3675 -0.2% 1.00x (?)
CharIndexing_russian_unicodeScalars 13415 13798 +2.9% 0.97x (?)
CharIndexing_russian_unicodeScalars_Backwards 13730 13588 -1.0% 1.01x (?)
CharIndexing_tweet_unicodeScalars 33161 32359 -2.4% 1.02x (?)
CharIndexing_tweet_unicodeScalars_Backwards 31957 31933 -0.1% 1.00x (?)
CharIndexing_utf16_unicodeScalars 22702 22701 -0.0% 1.00x (?)
CharIndexing_utf16_unicodeScalars_Backwards 23489 23354 -0.6% 1.01x (?)
CharIteration_ascii_unicodeScalars 20486 20498 +0.1% 1.00x
CharIteration_ascii_unicodeScalars_Backwards 15203 15197 -0.0% 1.00x (?)
CharIteration_chinese_unicodeScalars 15519 15505 -0.1% 1.00x
CharIteration_chinese_unicodeScalars_Backwards 11527 11501 -0.2% 1.00x
CharIteration_japanese_unicodeScalars 24555 24517 -0.2% 1.00x
CharIteration_japanese_unicodeScalars_Backwards 18216 18177 -0.2% 1.00x (?)
CharIteration_korean_unicodeScalars 19860 19873 +0.1% 1.00x (?)
CharIteration_korean_unicodeScalars_Backwards 14764 14724 -0.3% 1.00x
CharIteration_punctuatedJapanese_unicodeScalars 3668 3698 +0.8% 0.99x
CharIteration_punctuatedJapanese_unicodeScalars_Backwards 2760 2758 -0.1% 1.00x
CharIteration_punctuated_unicodeScalars 4595 4633 +0.8% 0.99x
CharIteration_punctuated_unicodeScalars_Backwards 3450 3448 -0.1% 1.00x (?)
CharIteration_russian_unicodeScalars 17086 17051 -0.2% 1.00x (?)
CharIteration_russian_unicodeScalars_Backwards 12667 12661 -0.0% 1.00x (?)
CharIteration_tweet_unicodeScalars 40149 40708 +1.4% 0.99x
CharIteration_tweet_unicodeScalars_Backwards 30083 30050 -0.1% 1.00x (?)
CharIteration_utf16_unicodeScalars 27624 27821 +0.7% 0.99x
CharIteration_utf16_unicodeScalars_Backwards 18229 18328 +0.5% 0.99x
CharacterLiteralsLarge 5834 5870 +0.6% 0.99x (?)
CharacterLiteralsSmall 217 217 +0.0% 1.00x
CharacterPropertiesFetch 4613 4672 +1.3% 0.99x (?)
CharacterPropertiesPrecomputed 1108 1109 +0.1% 1.00x (?)
CharacterPropertiesStashed 1468 1477 +0.6% 0.99x (?)
CharacterPropertiesStashedMemo 1557 1558 +0.1% 1.00x (?)
Chars 1094 1094 +0.0% 1.00x
ClassArrayGetter 15 15 +0.0% 1.00x
Combos 484 487 +0.6% 0.99x (?)
DataAccessBytes 1224 1222 -0.2% 1.00x (?)
DataAppendArray 6529 6481 -0.7% 1.01x (?)
DataAppendBytes 6257 6217 -0.6% 1.01x (?)
DataAppendDataLargeToLarge 71086 71824 +1.0% 0.99x (?)
DataAppendDataLargeToMedium 37253 37221 -0.1% 1.00x (?)
DataAppendDataLargeToSmall 36095 36008 -0.2% 1.00x (?)
DataAppendDataMediumToLarge 40081 39574 -1.3% 1.01x (?)
DataAppendDataMediumToMedium 8352 8373 +0.3% 1.00x (?)
DataAppendDataMediumToSmall 7307 7398 +1.2% 0.99x (?)
DataAppendDataSmallToLarge 38932 38758 -0.4% 1.00x (?)
DataAppendDataSmallToMedium 7815 7826 +0.1% 1.00x (?)
DataAppendDataSmallToSmall 7420 7371 -0.7% 1.01x (?)
DataAppendSequence 19307 19621 +1.6% 0.98x (?)
DataCopyBytes 2552 2548 -0.2% 1.00x (?)
DataCount 38 38 +0.0% 1.00x
DataMutateBytes 4321 4347 +0.6% 0.99x (?)
DataReplaceLarge 42755 43394 +1.5% 0.99x (?)
DataReplaceLargeBuffer 59137 59213 +0.1% 1.00x (?)
DataReplaceMedium 12498 12932 +3.5% 0.97x (?)
DataReplaceMediumBuffer 13114 13100 -0.1% 1.00x (?)
DataReplaceSmall 9428 9108 -3.4% 1.04x (?)
DataReplaceSmallBuffer 9641 9429 -2.2% 1.02x (?)
DataReset 3218 3314 +3.0% 0.97x
DataSetCount 886 894 +0.9% 0.99x
DataSubscript 237 238 +0.4% 1.00x
DictOfArraysToArrayOfDicts 819 813 -0.7% 1.01x (?)
Dictionary 682 688 +0.9% 0.99x
Dictionary2 805 812 +0.9% 0.99x
Dictionary2OfObjects 2209 2214 +0.2% 1.00x (?)
Dictionary3 255 256 +0.4% 1.00x (?)
Dictionary3OfObjects 763 766 +0.4% 1.00x (?)
Dictionary4 338 340 +0.6% 0.99x (?)
Dictionary4Legacy 729 729 +0.0% 1.00x
Dictionary4OfObjects 450 452 +0.4% 1.00x (?)
Dictionary4OfObjectsLegacy 937 941 +0.4% 1.00x
DictionaryCopy 107031 107801 +0.7% 0.99x
DictionaryFilter 107187 107446 +0.2% 1.00x (?)
DictionaryGroup 216 216 +0.0% 1.00x
DictionaryGroupOfObjects 2132 2121 -0.5% 1.01x (?)
DictionaryLiteral 1920 1938 +0.9% 0.99x (?)
DictionaryOfObjects 2444 2443 -0.0% 1.00x (?)
DictionaryRemove 4235 4195 -0.9% 1.01x
DictionaryRemoveOfObjects 26111 26136 +0.1% 1.00x (?)
DictionarySubscriptDefaultMutation 267 266 -0.4% 1.00x
DictionarySubscriptDefaultMutationArray 622 621 -0.2% 1.00x
DictionarySubscriptDefaultMutationArrayOfObjects 4006 4026 +0.5% 1.00x (?)
DictionarySubscriptDefaultMutationOfObjects 1715 1716 +0.1% 1.00x (?)
DictionarySwap 1040 1048 +0.8% 0.99x
DictionarySwapAt 6802 6741 -0.9% 1.01x (?)
DictionarySwapAtOfObjects 52720 52410 -0.6% 1.01x
DictionarySwapOfObjects 8572 8620 +0.6% 0.99x (?)
DoubleWidthDivision 0 0 +0.0% 1.00x
DropFirstAnyCollection 84 84 +0.0% 1.00x
DropFirstAnyCollectionLazy 62404 62642 +0.4% 1.00x (?)
DropFirstAnySeqCRangeIter 21221 21476 +1.2% 0.99x
DropFirstAnySeqCRangeIterLazy 21191 21459 +1.3% 0.99x
DropFirstAnySeqCntRange 41 41 +0.0% 1.00x
DropFirstAnySeqCntRangeLazy 41 41 +0.0% 1.00x
DropFirstAnySequence 5001 4980 -0.4% 1.00x (?)
DropFirstAnySequenceLazy 4953 4984 +0.6% 0.99x
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 2682 2681 -0.0% 1.00x (?)
DropFirstSequenceLazy 2777 2774 -0.1% 1.00x (?)
DropLastAnyCollection 31 31 +0.0% 1.00x
DropLastAnyCollectionLazy 21047 20797 -1.2% 1.01x (?)
DropLastAnySeqCRangeIter 3691 3685 -0.2% 1.00x (?)
DropLastAnySeqCRangeIterLazy 3677 3719 +1.1% 0.99x (?)
DropLastAnySeqCntRange 13 13 +0.0% 1.00x
DropLastAnySeqCntRangeLazy 13 13 +0.0% 1.00x
DropLastAnySequence 5072 5088 +0.3% 1.00x
DropLastAnySequenceLazy 5190 5210 +0.4% 1.00x
DropLastCountableRange 11 11 +0.0% 1.00x
DropLastCountableRangeLazy 11 11 +0.0% 1.00x
DropLastSequence 569 577 +1.4% 0.99x (?)
DropLastSequenceLazy 569 576 +1.2% 0.99x
DropWhileAnyCollection 107 107 +0.0% 1.00x
DropWhileAnyCollectionLazy 125 125 +0.0% 1.00x
DropWhileAnySeqCRangeIter 16710 16867 +0.9% 0.99x (?)
DropWhileAnySeqCRangeIterLazy 125 125 +0.0% 1.00x
DropWhileAnySeqCntRange 51 51 +0.0% 1.00x
DropWhileAnySeqCntRangeLazy 125 125 +0.0% 1.00x
DropWhileAnySequence 4844 4864 +0.4% 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 2223 2222 -0.0% 1.00x (?)
DropWhileSequenceLazy 88 88 +0.0% 1.00x
EqualStringSubstring 56 56 +0.0% 1.00x
EqualSubstringString 64 64 +0.0% 1.00x
EqualSubstringSubstring 49 48 -2.0% 1.02x
EqualSubstringSubstringGenericEquatable 49 48 -2.0% 1.02x
ErrorHandling 1526 1535 +0.6% 0.99x (?)
ExclusivityGlobal 5 5 +0.0% 1.00x
ExclusivityIndependent 2 2 +0.0% 1.00x
FatCompactMap 203550 204775 +0.6% 0.99x
FilterEvenUsingReduce 1314 1309 -0.4% 1.00x
FilterEvenUsingReduceInto 148 149 +0.7% 0.99x (?)
FloatingPointPrinting_Double_description_small 23713 23838 +0.5% 0.99x (?)
FloatingPointPrinting_Double_description_uniform 23626 23279 -1.5% 1.01x (?)
FloatingPointPrinting_Double_interpolated 78686 77927 -1.0% 1.01x (?)
FloatingPointPrinting_Float80_description_small 30699 30834 +0.4% 1.00x (?)
FloatingPointPrinting_Float80_description_uniform 29712 29748 +0.1% 1.00x (?)
FloatingPointPrinting_Float80_interpolated 83113 81831 -1.5% 1.02x (?)
FloatingPointPrinting_Float_description_small 5185 5329 +2.8% 0.97x
FloatingPointPrinting_Float_description_uniform 4976 4970 -0.1% 1.00x (?)
FloatingPointPrinting_Float_interpolated 53168 53330 +0.3% 1.00x (?)
FrequenciesUsingReduce 5028 4907 -2.4% 1.02x (?)
FrequenciesUsingReduceInto 1520 1496 -1.6% 1.02x (?)
Hanoi 2157 2155 -0.1% 1.00x (?)
HashTest 1024 1050 +2.5% 0.98x
Histogram 705 705 +0.0% 1.00x
Integrate 341 350 +2.6% 0.97x
IterateData 1864 1872 +0.4% 1.00x
Join 183 183 +0.0% 1.00x
LazilyFilteredArrayContains 36664 37888 +3.3% 0.97x
LazilyFilteredArrays 67180 65178 -3.0% 1.03x (?)
LazilyFilteredRange 3740 3733 -0.2% 1.00x (?)
LessSubstringSubstring 48 48 +0.0% 1.00x
LessSubstringSubstringGenericComparable 48 48 +0.0% 1.00x
LinkedList 7565 7573 +0.1% 1.00x (?)
LuhnAlgoEager 297 292 -1.7% 1.02x
LuhnAlgoLazy 295 298 +1.0% 0.99x
MapReduceAnyCollection 402 409 +1.7% 0.98x (?)
MapReduceAnyCollectionShort 2267 2277 +0.4% 1.00x (?)
MapReduceClass 3016 3009 -0.2% 1.00x (?)
MapReduceClassShort 4574 4573 -0.0% 1.00x (?)
MapReduceLazyCollection 13 13 +0.0% 1.00x
MapReduceLazyCollectionShort 36 37 +2.8% 0.97x (?)
MapReduceLazySequence 86 86 +0.0% 1.00x
MapReduceShort 2004 2009 +0.2% 1.00x
MapReduceShortString 30 30 +0.0% 1.00x
MapReduceString 79 79 +0.0% 1.00x
Memset 222 221 -0.5% 1.00x (?)
MonteCarloE 10206 10365 +1.6% 0.98x
MonteCarloPi 42686 42818 +0.3% 1.00x
NSDictionaryCastToSwift 5565 5755 +3.4% 0.97x
NSError 171 174 +1.8% 0.98x
NibbleSort 3674 3673 -0.0% 1.00x (?)
ObjectAllocation 132 132 +0.0% 1.00x
ObjectiveCBridgeFromNSArrayAnyObjectToString 45658 45161 -1.1% 1.01x (?)
ObjectiveCBridgeFromNSArrayAnyObjectToStringForced 46521 48582 +4.4% 0.96x (?)
ObjectiveCBridgeFromNSDictionaryAnyObject 124262 118572 -4.6% 1.05x (?)
ObjectiveCBridgeFromNSSetAnyObject 52947 54680 +3.3% 0.97x
ObjectiveCBridgeFromNSSetAnyObjectToString 67351 65000 -3.5% 1.04x (?)
ObjectiveCBridgeFromNSString 1178 1208 +2.5% 0.98x
ObjectiveCBridgeFromNSStringForced 2688 2686 -0.1% 1.00x (?)
ObjectiveCBridgeStubDataAppend 11441 11487 +0.4% 1.00x (?)
ObjectiveCBridgeStubDateMutation 400 401 +0.2% 1.00x
ObjectiveCBridgeStubFromNSDate 6513 6559 +0.7% 0.99x (?)
ObjectiveCBridgeStubFromNSString 1158 1188 +2.6% 0.97x (?)
ObjectiveCBridgeStubFromNSStringRef 156 156 +0.0% 1.00x
ObjectiveCBridgeStubNSDataAppend 2677 2617 -2.2% 1.02x (?)
ObjectiveCBridgeStubNSDateMutationRef 13259 13752 +3.7% 0.96x (?)
ObjectiveCBridgeStubToArrayOfNSString 39023 38845 -0.5% 1.00x (?)
ObjectiveCBridgeStubToNSDate 15151 15568 +2.8% 0.97x (?)
ObjectiveCBridgeStubToNSDateRef 3389 3367 -0.6% 1.01x (?)
ObjectiveCBridgeStubToNSString 2393 2386 -0.3% 1.00x (?)
ObjectiveCBridgeStubToNSStringRef 116 116 +0.0% 1.00x
ObjectiveCBridgeStubURLAppendPath 291017 279072 -4.1% 1.04x (?)
ObjectiveCBridgeStubURLAppendPathRef 296766 290098 -2.2% 1.02x (?)
ObjectiveCBridgeToNSArray 15172 15869 +4.6% 0.96x (?)
ObjectiveCBridgeToNSSet 17641 17392 -1.4% 1.01x (?)
ObjectiveCBridgeToNSString 488 486 -0.4% 1.00x
ObserverClosure 2162 2185 +1.1% 0.99x (?)
ObserverForwarderStruct 1262 1256 -0.5% 1.00x (?)
ObserverPartiallyAppliedMethod 3732 3742 +0.3% 1.00x (?)
ObserverUnappliedMethod 2623 2641 +0.7% 0.99x
OpenClose 260 272 +4.6% 0.96x
PartialApplyDynamicType 0 0 +0.0% 1.00x
Phonebook 4963 5124 +3.2% 0.97x
PointerArithmetics 34393 34360 -0.1% 1.00x (?)
PolymorphicCalls 25 25 +0.0% 1.00x
PopFrontArray 1980 1993 +0.7% 0.99x (?)
PopFrontArrayGeneric 1977 1989 +0.6% 0.99x (?)
PopFrontUnsafePointer 9519 9575 +0.6% 0.99x (?)
PrefixAnyCollection 84 84 +0.0% 1.00x
PrefixAnyCollectionLazy 61552 61630 +0.1% 1.00x (?)
PrefixAnySeqCRangeIter 16527 16698 +1.0% 0.99x
PrefixAnySeqCRangeIterLazy 16527 16698 +1.0% 0.99x
PrefixAnySeqCntRange 28 28 +0.0% 1.00x
PrefixAnySeqCntRangeLazy 28 28 +0.0% 1.00x
PrefixAnySequence 4326 4322 -0.1% 1.00x (?)
PrefixAnySequenceLazy 4325 4319 -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 2221 2220 -0.0% 1.00x (?)
PrefixSequenceLazy 2278 2275 -0.1% 1.00x (?)
PrefixWhileAnyCollection 154 154 +0.0% 1.00x
PrefixWhileAnyCollectionLazy 90 90 +0.0% 1.00x
PrefixWhileAnySeqCRangeIter 9149 9154 +0.1% 1.00x (?)
PrefixWhileAnySeqCRangeIterLazy 72 72 +0.0% 1.00x
PrefixWhileAnySeqCntRange 59 59 +0.0% 1.00x
PrefixWhileAnySeqCntRangeLazy 90 90 +0.0% 1.00x
PrefixWhileAnySequence 10243 10296 +0.5% 0.99x (?)
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
PrefixWhileSequenceLazy 52 52 +0.0% 1.00x
Prims 905 904 -0.1% 1.00x (?)
PrimsSplit 914 917 +0.3% 1.00x (?)
QueueConcrete 1146 1150 +0.3% 1.00x
QueueGeneric 1146 1148 +0.2% 1.00x (?)
RC4 169 169 +0.0% 1.00x
RGBHistogram 3429 3432 +0.1% 1.00x (?)
RGBHistogramOfObjects 24323 24317 -0.0% 1.00x (?)
RangeAssignment 352 354 +0.6% 0.99x
RangeIterationSigned 171 171 +0.0% 1.00x
RangeReplaceableCollectionPlusDefault 991 987 -0.4% 1.00x (?)
RecursiveOwnedParameter 115 115 +0.0% 1.00x
RemoveWhereFilterInts 43 43 +0.0% 1.00x
RemoveWhereFilterString 342 332 -2.9% 1.03x (?)
RemoveWhereFilterStrings 437 437 +0.0% 1.00x
RemoveWhereMoveInts 15 15 +0.0% 1.00x
RemoveWhereMoveStrings 707 708 +0.1% 1.00x (?)
RemoveWhereQuadraticInts 1289 1289 +0.0% 1.00x
RemoveWhereQuadraticStrings 2758 2754 -0.1% 1.00x (?)
RemoveWhereSwapInts 19 19 +0.0% 1.00x
RemoveWhereSwapStrings 856 855 -0.1% 1.00x (?)
ReversedArray 57 58 +1.8% 0.98x
ReversedBidirectional 16596 16367 -1.4% 1.01x
ReversedDictionary 267 262 -1.9% 1.02x (?)
RomanNumbers 139977 139698 -0.2% 1.00x (?)
SequenceAlgosAnySequence 11721 11906 +1.6% 0.98x
SequenceAlgosArray 1576 1581 +0.3% 1.00x (?)
SequenceAlgosContiguousArray 1584 1587 +0.2% 1.00x (?)
SequenceAlgosList 1348 1351 +0.2% 1.00x (?)
SequenceAlgosRange 2577 2577 +0.0% 1.00x
SequenceAlgosUnfoldSequence 1102 1103 +0.1% 1.00x (?)
SetExclusiveOr 5282 5305 +0.4% 1.00x (?)
SetExclusiveOr_OfObjects 11734 11854 +1.0% 0.99x
SetIntersect 699 701 +0.3% 1.00x
SetIntersect_OfObjects 1585 1585 +0.0% 1.00x
SetIsSubsetOf 354 354 +0.0% 1.00x
SetIsSubsetOf_OfObjects 439 438 -0.2% 1.00x
SetUnion 4645 4610 -0.8% 1.01x (?)
SetUnion_OfObjects 10108 10209 +1.0% 0.99x (?)
SevenBoom 888 892 +0.5% 1.00x (?)
Sim2DArray 417 417 +0.0% 1.00x
SortLargeExistentials 6168 6224 +0.9% 0.99x
SortLettersInPlace 1050 1052 +0.2% 1.00x (?)
SortSortedStrings 1014 1032 +1.8% 0.98x
SortStrings 2091 2087 -0.2% 1.00x
SortStringsUnicode 2593 2666 +2.8% 0.97x
StackPromo 22374 22394 +0.1% 1.00x (?)
StrComplexWalk 1783 1784 +0.1% 1.00x (?)
StrToInt 2856 2825 -1.1% 1.01x
StringAdder 749 753 +0.5% 0.99x
StringBuilder 785 794 +1.1% 0.99x
StringComparison_ascii 1255 1291 +2.9% 0.97x
StringComparison_emoji 815 835 +2.5% 0.98x
StringComparison_fastPrenormal 796 804 +1.0% 0.99x
StringComparison_latin1 631 637 +1.0% 0.99x
StringComparison_longSharedPrefix 927 937 +1.1% 0.99x
StringComparison_nonBMPSlowestPrenormal 1603 1628 +1.6% 0.98x
StringComparison_slowerPrenormal 1724 1742 +1.0% 0.99x
StringComparison_zalgo 124692 124011 -0.5% 1.01x
StringEdits 174839 178640 +2.2% 0.98x (?)
StringEnumRawValueInitialization 918 941 +2.5% 0.98x
StringEqualPointerComparison 295 295 +0.0% 1.00x
StringFromLongWholeSubstring 21 21 +0.0% 1.00x
StringFromLongWholeSubstringGeneric 21 21 +0.0% 1.00x
StringHasPrefixAscii 2034 2005 -1.4% 1.01x
StringHasPrefixUnicode 109675 111201 +1.4% 0.99x (?)
StringHasSuffixAscii 2178 2148 -1.4% 1.01x
StringHasSuffixUnicode 114030 114013 -0.0% 1.00x (?)
StringInterpolation 10408 10463 +0.5% 0.99x (?)
StringInterpolationManySmallSegments 19889 19162 -3.7% 1.04x
StringInterpolationSmall 6614 6591 -0.3% 1.00x (?)
StringMatch 11441 11256 -1.6% 1.02x
StringRemoveDupes 680 687 +1.0% 0.99x (?)
StringUTF16Builder 2768 2813 +1.6% 0.98x (?)
StringWalk 1423 1421 -0.1% 1.00x (?)
StringWithCString 41376 40928 -1.1% 1.01x
StringWordBuilder 2388 2351 -1.5% 1.02x (?)
StringWordBuilderReservingCapacity 1911 1949 +2.0% 0.98x
SubstringComparable 26 26 +0.0% 1.00x
SubstringEqualString 788 774 -1.8% 1.02x
SubstringEquatable 1406 1424 +1.3% 0.99x
SubstringFromLongString 10 10 +0.0% 1.00x
SubstringFromLongStringGeneric 75 75 +0.0% 1.00x
SuffixAnyCollection 31 30 -3.2% 1.03x
SuffixAnyCollectionLazy 20908 20759 -0.7% 1.01x (?)
SuffixAnySeqCRangeIter 3886 3884 -0.1% 1.00x (?)
SuffixAnySeqCRangeIterLazy 3881 3899 +0.5% 1.00x
SuffixAnySeqCntRange 20 20 +0.0% 1.00x
SuffixAnySeqCntRangeLazy 21 20 -4.8% 1.05x
SuffixAnySequence 5074 5082 +0.2% 1.00x (?)
SuffixAnySequenceLazy 5189 5229 +0.8% 0.99x
SuffixCountableRange 11 11 +0.0% 1.00x
SuffixCountableRangeLazy 11 11 +0.0% 1.00x
SuffixSequence 3721 3744 +0.6% 0.99x
SuffixSequenceLazy 3730 3748 +0.5% 1.00x
SumUsingReduce 101 102 +1.0% 0.99x
SumUsingReduceInto 98 98 +0.0% 1.00x
SuperChars 14865 14849 -0.1% 1.00x (?)
TwoSum 1494 1490 -0.3% 1.00x (?)
TypeFlood 0 0 +0.0% 1.00x
UTF8Decode 294 295 +0.3% 1.00x
Walsh 406 422 +3.9% 0.96x
WordCountHistogramASCII 7749 7858 +1.4% 0.99x
WordCountHistogramUTF16 14160 14195 +0.2% 1.00x (?)
WordCountUniqueASCII 2145 2178 +1.5% 0.98x
WordCountUniqueUTF16 7335 7363 +0.4% 1.00x (?)
WordSplitASCII 6606 6395 -3.2% 1.03x (?)
WordSplitUTF16 8475 8419 -0.7% 1.01x (?)
XorLoop 398 401 +0.8% 0.99x (?)

Unoptimized (Onone)

Regression (12)
TEST OLD NEW DELTA SPEEDUP
NopDeinit 199257 259862 +30.4% 0.77x
ObjectiveCBridgeStubFromArrayOfNSString 32441 37193 +14.6% 0.87x
FloatingPointPrinting_Double_interpolated 94712 105876 +11.8% 0.89x
TypeFlood 192 214 +11.5% 0.90x
ObjectiveCBridgeFromNSSetAnyObjectForced 5758 6405 +11.2% 0.90x (?)
ArrayPlusEqualThreeElements 9303 10093 +8.5% 0.92x
DataReplaceSmallBuffer 9113 9877 +8.4% 0.92x (?)
NSDictionaryCastToSwift 6573 7066 +7.5% 0.93x (?)
StrComplexWalk 6836 7267 +6.3% 0.94x
DataAppendDataSmallToSmall 5786 6144 +6.2% 0.94x (?)
ObjectiveCBridgeFromNSSetAnyObject 55418 58634 +5.8% 0.95x (?)
StringComparison_abnormal 1346 1418 +5.3% 0.95x
Improvement (48)
TEST OLD NEW DELTA SPEEDUP
ArrayAppendAscii 40428 29221 -27.7% 1.38x
CharIndexing_chinese_unicodeScalars 303697 239669 -21.1% 1.27x
CharIndexing_ascii_unicodeScalars 390050 316180 -18.9% 1.23x
CharIndexing_korean_unicodeScalars 382284 309963 -18.9% 1.23x
CharIndexing_russian_unicodeScalars 320104 262080 -18.1% 1.22x
CharacterPropertiesFetch 6612 5440 -17.7% 1.22x (?)
CharIndexing_punctuatedJapanese_unicodeScalars 71069 58753 -17.3% 1.21x
CharIndexing_japanese_unicodeScalars 457743 382576 -16.4% 1.20x
CharIndexing_punctuated_unicodeScalars 85212 71299 -16.3% 1.20x
CharIteration_tweet_unicodeScalars 350426 296661 -15.3% 1.18x
CharIteration_ascii_unicodeScalars_Backwards 325646 280284 -13.9% 1.16x
CharIndexing_tweet_unicodeScalars 768123 661496 -13.9% 1.16x
CharIteration_utf16_unicodeScalars_Backwards 272686 235303 -13.7% 1.16x
CharIteration_russian_unicodeScalars_Backwards 271974 234934 -13.6% 1.16x
CharIndexing_chinese_unicodeScalars_Backwards 337511 291693 -13.6% 1.16x
CharIndexing_utf16_unicodeScalars 321411 279061 -13.2% 1.15x
CharIteration_tweet_unicodeScalars_Backwards 629834 547614 -13.1% 1.15x
CharIteration_korean_unicodeScalars_Backwards 315321 274813 -12.8% 1.15x
CharIteration_punctuatedJapanese_unicodeScalars_Backwards 55830 48704 -12.8% 1.15x
CharIteration_japanese_unicodeScalars_Backwards 378474 332531 -12.1% 1.14x
CharIteration_chinese_unicodeScalars_Backwards 237869 209334 -12.0% 1.14x
CharIndexing_ascii_unicodeScalars_Backwards 437484 385051 -12.0% 1.14x
ObjectiveCBridgeFromNSArrayAnyObjectForced 10352 9183 -11.3% 1.13x (?)
CharIndexing_japanese_unicodeScalars_Backwards 524453 465516 -11.2% 1.13x
CharIndexing_punctuated_unicodeScalars_Backwards 95020 84821 -10.7% 1.12x
DataSetCount 627 561 -10.5% 1.12x
CharIndexing_korean_unicodeScalars_Backwards 417367 374590 -10.2% 1.11x
CharIndexing_russian_unicodeScalars_Backwards 355718 319832 -10.1% 1.11x
CharIteration_punctuated_unicodeScalars_Backwards 70181 63235 -9.9% 1.11x
CharIndexing_punctuatedJapanese_unicodeScalars_Backwards 74953 67888 -9.4% 1.10x
StringWithCString 45207 41311 -8.6% 1.09x
StringWordBuilder 2718 2489 -8.4% 1.09x
ErrorHandling 7336 6725 -8.3% 1.09x (?)
NSError 674 619 -8.2% 1.09x (?)
StringEdits 414757 382705 -7.7% 1.08x
CharIndexing_tweet_unicodeScalars_Backwards 889668 821766 -7.6% 1.08x
CharIndexing_utf16_unicodeScalars_Backwards 350627 323982 -7.6% 1.08x
AngryPhonebook 5985 5532 -7.6% 1.08x (?)
FloatingPointPrinting_Float_interpolated 80147 74171 -7.5% 1.08x (?)
CStringLongAscii 5778 5377 -6.9% 1.07x
ObjectiveCBridgeFromNSArrayAnyObjectToStringForced 48801 45485 -6.8% 1.07x
ObjectiveCBridgeStubURLAppendPathRef 312781 292398 -6.5% 1.07x (?)
ObjectiveCBridgeFromNSStringForced 2983 2805 -6.0% 1.06x
Dictionary4OfObjectsLegacy 2235 2104 -5.9% 1.06x
CharacterPropertiesStashedMemo 4658 4393 -5.7% 1.06x (?)
PrefixAnyCollectionLazy 105960 100316 -5.3% 1.06x (?)
ObjectAllocation 1321 1251 -5.3% 1.06x (?)
ObjectiveCBridgeFromNSDictionaryAnyObject 127740 121119 -5.2% 1.05x (?)
No Changes (367)
TEST OLD NEW DELTA SPEEDUP
AnyHashableWithAClass 102384 102745 +0.4% 1.00x
Array2D 657343 636303 -3.2% 1.03x
ArrayAppend 4666 4669 +0.1% 1.00x (?)
ArrayAppendArrayOfInt 867 865 -0.2% 1.00x (?)
ArrayAppendAsciiSubstring 182972 182933 -0.0% 1.00x (?)
ArrayAppendFromGeneric 871 862 -1.0% 1.01x (?)
ArrayAppendGenericStructs 1471 1502 +2.1% 0.98x (?)
ArrayAppendLatin1 65351 66252 +1.4% 0.99x
ArrayAppendLatin1Substring 325015 317387 -2.3% 1.02x
ArrayAppendLazyMap 169890 170076 +0.1% 1.00x
ArrayAppendOptionals 1492 1507 +1.0% 0.99x
ArrayAppendRepeatCol 183489 182962 -0.3% 1.00x
ArrayAppendReserved 4281 4281 +0.0% 1.00x
ArrayAppendSequence 103724 105665 +1.9% 0.98x
ArrayAppendStrings 6456 6463 +0.1% 1.00x (?)
ArrayAppendToFromGeneric 868 872 +0.5% 1.00x
ArrayAppendToGeneric 877 883 +0.7% 0.99x (?)
ArrayAppendUTF16 65193 65979 +1.2% 0.99x
ArrayAppendUTF16Substring 320961 319084 -0.6% 1.01x
ArrayInClass 6210 6273 +1.0% 0.99x (?)
ArrayLiteral 1814 1800 -0.8% 1.01x
ArrayOfGenericPOD2 1128 1129 +0.1% 1.00x (?)
ArrayOfGenericRef 10788 10822 +0.3% 1.00x (?)
ArrayOfPOD 761 762 +0.1% 1.00x (?)
ArrayOfRef 10034 9989 -0.4% 1.00x
ArrayPlusEqualArrayOfInt 866 865 -0.1% 1.00x (?)
ArrayPlusEqualFiveElementCollection 237564 243905 +2.7% 0.97x (?)
ArrayPlusEqualSingleElementCollection 234853 240815 +2.5% 0.98x (?)
ArraySubscript 107341 105710 -1.5% 1.02x
ArrayValueProp 3679 3667 -0.3% 1.00x (?)
ArrayValueProp2 15339 15358 +0.1% 1.00x (?)
ArrayValueProp3 4168 4194 +0.6% 0.99x (?)
ArrayValueProp4 4103 4131 +0.7% 0.99x (?)
BinaryFloatingPointPropertiesBinade 88 85 -3.4% 1.04x
BinaryFloatingPointPropertiesNextUp 131 134 +2.3% 0.98x
BinaryFloatingPointPropertiesUlp 131 128 -2.3% 1.02x
BitCount 8896 8889 -0.1% 1.00x
ByteSwap 9652 9669 +0.2% 1.00x
COWTree 12108 12031 -0.6% 1.01x (?)
CSVParsing 2872350 2908219 +1.2% 0.99x
CSVParsingAlt 1417690 1441180 +1.7% 0.98x (?)
CSVParsingAltIndices 2402938 2441531 +1.6% 0.98x (?)
CStringLongNonAscii 2473 2477 +0.2% 1.00x (?)
CStringShortAscii 6265 6206 -0.9% 1.01x (?)
Calculator 2131 2115 -0.8% 1.01x (?)
CaptureProp 276030 279524 +1.3% 0.99x (?)
ChainedFilterMap 233000 233367 +0.2% 1.00x (?)
CharIteration_ascii_unicodeScalars 154179 153891 -0.2% 1.00x (?)
CharIteration_chinese_unicodeScalars 113703 113374 -0.3% 1.00x (?)
CharIteration_japanese_unicodeScalars 179578 179868 +0.2% 1.00x (?)
CharIteration_korean_unicodeScalars 149470 149008 -0.3% 1.00x (?)
CharIteration_punctuatedJapanese_unicodeScalars 27790 27636 -0.6% 1.01x
CharIteration_punctuated_unicodeScalars 34560 34230 -1.0% 1.01x (?)
CharIteration_russian_unicodeScalars 128576 128312 -0.2% 1.00x (?)
CharIteration_utf16_unicodeScalars 127065 127630 +0.4% 1.00x (?)
CharacterLiteralsLarge 5698 5769 +1.2% 0.99x
CharacterLiteralsSmall 701 679 -3.1% 1.03x
CharacterPropertiesPrecomputed 3473 3555 +2.4% 0.98x (?)
CharacterPropertiesStashed 2321 2321 +0.0% 1.00x
Chars 36784 36900 +0.3% 1.00x
ClassArrayGetter 991 993 +0.2% 1.00x (?)
Combos 2406 2317 -3.7% 1.04x (?)
DataAccessBytes 2412 2419 +0.3% 1.00x (?)
DataAppendArray 5508 5579 +1.3% 0.99x (?)
DataAppendBytes 5197 5264 +1.3% 0.99x (?)
DataAppendDataLargeToLarge 67951 69940 +2.9% 0.97x
DataAppendDataLargeToMedium 36075 36390 +0.9% 0.99x (?)
DataAppendDataLargeToSmall 34841 34823 -0.1% 1.00x (?)
DataAppendDataMediumToLarge 38519 38152 -1.0% 1.01x (?)
DataAppendDataMediumToMedium 7513 7319 -2.6% 1.03x (?)
DataAppendDataMediumToSmall 6281 6089 -3.1% 1.03x
DataAppendDataSmallToLarge 37194 37560 +1.0% 0.99x (?)
DataAppendDataSmallToMedium 6775 6787 +0.2% 1.00x (?)
DataAppendSequence 1890921 1904872 +0.7% 0.99x
DataCopyBytes 2630 2640 +0.4% 1.00x (?)
DataCount 223 223 +0.0% 1.00x
DataMutateBytes 5303 5309 +0.1% 1.00x (?)
DataReplaceLarge 38852 40331 +3.8% 0.96x (?)
DataReplaceLargeBuffer 59720 59740 +0.0% 1.00x (?)
DataReplaceMedium 10035 9903 -1.3% 1.01x (?)
DataReplaceMediumBuffer 15239 14692 -3.6% 1.04x
DataReplaceSmall 6866 7110 +3.6% 0.97x (?)
DataReset 2904 2994 +3.1% 0.97x (?)
DataSubscript 444 443 -0.2% 1.00x
DictOfArraysToArrayOfDicts 3555 3509 -1.3% 1.01x (?)
Dictionary 2396 2355 -1.7% 1.02x (?)
Dictionary2 1465 1463 -0.1% 1.00x
Dictionary2OfObjects 4365 4343 -0.5% 1.01x (?)
Dictionary3 870 861 -1.0% 1.01x
Dictionary3OfObjects 2204 2102 -4.6% 1.05x (?)
Dictionary4 1195 1198 +0.3% 1.00x
Dictionary4Legacy 1486 1496 +0.7% 0.99x
Dictionary4OfObjects 1770 1772 +0.1% 1.00x (?)
DictionaryBridge 1336 1345 +0.7% 0.99x (?)
DictionaryCopy 314497 313977 -0.2% 1.00x (?)
DictionaryFilter 324121 326222 +0.6% 0.99x (?)
DictionaryGroup 4454 4465 +0.2% 1.00x
DictionaryGroupOfObjects 7038 7092 +0.8% 0.99x (?)
DictionaryLiteral 8824 8839 +0.2% 1.00x (?)
DictionaryOfObjects 6118 5940 -2.9% 1.03x (?)
DictionaryRemove 19171 19160 -0.1% 1.00x (?)
DictionaryRemoveOfObjects 52006 52958 +1.8% 0.98x (?)
DictionarySubscriptDefaultMutation 1985 1991 +0.3% 1.00x (?)
DictionarySubscriptDefaultMutationArray 2253 2236 -0.8% 1.01x (?)
DictionarySubscriptDefaultMutationArrayOfObjects 9476 9406 -0.7% 1.01x (?)
DictionarySubscriptDefaultMutationOfObjects 5202 5335 +2.6% 0.98x (?)
DictionarySwap 4904 4938 +0.7% 0.99x
DictionarySwapAt 35410 35341 -0.2% 1.00x
DictionarySwapAtOfObjects 114354 114039 -0.3% 1.00x (?)
DictionarySwapOfObjects 18893 19667 +4.1% 0.96x
DoubleWidthDivision 0 0 +0.0% 1.00x
DropFirstAnyCollection 15288 15472 +1.2% 0.99x
DropFirstAnyCollectionLazy 97571 102589 +5.1% 0.95x (?)
DropFirstAnySeqCRangeIter 23683 23836 +0.6% 0.99x
DropFirstAnySeqCRangeIterLazy 23471 23628 +0.7% 0.99x
DropFirstAnySeqCntRange 15397 15436 +0.3% 1.00x (?)
DropFirstAnySeqCntRangeLazy 15252 15311 +0.4% 1.00x (?)
DropFirstAnySequence 12750 12781 +0.2% 1.00x (?)
DropFirstAnySequenceLazy 12941 12860 -0.6% 1.01x
DropFirstArray 3379 3357 -0.7% 1.01x
DropFirstArrayLazy 29261 29305 +0.2% 1.00x
DropFirstCountableRange 323 323 +0.0% 1.00x
DropFirstCountableRangeLazy 33658 34262 +1.8% 0.98x
DropFirstSequence 12469 12396 -0.6% 1.01x
DropFirstSequenceLazy 12607 12612 +0.0% 1.00x (?)
DropLastAnyCollection 5117 5169 +1.0% 0.99x
DropLastAnyCollectionLazy 32854 34363 +4.6% 0.96x (?)
DropLastAnySeqCRangeIter 40432 40638 +0.5% 0.99x
DropLastAnySeqCRangeIterLazy 40865 40878 +0.0% 1.00x (?)
DropLastAnySeqCntRange 5107 5166 +1.2% 0.99x
DropLastAnySeqCntRangeLazy 5106 5123 +0.3% 1.00x
DropLastAnySequence 30713 30657 -0.2% 1.00x
DropLastAnySequenceLazy 30810 30831 +0.1% 1.00x (?)
DropLastCountableRange 112 112 +0.0% 1.00x
DropLastCountableRangeLazy 11214 11423 +1.9% 0.98x (?)
DropLastSequence 30631 30709 +0.3% 1.00x (?)
DropLastSequenceLazy 30449 30494 +0.1% 1.00x (?)
DropWhileAnyCollection 19827 19914 +0.4% 1.00x (?)
DropWhileAnyCollectionLazy 22277 22557 +1.3% 0.99x
DropWhileAnySeqCRangeIter 24385 24502 +0.5% 1.00x
DropWhileAnySeqCRangeIterLazy 22178 22545 +1.7% 0.98x
DropWhileAnySeqCntRange 19646 19883 +1.2% 0.99x
DropWhileAnySeqCntRangeLazy 22218 22458 +1.1% 0.99x
DropWhileAnySequence 13772 13723 -0.4% 1.00x (?)
DropWhileAnySequenceLazy 12287 12304 +0.1% 1.00x (?)
DropWhileArrayLazy 14184 14111 -0.5% 1.01x
DropWhileCountableRange 4788 4862 +1.5% 0.98x
DropWhileCountableRangeLazy 21861 22061 +0.9% 0.99x
DropWhileSequence 13631 13256 -2.8% 1.03x
DropWhileSequenceLazy 11949 11868 -0.7% 1.01x
EqualStringSubstring 76 77 +1.3% 0.99x
EqualSubstringString 76 76 +0.0% 1.00x
EqualSubstringSubstring 72 72 +0.0% 1.00x
EqualSubstringSubstringGenericEquatable 59 58 -1.7% 1.02x
ExclusivityGlobal 191 192 +0.5% 0.99x
ExclusivityIndependent 73 73 +0.0% 1.00x
FatCompactMap 291417 291939 +0.2% 1.00x (?)
FilterEvenUsingReduce 3577 3589 +0.3% 1.00x (?)
FilterEvenUsingReduceInto 1873 1879 +0.3% 1.00x (?)
FloatingPointPrinting_Double_description_small 24239 24257 +0.1% 1.00x (?)
FloatingPointPrinting_Double_description_uniform 35962 35965 +0.0% 1.00x (?)
FloatingPointPrinting_Float80_description_small 31358 31420 +0.2% 1.00x
FloatingPointPrinting_Float80_description_uniform 61424 61519 +0.2% 1.00x (?)
FloatingPointPrinting_Float80_interpolated 119190 120041 +0.7% 0.99x (?)
FloatingPointPrinting_Float_description_small 6499 6738 +3.7% 0.96x
FloatingPointPrinting_Float_description_uniform 17060 17398 +2.0% 0.98x
FrequenciesUsingReduce 11445 11237 -1.8% 1.02x
FrequenciesUsingReduceInto 3190 3280 +2.8% 0.97x (?)
Hanoi 21018 20503 -2.5% 1.03x
HashTest 21335 20988 -1.6% 1.02x (?)
Histogram 6273 6270 -0.0% 1.00x (?)
Integrate 460 460 +0.0% 1.00x
IterateData 5499 5495 -0.1% 1.00x (?)
Join 799 800 +0.1% 1.00x
LazilyFilteredArrayContains 754825 752610 -0.3% 1.00x
LazilyFilteredArrays 1487366 1496322 +0.6% 0.99x
LazilyFilteredRange 529082 535568 +1.2% 0.99x
LessSubstringSubstring 72 72 +0.0% 1.00x
LessSubstringSubstringGenericComparable 59 58 -1.7% 1.02x
LinkedList 32490 32477 -0.0% 1.00x (?)
LuhnAlgoEager 5507 5731 +4.1% 0.96x
LuhnAlgoLazy 5797 5563 -4.0% 1.04x
MapReduce 25607 25522 -0.3% 1.00x
MapReduceAnyCollection 25505 25525 +0.1% 1.00x (?)
MapReduceAnyCollectionShort 37102 36096 -2.7% 1.03x (?)
MapReduceClass 29546 29619 +0.2% 1.00x
MapReduceClassShort 41000 39937 -2.6% 1.03x
MapReduceLazyCollection 24481 24473 -0.0% 1.00x (?)
MapReduceLazyCollectionShort 33302 32944 -1.1% 1.01x (?)
MapReduceLazySequence 20630 20429 -1.0% 1.01x (?)
MapReduceSequence 30240 30504 +0.9% 0.99x (?)
MapReduceShort 36702 37138 +1.2% 0.99x (?)
MapReduceShortString 241 242 +0.4% 1.00x (?)
MapReduceString 1861 1830 -1.7% 1.02x (?)
Memset 44115 44135 +0.0% 1.00x (?)
MonteCarloE 1142355 1129886 -1.1% 1.01x (?)
MonteCarloPi 5181786 5090230 -1.8% 1.02x
NSStringConversion 767 803 +4.7% 0.96x
NibbleSort 498561 498821 +0.1% 1.00x (?)
ObjectiveCBridgeFromNSArrayAnyObject 29109 28614 -1.7% 1.02x (?)
ObjectiveCBridgeFromNSArrayAnyObjectToString 47602 48217 +1.3% 0.99x
ObjectiveCBridgeFromNSSetAnyObjectToString 70982 72876 +2.7% 0.97x (?)
ObjectiveCBridgeFromNSString 2883 2896 +0.5% 1.00x (?)
ObjectiveCBridgeStubDataAppend 6336 6349 +0.2% 1.00x (?)
ObjectiveCBridgeStubDateMutation 773 774 +0.1% 1.00x
ObjectiveCBridgeStubFromNSDate 7894 7885 -0.1% 1.00x (?)
ObjectiveCBridgeStubFromNSString 1102 1109 +0.6% 0.99x (?)
ObjectiveCBridgeStubFromNSStringRef 199 199 +0.0% 1.00x
ObjectiveCBridgeStubNSDataAppend 2965 3077 +3.8% 0.96x (?)
ObjectiveCBridgeStubNSDateMutationRef 16317 15689 -3.8% 1.04x
ObjectiveCBridgeStubToArrayOfNSString 39245 40419 +3.0% 0.97x (?)
ObjectiveCBridgeStubToNSDate 16401 16361 -0.2% 1.00x (?)
ObjectiveCBridgeStubToNSDateRef 3486 3479 -0.2% 1.00x (?)
ObjectiveCBridgeStubToNSString 2416 2436 +0.8% 0.99x (?)
ObjectiveCBridgeStubToNSStringRef 153 154 +0.7% 0.99x (?)
ObjectiveCBridgeStubURLAppendPath 296881 297605 +0.2% 1.00x (?)
ObjectiveCBridgeToNSArray 15727 16516 +5.0% 0.95x (?)
ObjectiveCBridgeToNSDictionary 27860 28277 +1.5% 0.99x (?)
ObjectiveCBridgeToNSSet 17629 18260 +3.6% 0.97x (?)
ObjectiveCBridgeToNSString 531 526 -0.9% 1.01x (?)
ObserverClosure 6464 6487 +0.4% 1.00x (?)
ObserverForwarderStruct 4322 4346 +0.6% 0.99x (?)
ObserverPartiallyAppliedMethod 8051 8028 -0.3% 1.00x (?)
ObserverUnappliedMethod 8193 8200 +0.1% 1.00x (?)
OpenClose 913 903 -1.1% 1.01x (?)
PartialApplyDynamicType 39519 39525 +0.0% 1.00x (?)
Phonebook 18912 18766 -0.8% 1.01x (?)
PointerArithmetics 123191 123174 -0.0% 1.00x (?)
PolymorphicCalls 2376 2394 +0.8% 0.99x
PopFrontArray 4770 4659 -2.3% 1.02x (?)
PopFrontArrayGeneric 5457 5459 +0.0% 1.00x (?)
PopFrontUnsafePointer 11184 11190 +0.1% 1.00x (?)
PrefixAnyCollection 15389 15458 +0.4% 1.00x
PrefixAnySeqCRangeIter 18782 18915 +0.7% 0.99x
PrefixAnySeqCRangeIterLazy 18836 18880 +0.2% 1.00x (?)
PrefixAnySeqCntRange 15325 15454 +0.8% 0.99x
PrefixAnySeqCntRangeLazy 15239 15353 +0.7% 0.99x (?)
PrefixAnySequence 10521 10453 -0.6% 1.01x (?)
PrefixAnySequenceLazy 10562 10551 -0.1% 1.00x (?)
PrefixArray 3378 3343 -1.0% 1.01x
PrefixArrayLazy 29175 29364 +0.6% 0.99x
PrefixCountableRange 323 323 +0.0% 1.00x
PrefixCountableRangeLazy 33686 34252 +1.7% 0.98x
PrefixSequence 10008 10031 +0.2% 1.00x (?)
PrefixSequenceLazy 10057 10082 +0.2% 1.00x (?)
PrefixWhileAnyCollection 28354 28791 +1.5% 0.98x
PrefixWhileAnyCollectionLazy 18279 18429 +0.8% 0.99x
PrefixWhileAnySeqCRangeIter 34080 34248 +0.5% 1.00x (?)
PrefixWhileAnySeqCRangeIterLazy 18134 18314 +1.0% 0.99x
PrefixWhileAnySeqCntRange 28339 28848 +1.8% 0.98x
PrefixWhileAnySeqCntRangeLazy 18232 18418 +1.0% 0.99x
PrefixWhileAnySequence 26787 26554 -0.9% 1.01x
PrefixWhileAnySequenceLazy 10870 10884 +0.1% 1.00x
PrefixWhileArray 10573 10531 -0.4% 1.00x
PrefixWhileArrayLazy 12335 12324 -0.1% 1.00x (?)
PrefixWhileCountableRange 13536 13748 +1.6% 0.98x
PrefixWhileCountableRangeLazy 18080 18317 +1.3% 0.99x
PrefixWhileSequence 26429 26545 +0.4% 1.00x (?)
PrefixWhileSequenceLazy 10681 10545 -1.3% 1.01x
Prims 9487 9413 -0.8% 1.01x (?)
PrimsSplit 9662 10037 +3.9% 0.96x (?)
QueueConcrete 14374 14177 -1.4% 1.01x
QueueGeneric 19010 18645 -1.9% 1.02x
RC4 16061 16134 +0.5% 1.00x
RGBHistogram 24573 24527 -0.2% 1.00x
RGBHistogramOfObjects 79713 79594 -0.1% 1.00x (?)
RangeAssignment 2660 2699 +1.5% 0.99x (?)
RangeIterationSigned 14911 14804 -0.7% 1.01x (?)
RangeReplaceableCollectionPlusDefault 11097 11249 +1.4% 0.99x (?)
RecursiveOwnedParameter 6015 5796 -3.6% 1.04x (?)
RemoveWhereFilterInts 1954 1948 -0.3% 1.00x (?)
RemoveWhereFilterString 1293 1289 -0.3% 1.00x (?)
RemoveWhereFilterStrings 2466 2466 +0.0% 1.00x
RemoveWhereMoveInts 3400 3403 +0.1% 1.00x
RemoveWhereMoveStrings 3926 3927 +0.0% 1.00x (?)
RemoveWhereQuadraticInts 8063 8062 -0.0% 1.00x (?)
RemoveWhereQuadraticString 2250 2253 +0.1% 1.00x (?)
RemoveWhereQuadraticStrings 9703 9724 +0.2% 1.00x (?)
RemoveWhereSwapInts 6137 6139 +0.0% 1.00x
RemoveWhereSwapStrings 6846 6853 +0.1% 1.00x (?)
ReversedArray 13874 13565 -2.2% 1.02x (?)
ReversedBidirectional 43496 43563 +0.2% 1.00x (?)
ReversedDictionary 24806 24870 +0.3% 1.00x
RomanNumbers 1307061 1309156 +0.2% 1.00x (?)
SequenceAlgosAnySequence 12870 13059 +1.5% 0.99x
SequenceAlgosArray 755006 757065 +0.3% 1.00x (?)
SequenceAlgosContiguousArray 288506 290083 +0.5% 0.99x (?)
SequenceAlgosList 8694 8666 -0.3% 1.00x
SequenceAlgosRange 1259861 1279839 +1.6% 0.98x
SequenceAlgosUnfoldSequence 6404 6428 +0.4% 1.00x
SetExclusiveOr 16205 16497 +1.8% 0.98x
SetExclusiveOr_OfObjects 41601 41633 +0.1% 1.00x (?)
SetIntersect 6567 6656 +1.4% 0.99x
SetIntersect_OfObjects 10391 10327 -0.6% 1.01x (?)
SetIsSubsetOf 1177 1178 +0.1% 1.00x (?)
SetIsSubsetOf_OfObjects 2251 2225 -1.2% 1.01x
SetUnion 11776 11819 +0.4% 1.00x
SetUnion_OfObjects 29729 29941 +0.7% 0.99x (?)
SevenBoom 1097 1094 -0.3% 1.00x (?)
Sim2DArray 43509 43467 -0.1% 1.00x
SortLargeExistentials 11763 11657 -0.9% 1.01x (?)
SortLettersInPlace 1950 1961 +0.6% 0.99x (?)
SortSortedStrings 1154 1139 -1.3% 1.01x
SortStrings 2329 2331 +0.1% 1.00x (?)
SortStringsUnicode 2856 2908 +1.8% 0.98x
StackPromo 107938 107681 -0.2% 1.00x (?)
StaticArray 2592 2535 -2.2% 1.02x
StrToInt 81100 79201 -2.3% 1.02x (?)
StringAdder 1175 1127 -4.1% 1.04x
StringBuilder 5540 5566 +0.5% 1.00x (?)
StringBuilderLong 2929 2927 -0.1% 1.00x (?)
StringBuilderWithLongSubstring 5046 5013 -0.7% 1.01x (?)
StringComparison_ascii 10171 10202 +0.3% 1.00x
StringComparison_emoji 2036 2052 +0.8% 0.99x (?)
StringComparison_fastPrenormal 4920 4948 +0.6% 0.99x (?)
StringComparison_latin1 3838 3833 -0.1% 1.00x (?)
StringComparison_longSharedPrefix 2369 2370 +0.0% 1.00x (?)
StringComparison_nonBMPSlowestPrenormal 3900 3905 +0.1% 1.00x (?)
StringComparison_slowerPrenormal 4174 4175 +0.0% 1.00x (?)
StringComparison_zalgo 128506 127181 -1.0% 1.01x
StringEnumRawValueInitialization 32883 33345 +1.4% 0.99x (?)
StringEqualPointerComparison 1655 1656 +0.1% 1.00x
StringFromLongWholeSubstring 12 12 +0.0% 1.00x
StringFromLongWholeSubstringGeneric 202 202 +0.0% 1.00x
StringHasPrefixAscii 3090 3089 -0.0% 1.00x (?)
StringHasPrefixUnicode 116171 118352 +1.9% 0.98x
StringHasSuffixAscii 3207 3335 +4.0% 0.96x
StringHasSuffixUnicode 107009 107057 +0.0% 1.00x (?)
StringInterpolation 12908 12507 -3.1% 1.03x (?)
StringInterpolationManySmallSegments 20902 20729 -0.8% 1.01x (?)
StringInterpolationSmall 8410 8536 +1.5% 0.99x (?)
StringMatch 40292 41098 +2.0% 0.98x
StringRemoveDupes 715 706 -1.3% 1.01x
StringUTF16Builder 8650 8409 -2.8% 1.03x (?)
StringUTF16SubstringBuilder 24919 25088 +0.7% 0.99x (?)
StringWalk 13339 12984 -2.7% 1.03x
StringWordBuilderReservingCapacity 2034 2044 +0.5% 1.00x
SubstringComparable 1633 1632 -0.1% 1.00x (?)
SubstringEqualString 1713 1702 -0.6% 1.01x
SubstringEquatable 5432 5407 -0.5% 1.00x (?)
SubstringFromLongString 18 18 +0.0% 1.00x
SubstringFromLongStringGeneric 121 122 +0.8% 0.99x
SuffixAnyCollection 5093 5173 +1.6% 0.98x
SuffixAnyCollectionLazy 33701 34693 +2.9% 0.97x (?)
SuffixAnySeqCRangeIter 36201 36326 +0.3% 1.00x
SuffixAnySeqCRangeIterLazy 36174 36395 +0.6% 0.99x
SuffixAnySeqCntRange 5101 5168 +1.3% 0.99x
SuffixAnySeqCntRangeLazy 5102 5130 +0.5% 0.99x (?)
SuffixAnySequence 26503 26236 -1.0% 1.01x
SuffixAnySequenceLazy 26587 26230 -1.3% 1.01x (?)
SuffixCountableRange 112 112 +0.0% 1.00x
SuffixCountableRangeLazy 11215 11450 +2.1% 0.98x
SuffixSequence 26330 26225 -0.4% 1.00x
SuffixSequenceLazy 26188 26031 -0.6% 1.01x (?)
SumUsingReduce 159179 160219 +0.7% 0.99x (?)
SumUsingReduceInto 154296 153161 -0.7% 1.01x (?)
SuperChars 85625 88590 +3.5% 0.97x
TwoSum 3515 3535 +0.6% 0.99x (?)
UTF8Decode 29794 29741 -0.2% 1.00x
Walsh 11937 11936 -0.0% 1.00x (?)
WordCountHistogramASCII 38764 38790 +0.1% 1.00x (?)
WordCountHistogramUTF16 46121 46283 +0.4% 1.00x (?)
WordCountUniqueASCII 7268 7187 -1.1% 1.01x (?)
WordCountUniqueUTF16 13228 12941 -2.2% 1.02x
WordSplitASCII 9885 9993 +1.1% 0.99x (?)
WordSplitUTF16 11965 12184 +1.8% 0.98x (?)
XorLoop 23242 23225 -0.1% 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

@milseman milseman merged commit 574e556 into swiftlang:master May 1, 2018
@milseman milseman deleted the its_all_about_the_copy_content branch May 1, 2018 17:27
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