Skip to content

[benchmark] Add the ability for a benchmark to specify that it does n… #16872

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

gottesmm
Copy link
Contributor

…ot run on specific platforms.

Today, one can not completely disable a benchmark depending on the platform
without changing the source of main.swift. We would like to be able to disable
benchmarks locally in a benchmark's file without needing to modify the rest of
the infrastructure. The closest that one can get to such behavior is to just
conditionally compile out the file locally. But one still will have the test
run.

This commit adds support for not-running the benchmark on specific
platforms. This in combination with conditional compilation of benchmark bodies,
allows us to not have to comment out module's in main.swift or have to
conditionally compile testinfo.

rdar://40541972

…ot run on specific platforms.

Today, one can not completely disable a benchmark depending on the platform
without changing the source of main.swift. We would like to be able to disable
benchmarks locally in a benchmark's file without needing to modify the rest of
the infrastructure. The closest that one can get to such behavior is to just
conditionally compile out the file locally. But one still will have the test
run.

This commit adds support for not-running the benchmark on specific
platforms. This in combination with conditional compilation of benchmark bodies,
allows us to not have to comment out module's in main.swift or have to
conditionally compile testinfo.

rdar://40541972
@gottesmm
Copy link
Contributor Author

@swift-ci smoke test and merge

@gottesmm
Copy link
Contributor Author

@swift-ci smoke benchmark

@gottesmm
Copy link
Contributor Author

I killed the main smoke test and merge part of the job since I went to run a smoke benchmark before this lands.

@swift-ci
Copy link
Contributor

Build comment file:

Optimized (O)

Regression (14)
TEST OLD NEW DELTA SPEEDUP
ObjectiveCBridgeFromNSSetAnyObjectForced 4923 5942 +20.7% 0.83x
MapReduceLazyCollectionShort 34 39 +14.7% 0.87x
DataReplaceSmallBuffer 12220 13403 +9.7% 0.91x (?)
DropLastCountableRangeLazy 11 12 +9.1% 0.92x
PointerArithmetics 31516 34368 +9.0% 0.92x
FatCompactMap 199962 217446 +8.7% 0.92x
DataReplaceSmall 9254 9936 +7.4% 0.93x (?)
MapReduceAnyCollection 401 429 +7.0% 0.93x
DataReplaceMediumBuffer 16607 17766 +7.0% 0.93x
DataAppendArray 6119 6467 +5.7% 0.95x
ObjectiveCBridgeStubToNSDate 14905 15751 +5.7% 0.95x (?)
RomanNumbers 82173 86746 +5.6% 0.95x
ObjectiveCBridgeFromNSArrayAnyObject 26027 27434 +5.4% 0.95x (?)
StringInterpolation 10008 10538 +5.3% 0.95x
Improvement (13)
TEST OLD NEW DELTA SPEEDUP
StringBuilderLong 1672 1257 -24.8% 1.33x (?)
StringBuilderWithLongSubstring 1978 1528 -22.8% 1.29x (?)
RangeIterationSigned 200 171 -14.5% 1.17x
DictionarySubscriptDefaultMutationArray 701 622 -11.3% 1.13x
IterateData 1668 1506 -9.7% 1.11x
SubstringFromLongString 11 10 -9.1% 1.10x
StringEnumRawValueInitialization 933 854 -8.5% 1.09x
SetIntersect_OfObjects 1903 1756 -7.7% 1.08x
ObjectiveCBridgeFromNSArrayAnyObjectForced 6325 5889 -6.9% 1.07x (?)
MapReduce 398 372 -6.5% 1.07x
ObjectiveCBridgeStubFromArrayOfNSString 36882 34650 -6.1% 1.06x (?)
UTF8Decode 319 303 -5.0% 1.05x
SumUsingReduce 102 97 -4.9% 1.05x
No Changes (411)
TEST OLD NEW DELTA SPEEDUP
AngryPhonebook 3855 3853 -0.1% 1.00x (?)
AnyHashableWithAClass 89069 93398 +4.9% 0.95x
Array2D 2851 2854 +0.1% 1.00x (?)
ArrayAppend 1080 1082 +0.2% 1.00x
ArrayAppendArrayOfInt 798 796 -0.3% 1.00x (?)
ArrayAppendAscii 4148 4013 -3.3% 1.03x (?)
ArrayAppendAsciiSubstring 24525 24647 +0.5% 1.00x (?)
ArrayAppendFromGeneric 801 799 -0.2% 1.00x (?)
ArrayAppendGenericStructs 1430 1430 +0.0% 1.00x
ArrayAppendLatin1 40977 40735 -0.6% 1.01x
ArrayAppendLatin1Substring 141182 140590 -0.4% 1.00x
ArrayAppendLazyMap 1335 1342 +0.5% 0.99x (?)
ArrayAppendOptionals 1427 1430 +0.2% 1.00x (?)
ArrayAppendRepeatCol 1341 1371 +2.2% 0.98x
ArrayAppendReserved 812 810 -0.2% 1.00x (?)
ArrayAppendSequence 1120 1122 +0.2% 1.00x (?)
ArrayAppendStrings 6330 6340 +0.2% 1.00x (?)
ArrayAppendToFromGeneric 798 801 +0.4% 1.00x (?)
ArrayAppendToGeneric 798 801 +0.4% 1.00x (?)
ArrayAppendUTF16 41082 40134 -2.3% 1.02x
ArrayAppendUTF16Substring 139767 137074 -1.9% 1.02x
ArrayInClass 86 85 -1.2% 1.01x
ArrayLiteral 0 0 +0.0% 1.00x
ArrayOfGenericPOD2 151 151 +0.0% 1.00x
ArrayOfGenericRef 4380 4413 +0.8% 0.99x
ArrayOfPOD 184 184 +0.0% 1.00x
ArrayOfRef 4370 4349 -0.5% 1.00x
ArrayPlusEqualArrayOfInt 798 799 +0.1% 1.00x (?)
ArrayPlusEqualFiveElementCollection 5471 5501 +0.5% 0.99x
ArrayPlusEqualSingleElementCollection 1078 1080 +0.2% 1.00x (?)
ArrayPlusEqualThreeElements 1665 1659 -0.4% 1.00x (?)
ArraySubscript 1544 1545 +0.1% 1.00x (?)
ArrayValueProp 8 8 +0.0% 1.00x
ArrayValueProp2 8 8 +0.0% 1.00x
ArrayValueProp3 8 8 +0.0% 1.00x
ArrayValueProp4 8 8 +0.0% 1.00x
BinaryFloatingPointPropertiesBinade 31 31 +0.0% 1.00x
BinaryFloatingPointPropertiesNextUp 28 28 +0.0% 1.00x
BinaryFloatingPointPropertiesUlp 37 37 +0.0% 1.00x
BitCount 211 202 -4.3% 1.04x
ByteSwap 103 106 +2.9% 0.97x
COWArrayGuaranteedParameterOverhead 8597 8713 +1.3% 0.99x
COWTree 5304 5361 +1.1% 0.99x (?)
CSVParsing 657214 660283 +0.5% 1.00x (?)
CSVParsingAlt 788616 788683 +0.0% 1.00x (?)
CSVParsingAltIndices 337597 339639 +0.6% 0.99x
CStringLongAscii 4372 4382 +0.2% 1.00x (?)
CStringLongNonAscii 2346 2344 -0.1% 1.00x (?)
CStringShortAscii 3397 3373 -0.7% 1.01x
Calculator 604 582 -3.6% 1.04x
CaptureProp 4107 4111 +0.1% 1.00x (?)
ChainedFilterMap 1249 1247 -0.2% 1.00x
CharIndexing_ascii_unicodeScalars 17277 17208 -0.4% 1.00x (?)
CharIndexing_ascii_unicodeScalars_Backwards 16279 16224 -0.3% 1.00x (?)
CharIndexing_chinese_unicodeScalars 13042 13006 -0.3% 1.00x (?)
CharIndexing_chinese_unicodeScalars_Backwards 12325 12358 +0.3% 1.00x (?)
CharIndexing_japanese_unicodeScalars 20684 20560 -0.6% 1.01x
CharIndexing_japanese_unicodeScalars_Backwards 19482 19505 +0.1% 1.00x
CharIndexing_korean_unicodeScalars 16749 16663 -0.5% 1.01x
CharIndexing_korean_unicodeScalars_Backwards 15764 15795 +0.2% 1.00x (?)
CharIndexing_punctuatedJapanese_unicodeScalars 3157 3102 -1.7% 1.02x
CharIndexing_punctuatedJapanese_unicodeScalars_Backwards 2946 2946 +0.0% 1.00x
CharIndexing_punctuated_unicodeScalars 3906 3888 -0.5% 1.00x
CharIndexing_punctuated_unicodeScalars_Backwards 3688 3693 +0.1% 1.00x
CharIndexing_russian_unicodeScalars 14376 14334 -0.3% 1.00x
CharIndexing_russian_unicodeScalars_Backwards 13554 13600 +0.3% 1.00x
CharIndexing_tweet_unicodeScalars 33351 33292 -0.2% 1.00x (?)
CharIndexing_tweet_unicodeScalars_Backwards 32079 32017 -0.2% 1.00x (?)
CharIndexing_utf16_unicodeScalars 23168 23127 -0.2% 1.00x
CharIndexing_utf16_unicodeScalars_Backwards 23339 23674 +1.4% 0.99x
CharIteration_ascii_unicodeScalars 22240 21838 -1.8% 1.02x
CharIteration_ascii_unicodeScalars_Backwards 15418 15416 -0.0% 1.00x (?)
CharIteration_chinese_unicodeScalars 16808 16512 -1.8% 1.02x
CharIteration_chinese_unicodeScalars_Backwards 11667 11663 -0.0% 1.00x (?)
CharIteration_japanese_unicodeScalars 26623 26143 -1.8% 1.02x
CharIteration_japanese_unicodeScalars_Backwards 18482 18471 -0.1% 1.00x (?)
CharIteration_korean_unicodeScalars 21557 21164 -1.8% 1.02x
CharIteration_korean_unicodeScalars_Backwards 14984 14929 -0.4% 1.00x
CharIteration_punctuatedJapanese_unicodeScalars 3958 3883 -1.9% 1.02x
CharIteration_punctuatedJapanese_unicodeScalars_Backwards 2799 2793 -0.2% 1.00x
CharIteration_punctuated_unicodeScalars 4984 4888 -1.9% 1.02x
CharIteration_punctuated_unicodeScalars_Backwards 3504 3493 -0.3% 1.00x (?)
CharIteration_russian_unicodeScalars 18518 18185 -1.8% 1.02x
CharIteration_russian_unicodeScalars_Backwards 12835 12851 +0.1% 1.00x (?)
CharIteration_tweet_unicodeScalars 43858 42782 -2.5% 1.03x
CharIteration_tweet_unicodeScalars_Backwards 30484 30474 -0.0% 1.00x (?)
CharIteration_utf16_unicodeScalars 28374 28233 -0.5% 1.00x (?)
CharIteration_utf16_unicodeScalars_Backwards 18497 18499 +0.0% 1.00x (?)
CharacterLiteralsLarge 5931 5965 +0.6% 0.99x
CharacterLiteralsSmall 217 217 +0.0% 1.00x
CharacterPropertiesFetch 4513 4534 +0.5% 1.00x (?)
CharacterPropertiesPrecomputed 1116 1100 -1.4% 1.01x
CharacterPropertiesStashed 1448 1482 +2.3% 0.98x
CharacterPropertiesStashedMemo 1560 1560 +0.0% 1.00x
Chars 1153 1210 +4.9% 0.95x
ClassArrayGetter 15 15 +0.0% 1.00x
Combos 492 497 +1.0% 0.99x (?)
DataAccessBytes 1145 1144 -0.1% 1.00x (?)
DataAppendBytes 5769 6005 +4.1% 0.96x (?)
DataAppendDataLargeToLarge 70580 68264 -3.3% 1.03x (?)
DataAppendDataLargeToMedium 36829 36938 +0.3% 1.00x (?)
DataAppendDataLargeToSmall 35690 36043 +1.0% 0.99x
DataAppendDataMediumToLarge 39040 39740 +1.8% 0.98x (?)
DataAppendDataMediumToMedium 7970 7741 -2.9% 1.03x
DataAppendDataMediumToSmall 6982 7121 +2.0% 0.98x (?)
DataAppendDataSmallToLarge 38227 38965 +1.9% 0.98x
DataAppendDataSmallToMedium 7630 7402 -3.0% 1.03x (?)
DataAppendDataSmallToSmall 6975 7118 +2.1% 0.98x (?)
DataAppendSequence 21188 20905 -1.3% 1.01x (?)
DataCopyBytes 2507 2524 +0.7% 0.99x (?)
DataCount 38 37 -2.6% 1.03x
DataMutateBytes 4273 4320 +1.1% 0.99x (?)
DataReplaceLarge 41821 41942 +0.3% 1.00x (?)
DataReplaceLargeBuffer 62880 61829 -1.7% 1.02x (?)
DataReplaceMedium 14060 13435 -4.4% 1.05x (?)
DataReset 3199 3347 +4.6% 0.96x (?)
DataSetCount 879 903 +2.7% 0.97x
DataSubscript 237 243 +2.5% 0.98x
DictOfArraysToArrayOfDicts 802 832 +3.7% 0.96x
Dictionary 519 523 +0.8% 0.99x (?)
Dictionary2 665 669 +0.6% 0.99x (?)
Dictionary2OfObjects 2099 2107 +0.4% 1.00x (?)
Dictionary3 230 228 -0.9% 1.01x
Dictionary3OfObjects 736 742 +0.8% 0.99x (?)
Dictionary4 342 343 +0.3% 1.00x (?)
Dictionary4Legacy 728 729 +0.1% 1.00x
Dictionary4OfObjects 454 455 +0.2% 1.00x
Dictionary4OfObjectsLegacy 939 937 -0.2% 1.00x (?)
DictionaryBridge 1183 1161 -1.9% 1.02x (?)
DictionaryCopy 108157 106801 -1.3% 1.01x
DictionaryFilter 106478 108600 +2.0% 0.98x
DictionaryGroup 215 216 +0.5% 1.00x (?)
DictionaryGroupOfObjects 2118 2130 +0.6% 0.99x
DictionaryKeysContainsCocoa 39 38 -2.6% 1.03x
DictionaryKeysContainsNative 32 33 +3.1% 0.97x (?)
DictionaryLiteral 1913 1920 +0.4% 1.00x (?)
DictionaryOfObjects 2372 2374 +0.1% 1.00x (?)
DictionaryRemove 4253 4222 -0.7% 1.01x (?)
DictionaryRemoveOfObjects 25934 26149 +0.8% 0.99x (?)
DictionarySubscriptDefaultMutation 265 270 +1.9% 0.98x
DictionarySubscriptDefaultMutationArrayOfObjects 4012 4041 +0.7% 0.99x (?)
DictionarySubscriptDefaultMutationOfObjects 1723 1731 +0.5% 1.00x (?)
DictionarySwap 1037 1037 +0.0% 1.00x
DictionarySwapAt 6977 7044 +1.0% 0.99x (?)
DictionarySwapAtOfObjects 52540 52101 -0.8% 1.01x
DictionarySwapOfObjects 8930 8944 +0.2% 1.00x (?)
DoubleWidthDivision 0 0 +0.0% 1.00x
DropFirstAnyCollection 84 84 +0.0% 1.00x
DropFirstAnyCollectionLazy 63537 65974 +3.8% 0.96x (?)
DropFirstAnySeqCRangeIter 21809 21469 -1.6% 1.02x
DropFirstAnySeqCRangeIterLazy 21841 21613 -1.0% 1.01x
DropFirstAnySeqCntRange 41 41 +0.0% 1.00x
DropFirstAnySeqCntRangeLazy 41 41 +0.0% 1.00x
DropFirstAnySequence 5201 5208 +0.1% 1.00x (?)
DropFirstAnySequenceLazy 5192 5213 +0.4% 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 2682 2683 +0.0% 1.00x
DropFirstSequenceLazy 2775 2778 +0.1% 1.00x
DropLastAnyCollection 31 31 +0.0% 1.00x
DropLastAnyCollectionLazy 20968 21194 +1.1% 0.99x (?)
DropLastAnySeqCRangeIter 3532 3570 +1.1% 0.99x
DropLastAnySeqCRangeIterLazy 3537 3563 +0.7% 0.99x
DropLastAnySeqCntRange 13 13 +0.0% 1.00x
DropLastAnySeqCntRangeLazy 13 13 +0.0% 1.00x
DropLastAnySequence 4960 5037 +1.6% 0.98x
DropLastAnySequenceLazy 5052 5088 +0.7% 0.99x
DropLastCountableRange 11 11 +0.0% 1.00x
DropLastSequence 626 629 +0.5% 1.00x
DropLastSequenceLazy 628 630 +0.3% 1.00x (?)
DropWhileAnyCollection 107 107 +0.0% 1.00x
DropWhileAnyCollectionLazy 126 125 -0.8% 1.01x
DropWhileAnySeqCRangeIter 17091 17079 -0.1% 1.00x (?)
DropWhileAnySeqCRangeIterLazy 125 125 +0.0% 1.00x
DropWhileAnySeqCntRange 50 51 +2.0% 0.98x
DropWhileAnySeqCntRangeLazy 125 126 +0.8% 0.99x
DropWhileAnySequence 5103 4967 -2.7% 1.03x
DropWhileAnySequenceLazy 1857 1857 +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 2224 2210 -0.6% 1.01x
DropWhileSequenceLazy 88 88 +0.0% 1.00x
EqualStringSubstring 49 49 +0.0% 1.00x
EqualSubstringString 49 49 +0.0% 1.00x
EqualSubstringSubstring 48 48 +0.0% 1.00x
EqualSubstringSubstringGenericEquatable 48 48 +0.0% 1.00x
ErrorHandling 1441 1438 -0.2% 1.00x (?)
ExclusivityGlobal 5 5 +0.0% 1.00x
ExclusivityIndependent 2 2 +0.0% 1.00x
FilterEvenUsingReduce 1313 1315 +0.2% 1.00x
FilterEvenUsingReduceInto 149 149 +0.0% 1.00x
FloatingPointPrinting_Double_description_small 23657 23784 +0.5% 0.99x
FloatingPointPrinting_Double_description_uniform 23227 23358 +0.6% 0.99x
FloatingPointPrinting_Double_interpolated 68590 68174 -0.6% 1.01x (?)
FloatingPointPrinting_Float80_description_small 30530 30688 +0.5% 0.99x
FloatingPointPrinting_Float80_description_uniform 29634 29840 +0.7% 0.99x
FloatingPointPrinting_Float80_interpolated 71326 71708 +0.5% 0.99x (?)
FloatingPointPrinting_Float_description_small 5493 5646 +2.8% 0.97x
FloatingPointPrinting_Float_description_uniform 5115 5075 -0.8% 1.01x
FloatingPointPrinting_Float_interpolated 42137 42444 +0.7% 0.99x
FrequenciesUsingReduce 4949 4978 +0.6% 0.99x (?)
FrequenciesUsingReduceInto 1564 1550 -0.9% 1.01x
Hanoi 2203 2219 +0.7% 0.99x
HashTest 1057 1047 -0.9% 1.01x
Histogram 699 704 +0.7% 0.99x
Integrate 354 342 -3.4% 1.04x (?)
Join 164 164 +0.0% 1.00x
LazilyFilteredArrayContains 37919 36666 -3.3% 1.03x
LazilyFilteredArrays 65242 67270 +3.1% 0.97x
LazilyFilteredRange 3870 3870 +0.0% 1.00x
LessSubstringSubstring 48 48 +0.0% 1.00x
LessSubstringSubstringGenericComparable 48 48 +0.0% 1.00x
LinkedList 7524 7527 +0.0% 1.00x
LuhnAlgoEager 443 453 +2.3% 0.98x
LuhnAlgoLazy 448 447 -0.2% 1.00x (?)
MapReduceAnyCollectionShort 2241 2258 +0.8% 0.99x
MapReduceClass 3033 3016 -0.6% 1.01x
MapReduceClassShort 4639 4573 -1.4% 1.01x
MapReduceLazyCollection 13 13 +0.0% 1.00x
MapReduceLazySequence 86 86 +0.0% 1.00x
MapReduceSequence 449 450 +0.2% 1.00x (?)
MapReduceShort 2022 2001 -1.0% 1.01x
MapReduceShortString 22 22 +0.0% 1.00x
MapReduceString 48 49 +2.1% 0.98x
Memset 218 221 +1.4% 0.99x (?)
MonteCarloE 10188 10304 +1.1% 0.99x (?)
MonteCarloPi 42710 42713 +0.0% 1.00x (?)
NSDictionaryCastToSwift 6773 6871 +1.4% 0.99x (?)
NSError 175 171 -2.3% 1.02x
NSStringConversion 731 729 -0.3% 1.00x
NibbleSort 3696 3670 -0.7% 1.01x
NopDeinit 30175 30163 -0.0% 1.00x (?)
ObjectAllocation 133 133 +0.0% 1.00x
ObjectiveCBridgeFromNSArrayAnyObjectToString 43834 44729 +2.0% 0.98x (?)
ObjectiveCBridgeFromNSArrayAnyObjectToStringForced 45406 45507 +0.2% 1.00x (?)
ObjectiveCBridgeFromNSDictionaryAnyObject 113686 116724 +2.7% 0.97x (?)
ObjectiveCBridgeFromNSSetAnyObject 51123 51339 +0.4% 1.00x (?)
ObjectiveCBridgeFromNSSetAnyObjectToString 64828 66319 +2.3% 0.98x (?)
ObjectiveCBridgeFromNSString 1205 1232 +2.2% 0.98x (?)
ObjectiveCBridgeFromNSStringForced 2676 2711 +1.3% 0.99x (?)
ObjectiveCBridgeStubDataAppend 11481 11511 +0.3% 1.00x (?)
ObjectiveCBridgeStubDateMutation 400 401 +0.2% 1.00x
ObjectiveCBridgeStubFromNSDate 6480 6569 +1.4% 0.99x (?)
ObjectiveCBridgeStubFromNSString 1022 1042 +2.0% 0.98x (?)
ObjectiveCBridgeStubFromNSStringRef 156 160 +2.6% 0.98x
ObjectiveCBridgeStubNSDataAppend 2608 2545 -2.4% 1.02x
ObjectiveCBridgeStubNSDateMutationRef 13181 13468 +2.2% 0.98x (?)
ObjectiveCBridgeStubToArrayOfNSString 38944 39072 +0.3% 1.00x (?)
ObjectiveCBridgeStubToNSDateRef 3387 3450 +1.9% 0.98x (?)
ObjectiveCBridgeStubToNSString 2385 2395 +0.4% 1.00x (?)
ObjectiveCBridgeStubToNSStringRef 115 113 -1.7% 1.02x
ObjectiveCBridgeStubURLAppendPath 300657 304220 +1.2% 0.99x (?)
ObjectiveCBridgeStubURLAppendPathRef 295720 290008 -1.9% 1.02x (?)
ObjectiveCBridgeToNSArray 15009 14940 -0.5% 1.00x (?)
ObjectiveCBridgeToNSDictionary 27735 26673 -3.8% 1.04x (?)
ObjectiveCBridgeToNSSet 17025 17366 +2.0% 0.98x (?)
ObjectiveCBridgeToNSString 493 493 +0.0% 1.00x
ObserverClosure 2175 2194 +0.9% 0.99x (?)
ObserverForwarderStruct 1224 1260 +2.9% 0.97x
ObserverPartiallyAppliedMethod 3768 3783 +0.4% 1.00x
ObserverUnappliedMethod 2465 2575 +4.5% 0.96x
OpaqueConsumingUsers 4181 4182 +0.0% 1.00x (?)
OpenClose 243 235 -3.3% 1.03x
PartialApplyDynamicType 0 0 +0.0% 1.00x
Phonebook 7010 6864 -2.1% 1.02x
PolymorphicCalls 25 25 +0.0% 1.00x
PopFrontArray 1959 1979 +1.0% 0.99x (?)
PopFrontArrayGeneric 1996 1998 +0.1% 1.00x (?)
PopFrontUnsafePointer 9656 9699 +0.4% 1.00x (?)
PrefixAnyCollection 84 84 +0.0% 1.00x
PrefixAnyCollectionLazy 65970 66174 +0.3% 1.00x (?)
PrefixAnySeqCRangeIter 17046 16932 -0.7% 1.01x
PrefixAnySeqCRangeIterLazy 16949 16720 -1.4% 1.01x
PrefixAnySeqCntRange 28 28 +0.0% 1.00x
PrefixAnySeqCntRangeLazy 28 28 +0.0% 1.00x
PrefixAnySequence 4549 4344 -4.5% 1.05x
PrefixAnySequenceLazy 4551 4338 -4.7% 1.05x
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 2223 2224 +0.0% 1.00x (?)
PrefixSequenceLazy 2276 2278 +0.1% 1.00x (?)
PrefixWhileAnyCollection 154 154 +0.0% 1.00x
PrefixWhileAnyCollectionLazy 90 90 +0.0% 1.00x
PrefixWhileAnySeqCRangeIter 8661 8677 +0.2% 1.00x
PrefixWhileAnySeqCRangeIterLazy 73 72 -1.4% 1.01x
PrefixWhileAnySeqCntRange 60 60 +0.0% 1.00x
PrefixWhileAnySeqCntRangeLazy 90 90 +0.0% 1.00x
PrefixWhileAnySequence 9903 9904 +0.0% 1.00x (?)
PrefixWhileAnySequenceLazy 1394 1394 +0.0% 1.00x
PrefixWhileArray 88 88 +0.0% 1.00x
PrefixWhileArrayLazy 70 70 +0.0% 1.00x
PrefixWhileCountableRange 36 36 +0.0% 1.00x
PrefixWhileCountableRangeLazy 35 35 +0.0% 1.00x
PrefixWhileSequence 362 361 -0.3% 1.00x
PrefixWhileSequenceLazy 52 52 +0.0% 1.00x
Prims 914 910 -0.4% 1.00x (?)
PrimsSplit 911 896 -1.6% 1.02x (?)
QueueConcrete 1147 1146 -0.1% 1.00x (?)
QueueGeneric 1146 1145 -0.1% 1.00x
RC4 161 162 +0.6% 0.99x
RGBHistogram 3260 3230 -0.9% 1.01x
RGBHistogramOfObjects 23677 23846 +0.7% 0.99x (?)
RandomDoubleDef 27996 27593 -1.4% 1.01x
RandomDoubleLCG 4179 4185 +0.1% 1.00x (?)
RandomIntegersDef 25487 25719 +0.9% 0.99x
RandomIntegersLCG 2092 2091 -0.0% 1.00x (?)
RandomShuffleDef 827340 825706 -0.2% 1.00x (?)
RandomShuffleLCG 150391 151342 +0.6% 0.99x (?)
RangeAssignment 352 336 -4.5% 1.05x
RangeReplaceableCollectionPlusDefault 1018 1032 +1.4% 0.99x (?)
RecursiveOwnedParameter 115 115 +0.0% 1.00x
RemoveWhereFilterInts 46 47 +2.2% 0.98x
RemoveWhereFilterString 238 236 -0.8% 1.01x
RemoveWhereFilterStrings 437 437 +0.0% 1.00x
RemoveWhereMoveInts 14 14 +0.0% 1.00x
RemoveWhereMoveStrings 710 710 +0.0% 1.00x
RemoveWhereQuadraticInts 1297 1296 -0.1% 1.00x (?)
RemoveWhereQuadraticString 382 382 +0.0% 1.00x
RemoveWhereQuadraticStrings 2765 2771 +0.2% 1.00x
RemoveWhereSwapInts 19 19 +0.0% 1.00x
RemoveWhereSwapStrings 860 863 +0.3% 1.00x (?)
ReversedArray 57 57 +0.0% 1.00x
ReversedBidirectional 17011 17012 +0.0% 1.00x (?)
ReversedDictionary 268 269 +0.4% 1.00x (?)
SequenceAlgosAnySequence 11895 11989 +0.8% 0.99x
SequenceAlgosArray 1579 1582 +0.2% 1.00x
SequenceAlgosContiguousArray 1579 1579 +0.0% 1.00x
SequenceAlgosList 1356 1354 -0.1% 1.00x (?)
SequenceAlgosRange 2577 2577 +0.0% 1.00x
SequenceAlgosUnfoldSequence 1103 1102 -0.1% 1.00x
SetExclusiveOr 5200 5133 -1.3% 1.01x
SetExclusiveOr_OfObjects 11839 11842 +0.0% 1.00x (?)
SetIntersect 703 704 +0.1% 1.00x (?)
SetIsSubsetOf 354 354 +0.0% 1.00x
SetIsSubsetOf_OfObjects 451 453 +0.4% 1.00x
SetUnion 4456 4378 -1.8% 1.02x
SetUnion_OfObjects 10182 10166 -0.2% 1.00x (?)
SevenBoom 874 895 +2.4% 0.98x
Sim2DArray 664 669 +0.8% 0.99x (?)
SortLargeExistentials 5526 5604 +1.4% 0.99x
SortLettersInPlace 1004 1007 +0.3% 1.00x (?)
SortSortedStrings 854 874 +2.3% 0.98x
SortStrings 1798 1801 +0.2% 1.00x
SortStringsUnicode 2536 2618 +3.2% 0.97x
StackPromo 24949 24872 -0.3% 1.00x (?)
StaticArray 9 9 +0.0% 1.00x
StrComplexWalk 1784 1784 +0.0% 1.00x
StrToInt 3266 3209 -1.7% 1.02x
StringAdder 830 808 -2.7% 1.03x
StringBuilder 749 733 -2.1% 1.02x
StringBuilderSmallReservingCapacity 769 755 -1.8% 1.02x
StringComparison_abnormal 803 783 -2.5% 1.03x
StringComparison_ascii 1037 1032 -0.5% 1.00x (?)
StringComparison_emoji 835 830 -0.6% 1.01x (?)
StringComparison_fastPrenormal 859 849 -1.2% 1.01x
StringComparison_latin1 680 668 -1.8% 1.02x
StringComparison_longSharedPrefix 944 948 +0.4% 1.00x
StringComparison_nonBMPSlowestPrenormal 1616 1598 -1.1% 1.01x
StringComparison_slowerPrenormal 1738 1745 +0.4% 1.00x
StringComparison_zalgo 126027 126335 +0.2% 1.00x (?)
StringEdits 165738 165768 +0.0% 1.00x (?)
StringEqualPointerComparison 286 286 +0.0% 1.00x
StringFromLongWholeSubstring 22 21 -4.5% 1.05x
StringFromLongWholeSubstringGeneric 22 22 +0.0% 1.00x
StringHasPrefixAscii 2233 2205 -1.3% 1.01x
StringHasPrefixUnicode 100903 100899 -0.0% 1.00x (?)
StringHasSuffixAscii 2409 2369 -1.7% 1.02x
StringHasSuffixUnicode 102082 103082 +1.0% 0.99x (?)
StringInterpolationManySmallSegments 21198 20801 -1.9% 1.02x (?)
StringInterpolationSmall 6036 5998 -0.6% 1.01x
StringMatch 13152 13044 -0.8% 1.01x
StringRemoveDupes 522 525 +0.6% 0.99x (?)
StringUTF16Builder 2691 2719 +1.0% 0.99x (?)
StringUTF16SubstringBuilder 6299 6196 -1.6% 1.02x (?)
StringWalk 1431 1440 +0.6% 0.99x (?)
StringWithCString 47026 46988 -0.1% 1.00x (?)
StringWordBuilder 2517 2516 -0.0% 1.00x (?)
StringWordBuilderReservingCapacity 1761 1767 +0.3% 1.00x (?)
SubstringComparable 15 15 +0.0% 1.00x
SubstringEqualString 618 618 +0.0% 1.00x
SubstringEquatable 1387 1366 -1.5% 1.02x
SubstringFromLongStringGeneric 76 74 -2.6% 1.03x
SuffixAnyCollection 31 31 +0.0% 1.00x
SuffixAnyCollectionLazy 21503 21553 +0.2% 1.00x (?)
SuffixAnySeqCRangeIter 3762 3802 +1.1% 0.99x
SuffixAnySeqCRangeIterLazy 3756 3800 +1.2% 0.99x
SuffixAnySeqCntRange 20 20 +0.0% 1.00x
SuffixAnySeqCntRangeLazy 20 20 +0.0% 1.00x
SuffixAnySequence 4954 4973 +0.4% 1.00x
SuffixAnySequenceLazy 5045 5084 +0.8% 0.99x
SuffixCountableRange 11 11 +0.0% 1.00x
SuffixCountableRangeLazy 11 11 +0.0% 1.00x
SuffixSequence 3613 3610 -0.1% 1.00x (?)
SuffixSequenceLazy 3617 3628 +0.3% 1.00x (?)
SumUsingReduceInto 97 101 +4.1% 0.96x
SuperChars 16005 15866 -0.9% 1.01x
TwoSum 1466 1459 -0.5% 1.00x (?)
TypeFlood 0 0 +0.0% 1.00x
Walsh 421 434 +3.1% 0.97x
WordCountHistogramASCII 8179 8089 -1.1% 1.01x
WordCountHistogramUTF16 14961 15054 +0.6% 0.99x (?)
WordCountUniqueASCII 2112 2094 -0.9% 1.01x
WordCountUniqueUTF16 8313 8127 -2.2% 1.02x (?)
WordSplitASCII 6744 6657 -1.3% 1.01x (?)
WordSplitUTF16 8808 8483 -3.7% 1.04x (?)
XorLoop 397 397 +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

@gottesmm gottesmm merged commit 5f8209e into swiftlang:master May 29, 2018
@gottesmm gottesmm deleted the pr-6ca8783e222690b6bd1095fa5c8eac02efb5f0fe branch May 29, 2018 03:24
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