Skip to content

[benchmark] Add Queue benchmark that tests popLast generically and concretely #14393

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
Feb 3, 2018

Conversation

airspeedswift
Copy link
Member

For the purposes of testing #14392

@airspeedswift
Copy link
Member Author

@swift-ci please smoke test

@airspeedswift
Copy link
Member Author

@swift-ci please smoke benchmark

@swift-ci
Copy link
Contributor

swift-ci commented Feb 3, 2018

Build comment file:

Optimized (O)

Regression (4)
TEST OLD NEW DELTA SPEEDUP
SuffixCountableRangeLazy 11 12 +9.1% 0.92x
StringEdits 116928 126960 +8.6% 0.92x
WordCountHistogramUTF16 51908 55462 +6.8% 0.94x (?)
DictionaryBridge 1987 2093 +5.3% 0.95x (?)
Improvement (6)
TEST OLD NEW DELTA SPEEDUP
WordCountUniqueUTF16 28363 22326 -21.3% 1.27x
Calculator 493 428 -13.2% 1.15x
DropLastCountableRangeLazy 12 11 -8.3% 1.09x
MapReduceLazyCollectionShort 42 39 -7.1% 1.08x
ObjectiveCBridgeStubNSDataAppend 2615 2480 -5.2% 1.05x
ObjectiveCBridgeFromNSStringForced 2446 2324 -5.0% 1.05x (?)
No Changes (348)
TEST OLD NEW DELTA SPEEDUP
AngryPhonebook 3641 3657 +0.4% 1.00x (?)
AnyHashableWithAClass 70363 70082 -0.4% 1.00x (?)
Array2D 2556 2557 +0.0% 1.00x (?)
ArrayAppend 1034 1033 -0.1% 1.00x (?)
ArrayAppendArrayOfInt 798 799 +0.1% 1.00x (?)
ArrayAppendAscii 13603 13532 -0.5% 1.01x
ArrayAppendFromGeneric 790 799 +1.1% 0.99x (?)
ArrayAppendGenericStructs 1417 1441 +1.7% 0.98x
ArrayAppendLatin1 38389 38422 +0.1% 1.00x (?)
ArrayAppendLazyMap 1343 1342 -0.1% 1.00x (?)
ArrayAppendOptionals 1431 1427 -0.3% 1.00x (?)
ArrayAppendRepeatCol 1339 1327 -0.9% 1.01x (?)
ArrayAppendReserved 765 758 -0.9% 1.01x (?)
ArrayAppendSequence 1135 1134 -0.1% 1.00x (?)
ArrayAppendStrings 15297 15205 -0.6% 1.01x
ArrayAppendToFromGeneric 796 798 +0.3% 1.00x (?)
ArrayAppendToGeneric 798 801 +0.4% 1.00x
ArrayAppendUTF16 38039 37744 -0.8% 1.01x (?)
ArrayInClass 86 86 +0.0% 1.00x
ArrayLiteral 0 0 +0.0% 1.00x
ArrayOfGenericPOD2 151 150 -0.7% 1.01x (?)
ArrayOfGenericRef 4400 4372 -0.6% 1.01x (?)
ArrayOfPOD 184 183 -0.5% 1.01x (?)
ArrayOfRef 4380 4394 +0.3% 1.00x (?)
ArrayPlusEqualArrayOfInt 801 796 -0.6% 1.01x
ArrayPlusEqualFiveElementCollection 5520 5555 +0.6% 0.99x (?)
ArrayPlusEqualSingleElementCollection 1024 1028 +0.4% 1.00x (?)
ArrayPlusEqualThreeElements 1666 1661 -0.3% 1.00x (?)
ArraySubscript 1534 1531 -0.2% 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
BinaryFloatingPointConversionFromBinaryInteger 45 46 +2.2% 0.98x
BitCount 202 211 +4.5% 0.96x
ByteSwap 100 99 -1.0% 1.01x (?)
COWTree 3606 3629 +0.6% 0.99x (?)
CSVParsing 758013 760479 +0.3% 1.00x
CSVParsingAlt 723541 720625 -0.4% 1.00x
CSVParsingAltIndices 358364 358810 +0.1% 1.00x (?)
CStringLongAscii 4779 4769 -0.2% 1.00x (?)
CStringLongNonAscii 2077 2110 +1.6% 0.98x
CStringShortAscii 4744 4732 -0.3% 1.00x
CaptureProp 8886 8875 -0.1% 1.00x
CharIndexing_ascii_unicodeScalars 15340 15353 +0.1% 1.00x (?)
CharIndexing_ascii_unicodeScalars_Backwards 14991 14987 -0.0% 1.00x (?)
CharIndexing_chinese_unicodeScalars 11627 11628 +0.0% 1.00x (?)
CharIndexing_chinese_unicodeScalars_Backwards 11350 11351 +0.0% 1.00x (?)
CharIndexing_japanese_unicodeScalars 18374 18373 -0.0% 1.00x (?)
CharIndexing_japanese_unicodeScalars_Backwards 17928 17929 +0.0% 1.00x (?)
CharIndexing_korean_unicodeScalars 14885 14879 -0.0% 1.00x (?)
CharIndexing_korean_unicodeScalars_Backwards 14530 14521 -0.1% 1.00x (?)
CharIndexing_punctuatedJapanese_unicodeScalars 2789 2790 +0.0% 1.00x (?)
CharIndexing_punctuatedJapanese_unicodeScalars_Backwards 2730 2729 -0.0% 1.00x (?)
CharIndexing_punctuated_unicodeScalars 3488 3487 -0.0% 1.00x (?)
CharIndexing_punctuated_unicodeScalars_Backwards 3406 3405 -0.0% 1.00x
CharIndexing_russian_unicodeScalars 12785 12783 -0.0% 1.00x (?)
CharIndexing_russian_unicodeScalars_Backwards 12480 12486 +0.0% 1.00x (?)
CharIndexing_tweet_unicodeScalars 30264 30251 -0.0% 1.00x (?)
CharIndexing_tweet_unicodeScalars_Backwards 29499 29501 +0.0% 1.00x (?)
CharIndexing_utf16_unicodeScalars 20718 20721 +0.0% 1.00x (?)
CharIndexing_utf16_unicodeScalars_Backwards 21501 21549 +0.2% 1.00x
CharIteration_ascii_unicodeScalars 21012 20918 -0.4% 1.00x
CharIteration_ascii_unicodeScalars_Backwards 13525 13509 -0.1% 1.00x
CharIteration_chinese_unicodeScalars 15911 15823 -0.6% 1.01x
CharIteration_chinese_unicodeScalars_Backwards 10251 10258 +0.1% 1.00x (?)
CharIteration_japanese_unicodeScalars 25189 25045 -0.6% 1.01x
CharIteration_japanese_unicodeScalars_Backwards 16190 16172 -0.1% 1.00x (?)
CharIteration_korean_unicodeScalars 20417 20299 -0.6% 1.01x
CharIteration_korean_unicodeScalars_Backwards 13103 13106 +0.0% 1.00x (?)
CharIteration_punctuatedJapanese_unicodeScalars 3747 3731 -0.4% 1.00x
CharIteration_punctuatedJapanese_unicodeScalars_Backwards 2491 2513 +0.9% 0.99x
CharIteration_punctuated_unicodeScalars 4716 4677 -0.8% 1.01x
CharIteration_punctuated_unicodeScalars_Backwards 3107 3116 +0.3% 1.00x
CharIteration_russian_unicodeScalars 17508 17380 -0.7% 1.01x
CharIteration_russian_unicodeScalars_Backwards 11273 11253 -0.2% 1.00x (?)
CharIteration_tweet_unicodeScalars 41554 41480 -0.2% 1.00x
CharIteration_tweet_unicodeScalars_Backwards 26665 26613 -0.2% 1.00x
CharIteration_utf16_unicodeScalars 27447 27501 +0.2% 1.00x
CharIteration_utf16_unicodeScalars_Backwards 17104 17031 -0.4% 1.00x
CharacterLiteralsLarge 6076 6109 +0.5% 0.99x (?)
CharacterLiteralsSmall 410 413 +0.7% 0.99x
CharacterPropertiesFetch 4611 4640 +0.6% 0.99x (?)
CharacterPropertiesPrecomputed 990 970 -2.0% 1.02x
CharacterPropertiesStashed 1560 1575 +1.0% 0.99x (?)
CharacterPropertiesStashedMemo 1532 1569 +2.4% 0.98x
Chars 969 969 +0.0% 1.00x
ClassArrayGetter 15 15 +0.0% 1.00x
Combos 457 455 -0.4% 1.00x (?)
DictOfArraysToArrayOfDicts 783 782 -0.1% 1.00x (?)
Dictionary 505 511 +1.2% 0.99x
Dictionary2 1629 1621 -0.5% 1.00x
Dictionary2OfObjects 2976 2984 +0.3% 1.00x
Dictionary3 239 238 -0.4% 1.00x
Dictionary3OfObjects 671 674 +0.4% 1.00x (?)
DictionaryGroup 133 133 +0.0% 1.00x
DictionaryGroupOfObjects 1931 1961 +1.6% 0.98x
DictionaryLiteral 1599 1642 +2.7% 0.97x
DictionaryOfObjects 2196 2173 -1.0% 1.01x (?)
DictionaryRemove 2781 2889 +3.9% 0.96x
DictionaryRemoveOfObjects 23758 23714 -0.2% 1.00x (?)
DictionarySubscriptDefaultMutation 151 151 +0.0% 1.00x
DictionarySubscriptDefaultMutationArray 491 491 +0.0% 1.00x
DictionarySubscriptDefaultMutationArrayOfObjects 3820 3841 +0.5% 0.99x
DictionarySubscriptDefaultMutationOfObjects 1381 1387 +0.4% 1.00x
DictionarySwap 488 486 -0.4% 1.00x
DictionarySwapOfObjects 7413 7445 +0.4% 1.00x (?)
DoubleWidthDivision 240 240 +0.0% 1.00x
DropFirstAnyCollection 76 76 +0.0% 1.00x
DropFirstAnyCollectionLazy 66885 67141 +0.4% 1.00x (?)
DropFirstAnySeqCRangeIter 18349 18336 -0.1% 1.00x (?)
DropFirstAnySeqCRangeIterLazy 18356 18349 -0.0% 1.00x (?)
DropFirstAnySeqCntRange 71 71 +0.0% 1.00x
DropFirstAnySeqCntRangeLazy 71 71 +0.0% 1.00x
DropFirstAnySequence 4539 4533 -0.1% 1.00x (?)
DropFirstAnySequenceLazy 4529 4535 +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 2699 2699 +0.0% 1.00x
DropFirstSequenceLazy 2786 2785 -0.0% 1.00x (?)
DropLastAnyCollection 28 28 +0.0% 1.00x
DropLastAnyCollectionLazy 22044 22191 +0.7% 0.99x (?)
DropLastAnySeqCRangeIter 3510 3512 +0.1% 1.00x (?)
DropLastAnySeqCRangeIterLazy 3508 3515 +0.2% 1.00x (?)
DropLastAnySeqCntRange 23 23 +0.0% 1.00x
DropLastAnySeqCntRangeLazy 23 23 +0.0% 1.00x
DropLastAnySequence 5112 5120 +0.2% 1.00x (?)
DropLastAnySequenceLazy 5222 5217 -0.1% 1.00x (?)
DropLastCountableRange 11 11 +0.0% 1.00x
DropLastSequence 691 689 -0.3% 1.00x (?)
DropLastSequenceLazy 693 689 -0.6% 1.01x (?)
DropWhileAnyCollection 100 100 +0.0% 1.00x
DropWhileAnyCollectionLazy 147 147 +0.0% 1.00x
DropWhileAnySeqCRangeIter 14757 14780 +0.2% 1.00x (?)
DropWhileAnySeqCRangeIterLazy 148 147 -0.7% 1.01x
DropWhileAnySeqCntRange 98 95 -3.1% 1.03x
DropWhileAnySeqCntRangeLazy 147 147 +0.0% 1.00x
DropWhileAnySequence 4788 4771 -0.4% 1.00x
DropWhileAnySequenceLazy 1856 1856 +0.0% 1.00x
DropWhileArrayLazy 129 129 +0.0% 1.00x
DropWhileCountableRange 36 36 +0.0% 1.00x
DropWhileCountableRangeLazy 111 111 +0.0% 1.00x
DropWhileSequence 1341 1341 +0.0% 1.00x
DropWhileSequenceLazy 88 88 +0.0% 1.00x
EqualStringSubstring 432 432 +0.0% 1.00x
EqualSubstringString 432 433 +0.2% 1.00x
EqualSubstringSubstring 432 431 -0.2% 1.00x (?)
EqualSubstringSubstringGenericEquatable 431 431 +0.0% 1.00x
ErrorHandling 2343 2324 -0.8% 1.01x (?)
ExclusivityGlobal 5 5 +0.0% 1.00x
ExclusivityIndependent 2 2 +0.0% 1.00x
FilterEvenUsingReduce 1340 1328 -0.9% 1.01x (?)
FilterEvenUsingReduceInto 147 148 +0.7% 0.99x (?)
FrequenciesUsingReduce 6687 6658 -0.4% 1.00x (?)
FrequenciesUsingReduceInto 3200 3174 -0.8% 1.01x (?)
Hanoi 3346 3339 -0.2% 1.00x (?)
HashTest 1781 1775 -0.3% 1.00x (?)
Histogram 333 333 +0.0% 1.00x
Integrate 217 217 +0.0% 1.00x
IterateData 1356 1382 +1.9% 0.98x
Join 372 372 +0.0% 1.00x
LazilyFilteredArrayContains 35479 35475 -0.0% 1.00x (?)
LazilyFilteredArrays 67051 65339 -2.6% 1.03x (?)
LazilyFilteredRange 3827 3831 +0.1% 1.00x (?)
LessSubstringSubstring 432 432 +0.0% 1.00x
LessSubstringSubstringGenericComparable 432 432 +0.0% 1.00x
LinkedList 7565 7546 -0.3% 1.00x
LuhnAlgoEager 589 589 +0.0% 1.00x
LuhnAlgoLazy 585 584 -0.2% 1.00x (?)
MapReduce 398 399 +0.3% 1.00x (?)
MapReduceAnyCollection 400 399 -0.2% 1.00x (?)
MapReduceAnyCollectionShort 2072 2039 -1.6% 1.02x
MapReduceClass 3043 3047 +0.1% 1.00x (?)
MapReduceClassShort 4621 4675 +1.2% 0.99x
MapReduceLazyCollection 13 13 +0.0% 1.00x
MapReduceLazySequence 86 86 +0.0% 1.00x
MapReduceSequence 456 457 +0.2% 1.00x (?)
MapReduceShort 2031 2047 +0.8% 0.99x
MapReduceShortString 21 21 +0.0% 1.00x
MapReduceString 81 81 +0.0% 1.00x
Memset 215 219 +1.9% 0.98x (?)
MonteCarloE 10369 10499 +1.3% 0.99x
MonteCarloPi 43109 42882 -0.5% 1.01x
NSDictionaryCastToSwift 5447 5461 +0.3% 1.00x (?)
NSError 304 304 +0.0% 1.00x
NSStringConversion 319 318 -0.3% 1.00x
NibbleSort 4127 4120 -0.2% 1.00x
NopDeinit 23780 23813 +0.1% 1.00x
ObjectAllocation 183 183 +0.0% 1.00x
ObjectiveCBridgeFromNSArrayAnyObject 20108 20196 +0.4% 1.00x (?)
ObjectiveCBridgeFromNSArrayAnyObjectForced 3994 3922 -1.8% 1.02x (?)
ObjectiveCBridgeFromNSArrayAnyObjectToString 38213 39906 +4.4% 0.96x (?)
ObjectiveCBridgeFromNSArrayAnyObjectToStringForced 33764 34728 +2.9% 0.97x (?)
ObjectiveCBridgeFromNSDictionaryAnyObject 121106 119401 -1.4% 1.01x (?)
ObjectiveCBridgeFromNSSetAnyObject 61035 62402 +2.2% 0.98x (?)
ObjectiveCBridgeFromNSSetAnyObjectForced 4225 4220 -0.1% 1.00x (?)
ObjectiveCBridgeFromNSSetAnyObjectToString 70215 67633 -3.7% 1.04x (?)
ObjectiveCBridgeFromNSString 1292 1281 -0.9% 1.01x (?)
ObjectiveCBridgeStubDataAppend 3940 3902 -1.0% 1.01x (?)
ObjectiveCBridgeStubDateMutation 258 257 -0.4% 1.00x
ObjectiveCBridgeStubFromArrayOfNSString 27803 27133 -2.4% 1.02x (?)
ObjectiveCBridgeStubFromNSDate 4303 4308 +0.1% 1.00x (?)
ObjectiveCBridgeStubFromNSString 851 852 +0.1% 1.00x (?)
ObjectiveCBridgeStubFromNSStringRef 164 159 -3.0% 1.03x
ObjectiveCBridgeStubNSDateMutationRef 13626 13672 +0.3% 1.00x (?)
ObjectiveCBridgeStubToArrayOfNSString 29604 29000 -2.0% 1.02x
ObjectiveCBridgeStubToNSDate 15491 15064 -2.8% 1.03x (?)
ObjectiveCBridgeStubToNSDateRef 3424 3429 +0.1% 1.00x (?)
ObjectiveCBridgeStubToNSString 1553 1554 +0.1% 1.00x (?)
ObjectiveCBridgeStubToNSStringRef 118 115 -2.5% 1.03x
ObjectiveCBridgeStubURLAppendPath 327058 325890 -0.4% 1.00x (?)
ObjectiveCBridgeStubURLAppendPathRef 333818 333248 -0.2% 1.00x (?)
ObjectiveCBridgeToNSArray 29191 29924 +2.5% 0.98x
ObjectiveCBridgeToNSDictionary 54082 53530 -1.0% 1.01x (?)
ObjectiveCBridgeToNSSet 45914 46019 +0.2% 1.00x (?)
ObjectiveCBridgeToNSString 1314 1313 -0.1% 1.00x (?)
ObserverClosure 2184 2172 -0.5% 1.01x
ObserverForwarderStruct 999 997 -0.2% 1.00x (?)
ObserverPartiallyAppliedMethod 3732 3721 -0.3% 1.00x (?)
ObserverUnappliedMethod 2367 2378 +0.5% 1.00x (?)
OpenClose 252 252 +0.0% 1.00x
PartialApplyDynamicType 0 0 +0.0% 1.00x
Phonebook 4105 4029 -1.9% 1.02x
PointerArithmetics 31508 31527 +0.1% 1.00x
PolymorphicCalls 25 25 +0.0% 1.00x
PopFrontArray 1960 1969 +0.5% 1.00x (?)
PopFrontArrayGeneric 1963 1880 -4.2% 1.04x (?)
PopFrontUnsafePointer 9612 9368 -2.5% 1.03x (?)
PrefixAnyCollection 76 76 +0.0% 1.00x
PrefixAnyCollectionLazy 66123 66209 +0.1% 1.00x (?)
PrefixAnySeqCRangeIter 14417 14388 -0.2% 1.00x (?)
PrefixAnySeqCRangeIterLazy 14402 14389 -0.1% 1.00x
PrefixAnySeqCntRange 71 71 +0.0% 1.00x
PrefixAnySeqCntRangeLazy 71 71 +0.0% 1.00x
PrefixAnySequence 4269 4284 +0.4% 1.00x
PrefixAnySequenceLazy 4282 4270 -0.3% 1.00x
PrefixArray 35 35 +0.0% 1.00x
PrefixArrayLazy 35 35 +0.0% 1.00x
PrefixCountableRange 35 35 +0.0% 1.00x
PrefixCountableRangeLazy 35 35 +0.0% 1.00x
PrefixSequence 1325 1326 +0.1% 1.00x
PrefixSequenceLazy 1414 1413 -0.1% 1.00x (?)
PrefixWhileAnyCollection 146 147 +0.7% 0.99x
PrefixWhileAnyCollectionLazy 106 106 +0.0% 1.00x
PrefixWhileAnySeqCRangeIter 9298 9287 -0.1% 1.00x (?)
PrefixWhileAnySeqCRangeIterLazy 106 106 +0.0% 1.00x
PrefixWhileAnySeqCntRange 142 142 +0.0% 1.00x
PrefixWhileAnySeqCntRangeLazy 106 106 +0.0% 1.00x
PrefixWhileAnySequence 10396 10479 +0.8% 0.99x
PrefixWhileAnySequenceLazy 1392 1392 +0.0% 1.00x
PrefixWhileArray 88 88 +0.0% 1.00x
PrefixWhileArrayLazy 70 70 +0.0% 1.00x
PrefixWhileCountableRange 53 53 +0.0% 1.00x
PrefixWhileCountableRangeLazy 35 35 +0.0% 1.00x
PrefixWhileSequence 358 356 -0.6% 1.01x
PrefixWhileSequenceLazy 52 52 +0.0% 1.00x
Prims 762 758 -0.5% 1.01x (?)
PrimsSplit 761 760 -0.1% 1.00x (?)
RC4 165 165 +0.0% 1.00x
RGBHistogram 2922 2963 +1.4% 0.99x
RGBHistogramOfObjects 24076 23947 -0.5% 1.01x (?)
RangeAssignment 351 352 +0.3% 1.00x (?)
RangeIterationSigned 200 200 +0.0% 1.00x
RangeIterationSigned64 200 200 +0.0% 1.00x
RangeIterationUnsigned 200 201 +0.5% 1.00x (?)
RangeReplaceableCollectionPlusDefault 967 970 +0.3% 1.00x (?)
RecursiveOwnedParameter 2325 2322 -0.1% 1.00x (?)
ReversedArray 57 57 +0.0% 1.00x
ReversedBidirectional 15414 15430 +0.1% 1.00x
ReversedDictionary 125 127 +1.6% 0.98x (?)
RomanNumbers 114520 114423 -0.1% 1.00x (?)
SetExclusiveOr 3578 3487 -2.5% 1.03x
SetExclusiveOr_OfObjects 8816 8792 -0.3% 1.00x (?)
SetIntersect 321 319 -0.6% 1.01x
SetIntersect_OfObjects 1785 1779 -0.3% 1.00x (?)
SetIsSubsetOf 299 298 -0.3% 1.00x
SetIsSubsetOf_OfObjects 363 363 +0.0% 1.00x
SetUnion 3227 3222 -0.2% 1.00x (?)
SetUnion_OfObjects 7260 7263 +0.0% 1.00x (?)
SevenBoom 1547 1529 -1.2% 1.01x (?)
Sim2DArray 599 605 +1.0% 0.99x
SortLargeExistentials 7106 7176 +1.0% 0.99x
SortLettersInPlace 1157 1160 +0.3% 1.00x (?)
SortSortedStrings 1117 1106 -1.0% 1.01x
SortStrings 1978 1959 -1.0% 1.01x
SortStringsUnicode 15423 15413 -0.1% 1.00x (?)
StackPromo 21919 21961 +0.2% 1.00x (?)
StaticArray 6 6 +0.0% 1.00x
StrComplexWalk 1563 1565 +0.1% 1.00x (?)
StrToInt 2065 2120 +2.7% 0.97x
StringAdder 4289 4288 -0.0% 1.00x (?)
StringBuilder 1443 1448 +0.3% 1.00x
StringBuilderLong 1197 1152 -3.8% 1.04x (?)
StringComparison_abnormal 857 858 +0.1% 1.00x (?)
StringComparison_ascii 961 945 -1.7% 1.02x
StringComparison_emoji 2544 2546 +0.1% 1.00x (?)
StringComparison_fastPrenormal 8691 8707 +0.2% 1.00x (?)
StringComparison_latin1 5982 5975 -0.1% 1.00x (?)
StringComparison_longSharedPrefix 11519 11522 +0.0% 1.00x (?)
StringComparison_nonBMPSlowestPrenormal 4682 4678 -0.1% 1.00x (?)
StringComparison_slowerPrenormal 4173 4165 -0.2% 1.00x (?)
StringComparison_zalgo 1723 1722 -0.1% 1.00x (?)
StringEnumRawValueInitialization 977 980 +0.3% 1.00x
StringEqualPointerComparison 286 286 +0.0% 1.00x
StringFromLongWholeSubstring 21 21 +0.0% 1.00x
StringFromLongWholeSubstringGeneric 10 10 +0.0% 1.00x
StringHasPrefixAscii 1547 1518 -1.9% 1.02x
StringHasPrefixUnicode 28421 28186 -0.8% 1.01x
StringHasSuffixAscii 1718 1661 -3.3% 1.03x
StringHasSuffixUnicode 86260 85838 -0.5% 1.00x (?)
StringInterpolation 9253 9355 +1.1% 0.99x (?)
StringMatch 7326 7503 +2.4% 0.98x
StringRemoveDupes 1194 1190 -0.3% 1.00x (?)
StringUTF16Builder 2414 2409 -0.2% 1.00x (?)
StringWalk 1501 1501 +0.0% 1.00x
StringWithCString 42619 42612 -0.0% 1.00x (?)
StringWordBuilder 1775 1729 -2.6% 1.03x
StringWordBuilderReservingCapacity 1321 1287 -2.6% 1.03x
SubstringComparable 2116 2118 +0.1% 1.00x (?)
SubstringEqualString 2129 2130 +0.0% 1.00x (?)
SubstringEquatable 3205 3205 +0.0% 1.00x
SubstringFromLongString 10 10 +0.0% 1.00x
SubstringFromLongStringGeneric 70 70 +0.0% 1.00x
SuffixAnyCollection 28 28 +0.0% 1.00x
SuffixAnyCollectionLazy 22005 22306 +1.4% 0.99x (?)
SuffixAnySeqCRangeIter 3802 3810 +0.2% 1.00x
SuffixAnySeqCRangeIterLazy 3804 3810 +0.2% 1.00x
SuffixAnySeqCntRange 23 23 +0.0% 1.00x
SuffixAnySeqCntRangeLazy 23 23 +0.0% 1.00x
SuffixAnySequence 5107 5105 -0.0% 1.00x (?)
SuffixAnySequenceLazy 5234 5246 +0.2% 1.00x
SuffixCountableRange 12 12 +0.0% 1.00x
SuffixSequence 3772 3773 +0.0% 1.00x (?)
SuffixSequenceLazy 3769 3769 +0.0% 1.00x
SumUsingReduce 97 97 +0.0% 1.00x
SumUsingReduceInto 97 97 +0.0% 1.00x
SuperChars 42790 42932 +0.3% 1.00x (?)
TwoSum 1002 1001 -0.1% 1.00x (?)
TypeFlood 0 0 +0.0% 1.00x
UTF8Decode 313 313 +0.0% 1.00x
Walsh 418 420 +0.5% 1.00x
WordCountHistogramASCII 7935 7848 -1.1% 1.01x
WordCountUniqueASCII 1802 1839 +2.1% 0.98x
WordSplitASCII 21327 21186 -0.7% 1.01x (?)
WordSplitUTF16 21811 21822 +0.1% 1.00x (?)
XorLoop 391 394 +0.8% 0.99x (?)
Added (2)
TEST MIN MAX MEAN MAX_RSS
QueueConcrete 1312 1312 1312 9798997
QueueGeneric 1160 1161 1161 9875456

Unoptimized (Onone)

Regression (11)
TEST OLD NEW DELTA SPEEDUP
CharIteration_russian_unicodeScalars_Backwards 246167 291246 +18.3% 0.85x
CharIteration_tweet_unicodeScalars_Backwards 589986 668632 +13.3% 0.88x (?)
CharIndexing_korean_unicodeScalars_Backwards 443333 497283 +12.2% 0.89x
PrefixArray 3780 4138 +9.5% 0.91x
DropFirstArray 3792 4140 +9.2% 0.92x
SuffixAnyCollectionLazy 34525 37481 +8.6% 0.92x (?)
WordCountUniqueUTF16 32344 35062 +8.4% 0.92x (?)
CharIteration_ascii_unicodeScalars_Backwards 299499 322222 +7.6% 0.93x (?)
SuffixSequenceLazy 24988 26770 +7.1% 0.93x
ObjectiveCBridgeFromNSSetAnyObjectToString 74753 80032 +7.1% 0.93x (?)
SuffixAnySequenceLazy 25223 26844 +6.4% 0.94x
Improvement (12)
TEST OLD NEW DELTA SPEEDUP
CharIteration_punctuated_unicodeScalars_Backwards 79215 65315 -17.5% 1.21x
CharIteration_japanese_unicodeScalars_Backwards 407018 358388 -11.9% 1.14x (?)
NSDictionaryCastToSwift 7344 6514 -11.3% 1.13x (?)
RangeIterationSigned64 43528 39055 -10.3% 1.11x
ArrayAppendUTF16 70295 63579 -9.6% 1.11x
ObjectiveCBridgeFromNSString 3396 3109 -8.5% 1.09x
ObjectiveCBridgeStubToNSDate 16583 15327 -7.6% 1.08x
ObjectiveCBridgeStubFromArrayOfNSString 28155 26085 -7.4% 1.08x (?)
ObjectiveCBridgeFromNSStringForced 2824 2630 -6.9% 1.07x (?)
ObjectiveCBridgeStubNSDateMutationRef 17087 16054 -6.0% 1.06x
CSVParsingAlt 1419941 1335647 -5.9% 1.06x
BitCount 2209 2099 -5.0% 1.05x
No Changes (335)
TEST OLD NEW DELTA SPEEDUP
AngryPhonebook 5087 5124 +0.7% 0.99x
AnyHashableWithAClass 86985 86690 -0.3% 1.00x
Array2D 632169 632746 +0.1% 1.00x (?)
ArrayAppend 4668 4664 -0.1% 1.00x (?)
ArrayAppendArrayOfInt 865 857 -0.9% 1.01x
ArrayAppendAscii 39860 39802 -0.1% 1.00x (?)
ArrayAppendFromGeneric 869 867 -0.2% 1.00x (?)
ArrayAppendGenericStructs 1501 1500 -0.1% 1.00x (?)
ArrayAppendLatin1 63033 63032 -0.0% 1.00x (?)
ArrayAppendLazyMap 167433 166852 -0.3% 1.00x (?)
ArrayAppendOptionals 1500 1501 +0.1% 1.00x (?)
ArrayAppendRepeatCol 171480 169747 -1.0% 1.01x
ArrayAppendReserved 4279 4402 +2.9% 0.97x
ArrayAppendSequence 145104 145136 +0.0% 1.00x (?)
ArrayAppendStrings 15363 15450 +0.6% 0.99x
ArrayAppendToFromGeneric 864 863 -0.1% 1.00x (?)
ArrayAppendToGeneric 866 867 +0.1% 1.00x (?)
ArrayInClass 6193 6167 -0.4% 1.00x
ArrayLiteral 1781 1780 -0.1% 1.00x (?)
ArrayOfGenericPOD2 1073 1089 +1.5% 0.99x
ArrayOfGenericRef 10050 10074 +0.2% 1.00x (?)
ArrayOfPOD 755 758 +0.4% 1.00x
ArrayOfRef 9275 9280 +0.1% 1.00x (?)
ArrayPlusEqualArrayOfInt 860 859 -0.1% 1.00x (?)
ArrayPlusEqualFiveElementCollection 233643 233398 -0.1% 1.00x (?)
ArrayPlusEqualSingleElementCollection 230387 231287 +0.4% 1.00x (?)
ArrayPlusEqualThreeElements 9146 9180 +0.4% 1.00x (?)
ArraySubscript 82830 82111 -0.9% 1.01x (?)
ArrayValueProp 3627 3627 +0.0% 1.00x
ArrayValueProp2 16044 15986 -0.4% 1.00x (?)
ArrayValueProp3 4143 4161 +0.4% 1.00x
ArrayValueProp4 4096 4123 +0.7% 0.99x (?)
BinaryFloatingPointConversionFromBinaryInteger 6329 6141 -3.0% 1.03x
ByteSwap 3932 3893 -1.0% 1.01x
COWTree 10945 11032 +0.8% 0.99x (?)
CSVParsing 2521231 2456614 -2.6% 1.03x
CSVParsingAltIndices 2492652 2500675 +0.3% 1.00x (?)
CStringLongAscii 4762 4841 +1.7% 0.98x
CStringLongNonAscii 2086 2077 -0.4% 1.00x (?)
CStringShortAscii 7654 7626 -0.4% 1.00x (?)
Calculator 1599 1589 -0.6% 1.01x (?)
CaptureProp 264283 254934 -3.5% 1.04x
CharIndexing_ascii_unicodeScalars 437578 446942 +2.1% 0.98x (?)
CharIndexing_ascii_unicodeScalars_Backwards 476640 501154 +5.1% 0.95x (?)
CharIndexing_chinese_unicodeScalars 323612 329498 +1.8% 0.98x (?)
CharIndexing_chinese_unicodeScalars_Backwards 375561 362758 -3.4% 1.04x (?)
CharIndexing_japanese_unicodeScalars 515927 529054 +2.5% 0.98x (?)
CharIndexing_japanese_unicodeScalars_Backwards 561595 590391 +5.1% 0.95x (?)
CharIndexing_korean_unicodeScalars 413694 421302 +1.8% 0.98x (?)
CharIndexing_punctuatedJapanese_unicodeScalars 74244 77475 +4.4% 0.96x
CharIndexing_punctuatedJapanese_unicodeScalars_Backwards 80026 83973 +4.9% 0.95x
CharIndexing_punctuated_unicodeScalars 94167 94467 +0.3% 1.00x (?)
CharIndexing_punctuated_unicodeScalars_Backwards 107155 109498 +2.2% 0.98x (?)
CharIndexing_russian_unicodeScalars 353921 365211 +3.2% 0.97x (?)
CharIndexing_russian_unicodeScalars_Backwards 382562 401222 +4.9% 0.95x (?)
CharIndexing_tweet_unicodeScalars 850361 861323 +1.3% 0.99x (?)
CharIndexing_tweet_unicodeScalars_Backwards 953683 920430 -3.5% 1.04x (?)
CharIndexing_utf16_unicodeScalars 358175 350322 -2.2% 1.02x (?)
CharIndexing_utf16_unicodeScalars_Backwards 379004 368884 -2.7% 1.03x (?)
CharIteration_ascii_unicodeScalars 154114 154105 -0.0% 1.00x (?)
CharIteration_chinese_unicodeScalars 116493 116593 +0.1% 1.00x (?)
CharIteration_chinese_unicodeScalars_Backwards 230042 224457 -2.4% 1.02x (?)
CharIteration_japanese_unicodeScalars 183927 183556 -0.2% 1.00x (?)
CharIteration_korean_unicodeScalars 149174 149768 +0.4% 1.00x (?)
CharIteration_korean_unicodeScalars_Backwards 287427 301684 +5.0% 0.95x (?)
CharIteration_punctuatedJapanese_unicodeScalars 28204 28031 -0.6% 1.01x (?)
CharIteration_punctuatedJapanese_unicodeScalars_Backwards 52347 52986 +1.2% 0.99x (?)
CharIteration_punctuated_unicodeScalars 34499 35080 +1.7% 0.98x
CharIteration_russian_unicodeScalars 128411 128924 +0.4% 1.00x (?)
CharIteration_tweet_unicodeScalars 304312 304307 -0.0% 1.00x (?)
CharIteration_utf16_unicodeScalars 130107 130947 +0.6% 0.99x (?)
CharIteration_utf16_unicodeScalars_Backwards 257667 253515 -1.6% 1.02x (?)
CharacterLiteralsLarge 6016 5981 -0.6% 1.01x (?)
CharacterLiteralsSmall 708 739 +4.4% 0.96x
CharacterPropertiesFetch 5649 5452 -3.5% 1.04x (?)
CharacterPropertiesPrecomputed 4383 4349 -0.8% 1.01x (?)
CharacterPropertiesStashed 2383 2352 -1.3% 1.01x (?)
CharacterPropertiesStashedMemo 5147 5182 +0.7% 0.99x (?)
Chars 39329 39405 +0.2% 1.00x (?)
ClassArrayGetter 983 1024 +4.2% 0.96x
Combos 2053 2086 +1.6% 0.98x (?)
DictOfArraysToArrayOfDicts 3398 3377 -0.6% 1.01x (?)
Dictionary 2598 2579 -0.7% 1.01x (?)
Dictionary2 3135 3011 -4.0% 1.04x
Dictionary2OfObjects 5830 5566 -4.5% 1.05x
Dictionary3 1282 1275 -0.5% 1.01x (?)
Dictionary3OfObjects 2195 2200 +0.2% 1.00x (?)
DictionaryBridge 2091 2150 +2.8% 0.97x (?)
DictionaryGroup 4298 4286 -0.3% 1.00x (?)
DictionaryGroupOfObjects 7419 7522 +1.4% 0.99x (?)
DictionaryLiteral 8502 8521 +0.2% 1.00x (?)
DictionaryOfObjects 6104 6161 +0.9% 0.99x (?)
DictionaryRemove 18397 18272 -0.7% 1.01x
DictionaryRemoveOfObjects 49510 49733 +0.5% 1.00x (?)
DictionarySubscriptDefaultMutation 2117 2123 +0.3% 1.00x (?)
DictionarySubscriptDefaultMutationArray 2376 2355 -0.9% 1.01x
DictionarySubscriptDefaultMutationArrayOfObjects 9141 9115 -0.3% 1.00x (?)
DictionarySubscriptDefaultMutationOfObjects 5741 5617 -2.2% 1.02x (?)
DictionarySwap 5223 5241 +0.3% 1.00x (?)
DictionarySwapOfObjects 22394 22598 +0.9% 0.99x (?)
DoubleWidthDivision 23984 23727 -1.1% 1.01x (?)
DropFirstAnyCollection 13800 13765 -0.3% 1.00x (?)
DropFirstAnyCollectionLazy 106567 107374 +0.8% 0.99x (?)
DropFirstAnySeqCRangeIter 20694 20664 -0.1% 1.00x (?)
DropFirstAnySeqCRangeIterLazy 20631 20664 +0.2% 1.00x (?)
DropFirstAnySeqCntRange 13781 13721 -0.4% 1.00x
DropFirstAnySeqCntRangeLazy 13721 13819 +0.7% 0.99x
DropFirstAnySequence 10814 10877 +0.6% 0.99x (?)
DropFirstAnySequenceLazy 10924 10863 -0.6% 1.01x (?)
DropFirstArrayLazy 25630 25828 +0.8% 0.99x (?)
DropFirstCountableRange 333 326 -2.1% 1.02x
DropFirstCountableRangeLazy 25850 25860 +0.0% 1.00x (?)
DropFirstSequence 10467 10463 -0.0% 1.00x (?)
DropFirstSequenceLazy 10456 10544 +0.8% 0.99x (?)
DropLastAnyCollection 4612 4587 -0.5% 1.01x (?)
DropLastAnyCollectionLazy 34586 33976 -1.8% 1.02x (?)
DropLastAnySeqCRangeIter 37638 37580 -0.2% 1.00x (?)
DropLastAnySeqCRangeIterLazy 37654 37598 -0.1% 1.00x (?)
DropLastAnySeqCntRange 4621 4592 -0.6% 1.01x
DropLastAnySeqCntRangeLazy 4610 4624 +0.3% 1.00x
DropLastAnySequence 29557 30677 +3.8% 0.96x
DropLastAnySequenceLazy 28883 29129 +0.9% 0.99x (?)
DropLastCountableRange 114 112 -1.8% 1.02x
DropLastCountableRangeLazy 8610 8644 +0.4% 1.00x (?)
DropLastSequence 28739 29607 +3.0% 0.97x
DropLastSequenceLazy 28900 28896 -0.0% 1.00x (?)
DropWhileAnyCollection 17549 17586 +0.2% 1.00x
DropWhileAnyCollectionLazy 19142 19143 +0.0% 1.00x (?)
DropWhileAnySeqCRangeIter 22152 22104 -0.2% 1.00x
DropWhileAnySeqCRangeIterLazy 19081 19023 -0.3% 1.00x
DropWhileAnySeqCntRange 17534 17606 +0.4% 1.00x
DropWhileAnySeqCntRangeLazy 19163 19101 -0.3% 1.00x
DropWhileAnySequence 13149 12812 -2.6% 1.03x (?)
DropWhileAnySequenceLazy 10155 10166 +0.1% 1.00x (?)
DropWhileArrayLazy 13848 14297 +3.2% 0.97x
DropWhileCountableRange 4209 4220 +0.3% 1.00x
DropWhileCountableRangeLazy 18704 18698 -0.0% 1.00x (?)
DropWhileSequence 12229 12161 -0.6% 1.01x (?)
DropWhileSequenceLazy 9744 9778 +0.3% 1.00x
EqualStringSubstring 481 476 -1.0% 1.01x
EqualSubstringString 479 478 -0.2% 1.00x
EqualSubstringSubstring 480 477 -0.6% 1.01x (?)
EqualSubstringSubstringGenericEquatable 484 485 +0.2% 1.00x
ErrorHandling 6935 7195 +3.7% 0.96x (?)
ExclusivityGlobal 183 189 +3.3% 0.97x
ExclusivityIndependent 69 72 +4.3% 0.96x (?)
FilterEvenUsingReduce 3742 3730 -0.3% 1.00x (?)
FilterEvenUsingReduceInto 2042 1975 -3.3% 1.03x
FrequenciesUsingReduce 10445 10642 +1.9% 0.98x (?)
FrequenciesUsingReduceInto 5382 5462 +1.5% 0.99x (?)
Hanoi 19709 19829 +0.6% 0.99x
HashTest 16671 16829 +0.9% 0.99x (?)
Histogram 6541 6681 +2.1% 0.98x
Integrate 825 822 -0.4% 1.00x (?)
IterateData 7852 7759 -1.2% 1.01x
Join 1116 1104 -1.1% 1.01x
LazilyFilteredArrayContains 778382 769023 -1.2% 1.01x
LazilyFilteredArrays 1470548 1479945 +0.6% 0.99x
LazilyFilteredRange 474826 474562 -0.1% 1.00x (?)
LessSubstringSubstring 479 478 -0.2% 1.00x
LessSubstringSubstringGenericComparable 484 483 -0.2% 1.00x
LinkedList 32380 32225 -0.5% 1.00x
LuhnAlgoEager 5278 5128 -2.8% 1.03x
LuhnAlgoLazy 5294 5223 -1.3% 1.01x (?)
MapReduce 27628 27372 -0.9% 1.01x
MapReduceAnyCollection 28040 27518 -1.9% 1.02x
MapReduceAnyCollectionShort 39706 38801 -2.3% 1.02x (?)
MapReduceClass 32215 31975 -0.7% 1.01x
MapReduceClassShort 42832 42914 +0.2% 1.00x (?)
MapReduceLazyCollection 23091 23146 +0.2% 1.00x (?)
MapReduceLazyCollectionShort 33462 32968 -1.5% 1.01x (?)
MapReduceLazySequence 18490 18396 -0.5% 1.01x (?)
MapReduceSequence 30647 30745 +0.3% 1.00x (?)
MapReduceShort 38828 37917 -2.3% 1.02x (?)
MapReduceShortString 235 243 +3.4% 0.97x (?)
MapReduceString 1904 1928 +1.3% 0.99x
Memset 44693 44740 +0.1% 1.00x
MonteCarloE 922615 913269 -1.0% 1.01x (?)
MonteCarloPi 3907217 3977048 +1.8% 0.98x
NSError 747 722 -3.3% 1.03x (?)
NSStringConversion 361 363 +0.6% 0.99x (?)
NibbleSort 310241 305814 -1.4% 1.01x
NopDeinit 167728 169284 +0.9% 0.99x
ObjectAllocation 1338 1339 +0.1% 1.00x (?)
ObjectiveCBridgeFromNSArrayAnyObject 22413 22330 -0.4% 1.00x (?)
ObjectiveCBridgeFromNSArrayAnyObjectForced 8762 8496 -3.0% 1.03x (?)
ObjectiveCBridgeFromNSArrayAnyObjectToString 43037 41857 -2.7% 1.03x (?)
ObjectiveCBridgeFromNSArrayAnyObjectToStringForced 35115 36025 +2.6% 0.97x (?)
ObjectiveCBridgeFromNSDictionaryAnyObject 122761 121573 -1.0% 1.01x (?)
ObjectiveCBridgeFromNSSetAnyObject 63465 62127 -2.1% 1.02x (?)
ObjectiveCBridgeFromNSSetAnyObjectForced 6882 6815 -1.0% 1.01x (?)
ObjectiveCBridgeStubDataAppend 4495 4543 +1.1% 0.99x
ObjectiveCBridgeStubDateMutation 632 604 -4.4% 1.05x
ObjectiveCBridgeStubFromNSDate 5062 4962 -2.0% 1.02x
ObjectiveCBridgeStubFromNSString 883 902 +2.2% 0.98x (?)
ObjectiveCBridgeStubFromNSStringRef 202 208 +3.0% 0.97x
ObjectiveCBridgeStubNSDataAppend 3011 3073 +2.1% 0.98x (?)
ObjectiveCBridgeStubToArrayOfNSString 29099 29126 +0.1% 1.00x (?)
ObjectiveCBridgeStubToNSDateRef 3483 3460 -0.7% 1.01x (?)
ObjectiveCBridgeStubToNSString 1587 1593 +0.4% 1.00x (?)
ObjectiveCBridgeStubToNSStringRef 159 164 +3.1% 0.97x
ObjectiveCBridgeStubURLAppendPath 334698 335399 +0.2% 1.00x (?)
ObjectiveCBridgeStubURLAppendPathRef 333017 332579 -0.1% 1.00x (?)
ObjectiveCBridgeToNSArray 28771 29750 +3.4% 0.97x
ObjectiveCBridgeToNSDictionary 56694 56354 -0.6% 1.01x (?)
ObjectiveCBridgeToNSSet 47027 47276 +0.5% 0.99x (?)
ObjectiveCBridgeToNSString 1342 1345 +0.2% 1.00x (?)
ObserverClosure 6259 6349 +1.4% 0.99x (?)
ObserverForwarderStruct 4360 4478 +2.7% 0.97x
ObserverPartiallyAppliedMethod 7837 7808 -0.4% 1.00x (?)
ObserverUnappliedMethod 7925 7914 -0.1% 1.00x (?)
OpenClose 546 532 -2.6% 1.03x
PartialApplyDynamicType 41148 40546 -1.5% 1.01x (?)
Phonebook 20253 20257 +0.0% 1.00x (?)
PointerArithmetics 114531 117430 +2.5% 0.98x
PolymorphicCalls 6138 6284 +2.4% 0.98x (?)
PopFrontArray 4621 4627 +0.1% 1.00x (?)
PopFrontArrayGeneric 5721 5746 +0.4% 1.00x (?)
PopFrontUnsafePointer 10786 11348 +5.2% 0.95x (?)
PrefixAnyCollection 13884 13804 -0.6% 1.01x
PrefixAnyCollectionLazy 105536 106626 +1.0% 0.99x
PrefixAnySeqCRangeIter 16637 16665 +0.2% 1.00x (?)
PrefixAnySeqCRangeIterLazy 16664 16589 -0.5% 1.00x (?)
PrefixAnySeqCntRange 13879 13784 -0.7% 1.01x
PrefixAnySeqCntRangeLazy 13765 13810 +0.3% 1.00x
PrefixAnySequence 9026 8998 -0.3% 1.00x (?)
PrefixAnySequenceLazy 9060 9062 +0.0% 1.00x (?)
PrefixArrayLazy 25793 25810 +0.1% 1.00x (?)
PrefixCountableRange 327 326 -0.3% 1.00x
PrefixCountableRangeLazy 25931 26139 +0.8% 0.99x (?)
PrefixSequence 8710 8740 +0.3% 1.00x
PrefixSequenceLazy 8815 8735 -0.9% 1.01x (?)
PrefixWhileAnyCollection 25144 25219 +0.3% 1.00x
PrefixWhileAnyCollectionLazy 16024 16012 -0.1% 1.00x (?)
PrefixWhileAnySeqCRangeIter 33172 33051 -0.4% 1.00x
PrefixWhileAnySeqCRangeIterLazy 16036 15969 -0.4% 1.00x
PrefixWhileAnySeqCntRange 25137 25195 +0.2% 1.00x (?)
PrefixWhileAnySeqCntRangeLazy 15927 15968 +0.3% 1.00x (?)
PrefixWhileAnySequence 27969 27744 -0.8% 1.01x (?)
PrefixWhileAnySequenceLazy 9131 9179 +0.5% 0.99x (?)
PrefixWhileArray 11942 11529 -3.5% 1.04x
PrefixWhileArrayLazy 11876 12250 +3.1% 0.97x
PrefixWhileCountableRange 12004 11972 -0.3% 1.00x
PrefixWhileCountableRangeLazy 15757 15644 -0.7% 1.01x
PrefixWhileSequence 26553 26130 -1.6% 1.02x (?)
PrefixWhileSequenceLazy 8921 8941 +0.2% 1.00x
Prims 9819 9581 -2.4% 1.02x
PrimsSplit 9705 9790 +0.9% 0.99x (?)
RC4 16404 16915 +3.1% 0.97x (?)
RGBHistogram 26920 26851 -0.3% 1.00x (?)
RGBHistogramOfObjects 97728 96531 -1.2% 1.01x (?)
RangeAssignment 2656 2661 +0.2% 1.00x (?)
RangeIterationSigned 16588 16803 +1.3% 0.99x
RangeIterationUnsigned 34792 34863 +0.2% 1.00x (?)
RangeReplaceableCollectionPlusDefault 9397 9195 -2.1% 1.02x
RecursiveOwnedParameter 7815 7854 +0.5% 1.00x (?)
ReversedArray 12933 13107 +1.3% 0.99x (?)
ReversedBidirectional 47586 47254 -0.7% 1.01x (?)
ReversedDictionary 23150 22928 -1.0% 1.01x
RomanNumbers 1145875 1160005 +1.2% 0.99x
SetExclusiveOr 17621 17422 -1.1% 1.01x
SetExclusiveOr_OfObjects 41922 41700 -0.5% 1.01x (?)
SetIntersect 8365 8369 +0.0% 1.00x (?)
SetIntersect_OfObjects 12522 12414 -0.9% 1.01x
SetIsSubsetOf 1367 1355 -0.9% 1.01x
SetIsSubsetOf_OfObjects 1562 1562 +0.0% 1.00x
SetUnion 11995 11954 -0.3% 1.00x (?)
SetUnion_OfObjects 29300 29294 -0.0% 1.00x (?)
SevenBoom 1699 1677 -1.3% 1.01x (?)
Sim2DArray 43622 43616 -0.0% 1.00x (?)
SortLargeExistentials 15708 15761 +0.3% 1.00x (?)
SortLettersInPlace 2828 2824 -0.1% 1.00x (?)
SortSortedStrings 1374 1318 -4.1% 1.04x
SortStrings 2543 2436 -4.2% 1.04x
SortStringsUnicode 16338 16282 -0.3% 1.00x
StackPromo 100355 96599 -3.7% 1.04x (?)
StaticArray 2644 2657 +0.5% 1.00x (?)
StrComplexWalk 6439 6463 +0.4% 1.00x
StrToInt 63889 64023 +0.2% 1.00x (?)
StringAdder 4762 4763 +0.0% 1.00x (?)
StringBuilder 6729 7028 +4.4% 0.96x
StringBuilderLong 2709 2708 -0.0% 1.00x (?)
StringComparison_abnormal 1425 1443 +1.3% 0.99x (?)
StringComparison_ascii 9449 9461 +0.1% 1.00x (?)
StringComparison_emoji 3797 3826 +0.8% 0.99x
StringComparison_fastPrenormal 13215 13380 +1.2% 0.99x
StringComparison_latin1 9485 9573 +0.9% 0.99x
StringComparison_longSharedPrefix 13062 13102 +0.3% 1.00x
StringComparison_nonBMPSlowestPrenormal 6903 6973 +1.0% 0.99x
StringComparison_slowerPrenormal 6818 6882 +0.9% 0.99x
StringComparison_zalgo 2847 2876 +1.0% 0.99x
StringEdits 326688 327783 +0.3% 1.00x (?)
StringEnumRawValueInitialization 20790 20928 +0.7% 0.99x (?)
StringEqualPointerComparison 3135 3179 +1.4% 0.99x
StringFromLongWholeSubstring 22 22 +0.0% 1.00x
StringFromLongWholeSubstringGeneric 200 200 +0.0% 1.00x
StringHasPrefixAscii 3029 2971 -1.9% 1.02x
StringHasPrefixUnicode 31206 31169 -0.1% 1.00x (?)
StringHasSuffixAscii 3119 3109 -0.3% 1.00x (?)
StringHasSuffixUnicode 88669 88527 -0.2% 1.00x (?)
StringInterpolation 14203 13972 -1.6% 1.02x (?)
StringMatch 32738 32916 +0.5% 0.99x (?)
StringRemoveDupes 1414 1401 -0.9% 1.01x
StringUTF16Builder 7587 7504 -1.1% 1.01x (?)
StringWalk 12800 12795 -0.0% 1.00x (?)
StringWithCString 39739 39591 -0.4% 1.00x (?)
StringWordBuilder 2519 2571 +2.1% 0.98x
StringWordBuilderReservingCapacity 2173 2219 +2.1% 0.98x
SubstringComparable 4158 4200 +1.0% 0.99x (?)
SubstringEqualString 3472 3451 -0.6% 1.01x (?)
SubstringEquatable 8141 8293 +1.9% 0.98x (?)
SubstringFromLongString 24 24 +0.0% 1.00x
SubstringFromLongStringGeneric 100 99 -1.0% 1.01x
SuffixAnyCollection 4635 4616 -0.4% 1.00x
SuffixAnySeqCRangeIter 34523 33772 -2.2% 1.02x (?)
SuffixAnySeqCRangeIterLazy 33882 33641 -0.7% 1.01x
SuffixAnySeqCntRange 4616 4628 +0.3% 1.00x
SuffixAnySeqCntRangeLazy 4610 4616 +0.1% 1.00x (?)
SuffixAnySequence 25211 25160 -0.2% 1.00x (?)
SuffixCountableRange 112 112 +0.0% 1.00x
SuffixCountableRangeLazy 8613 8645 +0.4% 1.00x (?)
SuffixSequence 24914 25000 +0.3% 1.00x (?)
SumUsingReduce 173222 172117 -0.6% 1.01x (?)
SumUsingReduceInto 176929 168596 -4.7% 1.05x
SuperChars 209811 218144 +4.0% 0.96x
TwoSum 3990 3975 -0.4% 1.00x
TypeFlood 153 161 +5.2% 0.95x (?)
UTF8Decode 30151 29831 -1.1% 1.01x
Walsh 12055 11980 -0.6% 1.01x
WordCountHistogramASCII 47597 47607 +0.0% 1.00x (?)
WordCountHistogramUTF16 102905 104635 +1.7% 0.98x
WordCountUniqueASCII 8148 7972 -2.2% 1.02x
WordSplitASCII 24970 25286 +1.3% 0.99x (?)
WordSplitUTF16 25715 26411 +2.7% 0.97x (?)
XorLoop 23367 23224 -0.6% 1.01x
Added (2)
TEST MIN MAX MEAN MAX_RSS
QueueConcrete 13998 14162 14080 10416128
QueueGeneric 19133 19248 19178 10407936
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

@airspeedswift
Copy link
Member Author

Uh, the generic version is faster? Ok....

@airspeedswift airspeedswift merged commit cfd3225 into swiftlang:master Feb 3, 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.

2 participants