Skip to content

[benchmark] Add swiftpm support for the benchmark suite. #16977

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

@gottesmm gottesmm commented Jun 4, 2018

This means that we can now edit benchmarks in Xcode! Keep in mind:

  1. This is not an official build. It is just so we can use Xcode to edit files
    and get IDE features.
  2. I had to do a little hackery to keep the build the way it is today where all
    single-source files are their own modules.
  3. As long as we do not change the directory structure, everything should just
    update and work since I added a little code that dynamically adds the tests.

Also, to do this I had to rename multi-source/PrimsSplit/main.swift =>
Prims_main.swift. That is because the name main.swift is special in some way and
I hit linker errors. By simply changing the name from main.swift =>
Prims_main.swift, everything is good. I am going to file a separate bug for
that.


My personal suggestion for using this is to download an os x toolchain and develop an in tree benchmark using that swiftpm.

This means that we can now edit benchmarks in Xcode! Keep in mind:

1. This is not an official build. It is just so we can use Xcode to edit files
and get IDE features.
2. I had to do a little hackery to keep the build the way it is today where all
single-source files are their own modules.
3. As long as we do not change the directory structure, everything should just
update and work since I added a little code that dynamically adds the tests.

Also, to do this I had to rename multi-source/PrimsSplit/main.swift =>
Prims_main.swift. That is because the name main.swift is special in some way and
I hit linker errors. By simply changing the name from main.swift =>
Prims_main.swift, everything is good. I am going to file a separate bug for
that.
@gottesmm
Copy link
Contributor Author

gottesmm commented Jun 4, 2018

@swift-ci smoke test

@gottesmm
Copy link
Contributor Author

gottesmm commented Jun 4, 2018

@swift-ci smoke benchmark

@swift-ci
Copy link
Contributor

swift-ci commented Jun 4, 2018

Build comment file:

Optimized (O)

Regression (8)
TEST OLD NEW DELTA SPEEDUP
DictionarySwapAt 7197 8592 +19.4% 0.84x
ObjectiveCBridgeFromNSArrayAnyObjectToStringForced 45444 53326 +17.3% 0.85x
ObjectiveCBridgeStubFromNSDate 6138 7122 +16.0% 0.86x (?)
DictionaryKeysContainsCocoa 44 50 +13.6% 0.88x (?)
ArrayAppendAscii 3876 4168 +7.5% 0.93x (?)
ObjectiveCBridgeFromNSStringForced 2671 2849 +6.7% 0.94x
StringEdits 166200 176589 +6.3% 0.94x
DataReplaceSmallBuffer 8711 9232 +6.0% 0.94x (?)
Improvement (11)
TEST OLD NEW DELTA SPEEDUP
StringBuilderWithLongSubstring 1987 1536 -22.7% 1.29x
ObjectiveCBridgeFromNSArrayAnyObjectToString 51841 45455 -12.3% 1.14x
DataAppendDataSmallToLarge 51948 46510 -10.5% 1.12x (?)
DropLastCountableRange 12 11 -8.3% 1.09x
SuffixCountableRangeLazy 12 11 -8.3% 1.09x
PopFrontUnsafePointer 9513 8752 -8.0% 1.09x (?)
ObjectiveCBridgeFromNSArrayAnyObjectForced 5059 4699 -7.1% 1.08x (?)
CharIndexing_japanese_unicodeScalars_Backwards 21431 19921 -7.0% 1.08x
ObjectiveCBridgeToNSArray 15919 14899 -6.4% 1.07x (?)
DataAppendArray 5730 5382 -6.1% 1.06x
StringBuilderLong 1337 1261 -5.7% 1.06x (?)
No Changes (421)
TEST OLD NEW DELTA SPEEDUP
AngryPhonebook 4116 4055 -1.5% 1.02x (?)
AnyHashableWithAClass 86127 86983 +1.0% 0.99x
Array2D 2853 2857 +0.1% 1.00x (?)
ArrayAppend 1078 1077 -0.1% 1.00x (?)
ArrayAppendArrayOfInt 797 798 +0.1% 1.00x (?)
ArrayAppendAsciiSubstring 24251 24260 +0.0% 1.00x (?)
ArrayAppendFromGeneric 797 798 +0.1% 1.00x (?)
ArrayAppendGenericStructs 1427 1428 +0.1% 1.00x (?)
ArrayAppendLatin1 41182 41210 +0.1% 1.00x (?)
ArrayAppendLatin1Substring 141502 142386 +0.6% 0.99x
ArrayAppendLazyMap 1343 1342 -0.1% 1.00x (?)
ArrayAppendOptionals 1431 1427 -0.3% 1.00x (?)
ArrayAppendRepeatCol 1338 1338 +0.0% 1.00x
ArrayAppendReserved 810 810 +0.0% 1.00x
ArrayAppendSequence 1122 1120 -0.2% 1.00x
ArrayAppendStrings 6207 6211 +0.1% 1.00x (?)
ArrayAppendToFromGeneric 799 794 -0.6% 1.01x (?)
ArrayAppendToGeneric 796 790 -0.8% 1.01x (?)
ArrayAppendUTF16 40816 40815 -0.0% 1.00x (?)
ArrayAppendUTF16Substring 140176 139744 -0.3% 1.00x
ArrayInClass 86 86 +0.0% 1.00x
ArrayLiteral 0 0 +0.0% 1.00x
ArrayOfGenericPOD2 151 151 +0.0% 1.00x
ArrayOfGenericRef 4429 4464 +0.8% 0.99x (?)
ArrayOfPOD 184 184 +0.0% 1.00x
ArrayOfRef 4379 4375 -0.1% 1.00x (?)
ArrayPlusEqualArrayOfInt 797 797 +0.0% 1.00x
ArrayPlusEqualFiveElementCollection 5452 5454 +0.0% 1.00x (?)
ArrayPlusEqualSingleElementCollection 1079 1080 +0.1% 1.00x (?)
ArrayPlusEqualThreeElements 1656 1653 -0.2% 1.00x (?)
ArraySubscript 1525 1527 +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 211 +0.0% 1.00x
ByteSwap 102 102 +0.0% 1.00x
COWArrayGuaranteedParameterOverhead 8739 8692 -0.5% 1.01x (?)
COWTree 5261 5248 -0.2% 1.00x (?)
CSVParsing 660842 662138 +0.2% 1.00x (?)
CSVParsingAlt 803626 801239 -0.3% 1.00x (?)
CSVParsingAltIndices 350394 350081 -0.1% 1.00x (?)
CStringLongAscii 4207 4217 +0.2% 1.00x (?)
CStringLongNonAscii 2496 2493 -0.1% 1.00x (?)
CStringShortAscii 3335 3320 -0.4% 1.00x
Calculator 331 331 +0.0% 1.00x
CaptureProp 4107 4115 +0.2% 1.00x (?)
ChainedFilterMap 1247 1245 -0.2% 1.00x (?)
CharIndexing_ascii_unicodeScalars 17279 16961 -1.8% 1.02x
CharIndexing_ascii_unicodeScalars_Backwards 16658 16915 +1.5% 0.98x
CharIndexing_chinese_unicodeScalars 13095 12847 -1.9% 1.02x
CharIndexing_chinese_unicodeScalars_Backwards 12595 12699 +0.8% 0.99x (?)
CharIndexing_japanese_unicodeScalars 20676 20305 -1.8% 1.02x
CharIndexing_korean_unicodeScalars 16759 16455 -1.8% 1.02x
CharIndexing_korean_unicodeScalars_Backwards 16290 16355 +0.4% 1.00x (?)
CharIndexing_punctuatedJapanese_unicodeScalars 3119 3065 -1.7% 1.02x
CharIndexing_punctuatedJapanese_unicodeScalars_Backwards 3015 3007 -0.3% 1.00x (?)
CharIndexing_punctuated_unicodeScalars 3900 3834 -1.7% 1.02x
CharIndexing_punctuated_unicodeScalars_Backwards 3773 3755 -0.5% 1.00x (?)
CharIndexing_russian_unicodeScalars 14389 14138 -1.7% 1.02x
CharIndexing_russian_unicodeScalars_Backwards 13920 13900 -0.1% 1.00x (?)
CharIndexing_tweet_unicodeScalars 33347 32728 -1.9% 1.02x
CharIndexing_tweet_unicodeScalars_Backwards 32860 32558 -0.9% 1.01x
CharIndexing_utf16_unicodeScalars 23068 22967 -0.4% 1.00x
CharIndexing_utf16_unicodeScalars_Backwards 23389 24574 +5.1% 0.95x (?)
CharIteration_ascii_unicodeScalars 21318 21137 -0.8% 1.01x
CharIteration_ascii_unicodeScalars_Backwards 15197 14979 -1.4% 1.01x
CharIteration_chinese_unicodeScalars 16142 16003 -0.9% 1.01x
CharIteration_chinese_unicodeScalars_Backwards 11518 11345 -1.5% 1.02x
CharIteration_japanese_unicodeScalars 25544 25330 -0.8% 1.01x
CharIteration_japanese_unicodeScalars_Backwards 18184 17930 -1.4% 1.01x
CharIteration_korean_unicodeScalars 20689 20492 -1.0% 1.01x
CharIteration_korean_unicodeScalars_Backwards 14719 14527 -1.3% 1.01x
CharIteration_punctuatedJapanese_unicodeScalars 3814 3779 -0.9% 1.01x (?)
CharIteration_punctuatedJapanese_unicodeScalars_Backwards 2768 2723 -1.6% 1.02x
CharIteration_punctuated_unicodeScalars 4780 4740 -0.8% 1.01x (?)
CharIteration_punctuated_unicodeScalars_Backwards 3451 3407 -1.3% 1.01x
CharIteration_russian_unicodeScalars 17751 17607 -0.8% 1.01x
CharIteration_russian_unicodeScalars_Backwards 12660 12485 -1.4% 1.01x
CharIteration_tweet_unicodeScalars 42756 41765 -2.3% 1.02x
CharIteration_tweet_unicodeScalars_Backwards 30091 29633 -1.5% 1.02x
CharIteration_utf16_unicodeScalars 28065 27943 -0.4% 1.00x
CharIteration_utf16_unicodeScalars_Backwards 18776 18713 -0.3% 1.00x
CharacterLiteralsLarge 6028 6026 -0.0% 1.00x (?)
CharacterLiteralsSmall 217 217 +0.0% 1.00x
CharacterPropertiesFetch 4663 4682 +0.4% 1.00x (?)
CharacterPropertiesPrecomputed 1057 1049 -0.8% 1.01x (?)
CharacterPropertiesStashed 1547 1537 -0.6% 1.01x (?)
CharacterPropertiesStashedMemo 1601 1600 -0.1% 1.00x (?)
Chars 1218 1216 -0.2% 1.00x (?)
ClassArrayGetter 15 15 +0.0% 1.00x
Combos 491 491 +0.0% 1.00x
DataAccessBytes 1161 1152 -0.8% 1.01x
DataAppendBytes 5195 5023 -3.3% 1.03x (?)
DataAppendDataLargeToLarge 69474 69324 -0.2% 1.00x (?)
DataAppendDataLargeToMedium 35411 36033 +1.8% 0.98x (?)
DataAppendDataLargeToSmall 34468 34808 +1.0% 0.99x (?)
DataAppendDataMediumToLarge 38059 37654 -1.1% 1.01x (?)
DataAppendDataMediumToMedium 6920 6823 -1.4% 1.01x (?)
DataAppendDataMediumToSmall 6019 6258 +4.0% 0.96x
DataAppendDataSmallToMedium 6258 6334 +1.2% 0.99x (?)
DataAppendDataSmallToSmall 6116 5928 -3.1% 1.03x (?)
DataAppendSequence 6790971 6596259 -2.9% 1.03x (?)
DataCopyBytes 441 442 +0.2% 1.00x (?)
DataCount 34 34 +0.0% 1.00x
DataMutateBytes 3915 3977 +1.6% 0.98x (?)
DataReplaceLarge 37298 37619 +0.9% 0.99x (?)
DataReplaceLargeBuffer 57973 57345 -1.1% 1.01x (?)
DataReplaceMedium 8185 8349 +2.0% 0.98x (?)
DataReplaceMediumBuffer 11629 12175 +4.7% 0.96x (?)
DataReplaceSmall 5892 5841 -0.9% 1.01x (?)
DataReset 2823 2840 +0.6% 0.99x (?)
DataSetCount 586 571 -2.6% 1.03x (?)
DataSubscript 220 220 +0.0% 1.00x
DictOfArraysToArrayOfDicts 798 806 +1.0% 0.99x (?)
Dictionary 507 510 +0.6% 0.99x
Dictionary2 632 631 -0.2% 1.00x (?)
Dictionary2OfObjects 2084 2084 +0.0% 1.00x
Dictionary3 225 225 +0.0% 1.00x
Dictionary3OfObjects 741 737 -0.5% 1.01x
Dictionary4 333 326 -2.1% 1.02x
Dictionary4Legacy 747 744 -0.4% 1.00x
Dictionary4OfObjects 445 446 +0.2% 1.00x
Dictionary4OfObjectsLegacy 961 961 +0.0% 1.00x
DictionaryBridge 1172 1197 +2.1% 0.98x (?)
DictionaryCopy 108309 108957 +0.6% 0.99x (?)
DictionaryFilter 106675 107177 +0.5% 1.00x
DictionaryGroup 216 216 +0.0% 1.00x
DictionaryGroupOfObjects 2167 2178 +0.5% 0.99x (?)
DictionaryKeysContainsNative 32 33 +3.1% 0.97x
DictionaryLiteral 1918 1911 -0.4% 1.00x (?)
DictionaryOfObjects 2395 2397 +0.1% 1.00x (?)
DictionaryRemove 4206 4348 +3.4% 0.97x
DictionaryRemoveOfObjects 25738 25628 -0.4% 1.00x (?)
DictionarySubscriptDefaultMutation 266 267 +0.4% 1.00x
DictionarySubscriptDefaultMutationArray 604 605 +0.2% 1.00x
DictionarySubscriptDefaultMutationArrayOfObjects 4030 4014 -0.4% 1.00x (?)
DictionarySubscriptDefaultMutationOfObjects 1706 1707 +0.1% 1.00x (?)
DictionarySwap 1044 1043 -0.1% 1.00x (?)
DictionarySwapAtOfObjects 52678 52285 -0.7% 1.01x (?)
DictionarySwapOfObjects 8734 8755 +0.2% 1.00x (?)
DoubleWidthDivision 0 0 +0.0% 1.00x
DropFirstAnyCollection 84 84 +0.0% 1.00x
DropFirstAnyCollectionLazy 65946 65253 -1.1% 1.01x (?)
DropFirstAnySeqCRangeIter 24586 25105 +2.1% 0.98x
DropFirstAnySeqCRangeIterLazy 24542 24792 +1.0% 0.99x (?)
DropFirstAnySeqCntRange 41 41 +0.0% 1.00x
DropFirstAnySeqCntRangeLazy 41 41 +0.0% 1.00x
DropFirstAnySequence 5018 5024 +0.1% 1.00x (?)
DropFirstAnySequenceLazy 5024 5030 +0.1% 1.00x (?)
DropFirstArray 35 35 +0.0% 1.00x
DropFirstArrayLazy 35 35 +0.0% 1.00x
DropFirstCountableRange 35 35 +0.0% 1.00x
DropFirstCountableRangeLazy 35 35 +0.0% 1.00x
DropFirstSequence 2683 2684 +0.0% 1.00x
DropFirstSequenceLazy 2770 2768 -0.1% 1.00x
DropLastAnyCollection 31 31 +0.0% 1.00x
DropLastAnyCollectionLazy 21755 21776 +0.1% 1.00x (?)
DropLastAnySeqCRangeIter 3576 3571 -0.1% 1.00x (?)
DropLastAnySeqCRangeIterLazy 3579 3582 +0.1% 1.00x (?)
DropLastAnySeqCntRange 13 13 +0.0% 1.00x
DropLastAnySeqCntRangeLazy 13 13 +0.0% 1.00x
DropLastAnySequence 4953 4972 +0.4% 1.00x
DropLastAnySequenceLazy 5082 5064 -0.4% 1.00x
DropLastCountableRangeLazy 11 11 +0.0% 1.00x
DropLastSequence 637 637 +0.0% 1.00x
DropLastSequenceLazy 638 636 -0.3% 1.00x (?)
DropWhileAnyCollection 107 108 +0.9% 0.99x
DropWhileAnyCollectionLazy 125 126 +0.8% 0.99x
DropWhileAnySeqCRangeIter 19164 18878 -1.5% 1.02x (?)
DropWhileAnySeqCRangeIterLazy 125 125 +0.0% 1.00x
DropWhileAnySeqCntRange 51 51 +0.0% 1.00x
DropWhileAnySeqCntRangeLazy 125 125 +0.0% 1.00x
DropWhileAnySequence 4866 4880 +0.3% 1.00x (?)
DropWhileAnySequenceLazy 1858 1856 -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 2224 2207 -0.8% 1.01x
DropWhileSequenceLazy 88 88 +0.0% 1.00x
EqualStringSubstring 50 50 +0.0% 1.00x
EqualSubstringString 49 49 +0.0% 1.00x
EqualSubstringSubstring 49 49 +0.0% 1.00x
EqualSubstringSubstringGenericEquatable 49 49 +0.0% 1.00x
ErrorHandling 1213 1226 +1.1% 0.99x (?)
ExclusivityGlobal 5 5 +0.0% 1.00x
ExclusivityIndependent 2 2 +0.0% 1.00x
FatCompactMap 209602 209547 -0.0% 1.00x (?)
FilterEvenUsingReduce 1313 1304 -0.7% 1.01x (?)
FilterEvenUsingReduceInto 149 149 +0.0% 1.00x
FloatingPointPrinting_Double_description_small 23699 24007 +1.3% 0.99x
FloatingPointPrinting_Double_description_uniform 23244 23324 +0.3% 1.00x
FloatingPointPrinting_Double_interpolated 65953 65485 -0.7% 1.01x (?)
FloatingPointPrinting_Float80_description_small 30447 30494 +0.2% 1.00x (?)
FloatingPointPrinting_Float80_description_uniform 29502 29662 +0.5% 0.99x (?)
FloatingPointPrinting_Float80_interpolated 68691 69077 +0.6% 0.99x (?)
FloatingPointPrinting_Float_description_small 5441 5582 +2.6% 0.97x
FloatingPointPrinting_Float_description_uniform 5330 5355 +0.5% 1.00x
FloatingPointPrinting_Float_interpolated 40671 40535 -0.3% 1.00x (?)
FrequenciesUsingReduce 5054 4974 -1.6% 1.02x
FrequenciesUsingReduceInto 1524 1512 -0.8% 1.01x (?)
Hanoi 2276 2282 +0.3% 1.00x (?)
HashTest 975 968 -0.7% 1.01x (?)
Histogram 695 697 +0.3% 1.00x
Integrate 347 346 -0.3% 1.00x
IterateData 1669 1670 +0.1% 1.00x
Join 169 168 -0.6% 1.01x (?)
LazilyFilteredArrayContains 37459 37463 +0.0% 1.00x (?)
LazilyFilteredArrays 65284 66846 +2.4% 0.98x (?)
LazilyFilteredRange 3882 3880 -0.1% 1.00x
LessSubstringSubstring 49 49 +0.0% 1.00x
LessSubstringSubstringGenericComparable 49 49 +0.0% 1.00x
LinkedList 7600 7557 -0.6% 1.01x (?)
LuhnAlgoEager 441 445 +0.9% 0.99x (?)
LuhnAlgoLazy 443 446 +0.7% 0.99x (?)
MapReduce 399 398 -0.3% 1.00x
MapReduceAnyCollection 429 432 +0.7% 0.99x (?)
MapReduceAnyCollectionShort 2252 2248 -0.2% 1.00x
MapReduceClass 3019 3000 -0.6% 1.01x
MapReduceClassShort 4567 4576 +0.2% 1.00x (?)
MapReduceLazyCollection 13 13 +0.0% 1.00x
MapReduceLazyCollectionShort 34 34 +0.0% 1.00x
MapReduceLazySequence 86 86 +0.0% 1.00x
MapReduceSequence 456 461 +1.1% 0.99x (?)
MapReduceShort 2002 1989 -0.6% 1.01x
MapReduceShortString 21 21 +0.0% 1.00x
MapReduceString 49 48 -2.0% 1.02x (?)
Memset 218 218 +0.0% 1.00x
MonteCarloE 10286 10294 +0.1% 1.00x (?)
MonteCarloPi 42700 42697 -0.0% 1.00x (?)
NSDictionaryCastToSwift 7087 6804 -4.0% 1.04x
NSError 171 172 +0.6% 0.99x (?)
NSStringConversion 693 693 +0.0% 1.00x
NibbleSort 3696 3698 +0.1% 1.00x (?)
NopDeinit 32260 32272 +0.0% 1.00x (?)
ObjectAllocation 132 133 +0.8% 0.99x (?)
ObjectiveCBridgeFromNSArrayAnyObject 25754 25412 -1.3% 1.01x (?)
ObjectiveCBridgeFromNSDictionaryAnyObject 122339 117963 -3.6% 1.04x (?)
ObjectiveCBridgeFromNSSetAnyObject 50256 51303 +2.1% 0.98x (?)
ObjectiveCBridgeFromNSSetAnyObjectForced 5816 5600 -3.7% 1.04x (?)
ObjectiveCBridgeFromNSSetAnyObjectToString 66781 67878 +1.6% 0.98x (?)
ObjectiveCBridgeFromNSString 1203 1204 +0.1% 1.00x (?)
ObjectiveCBridgeStubDataAppend 6426 6431 +0.1% 1.00x (?)
ObjectiveCBridgeStubDateMutation 401 401 +0.0% 1.00x
ObjectiveCBridgeStubFromArrayOfNSString 34022 34962 +2.8% 0.97x (?)
ObjectiveCBridgeStubFromNSString 1036 1039 +0.3% 1.00x
ObjectiveCBridgeStubFromNSStringRef 161 161 +0.0% 1.00x
ObjectiveCBridgeStubNSDataAppend 2592 2599 +0.3% 1.00x (?)
ObjectiveCBridgeStubNSDateMutationRef 13791 13610 -1.3% 1.01x (?)
ObjectiveCBridgeStubToArrayOfNSString 39933 40608 +1.7% 0.98x (?)
ObjectiveCBridgeStubToNSDate 15849 15813 -0.2% 1.00x (?)
ObjectiveCBridgeStubToNSDateRef 3448 3452 +0.1% 1.00x (?)
ObjectiveCBridgeStubToNSString 2398 2405 +0.3% 1.00x (?)
ObjectiveCBridgeStubToNSStringRef 116 116 +0.0% 1.00x
ObjectiveCBridgeStubURLAppendPath 304636 295419 -3.0% 1.03x (?)
ObjectiveCBridgeStubURLAppendPathRef 294206 307155 +4.4% 0.96x (?)
ObjectiveCBridgeToNSDictionary 26354 26742 +1.5% 0.99x (?)
ObjectiveCBridgeToNSSet 17086 17410 +1.9% 0.98x (?)
ObjectiveCBridgeToNSString 486 492 +1.2% 0.99x
ObserverClosure 2172 2170 -0.1% 1.00x (?)
ObserverForwarderStruct 1221 1229 +0.7% 0.99x (?)
ObserverPartiallyAppliedMethod 3767 3756 -0.3% 1.00x (?)
ObserverUnappliedMethod 2550 2549 -0.0% 1.00x (?)
OpaqueConsumingUsers 4185 4182 -0.1% 1.00x
OpenClose 65 65 +0.0% 1.00x
PartialApplyDynamicType 0 0 +0.0% 1.00x
Phonebook 6803 6797 -0.1% 1.00x (?)
PointerArithmetics 31488 31509 +0.1% 1.00x (?)
PolymorphicCalls 25 25 +0.0% 1.00x
PopFrontArray 1982 1971 -0.6% 1.01x (?)
PopFrontArrayGeneric 1914 2000 +4.5% 0.96x (?)
PrefixAnyCollection 84 84 +0.0% 1.00x
PrefixAnyCollectionLazy 65429 65378 -0.1% 1.00x (?)
PrefixAnySeqCRangeIter 18988 19008 +0.1% 1.00x (?)
PrefixAnySeqCRangeIterLazy 18894 19277 +2.0% 0.98x
PrefixAnySeqCntRange 28 28 +0.0% 1.00x
PrefixAnySeqCntRangeLazy 28 28 +0.0% 1.00x
PrefixAnySequence 4394 4407 +0.3% 1.00x (?)
PrefixAnySequenceLazy 4383 4394 +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 2224 2215 -0.4% 1.00x
PrefixSequenceLazy 2278 2275 -0.1% 1.00x
PrefixWhileAnyCollection 154 154 +0.0% 1.00x
PrefixWhileAnyCollectionLazy 90 90 +0.0% 1.00x
PrefixWhileAnySeqCRangeIter 9396 9209 -2.0% 1.02x (?)
PrefixWhileAnySeqCRangeIterLazy 72 72 +0.0% 1.00x
PrefixWhileAnySeqCntRange 60 60 +0.0% 1.00x
PrefixWhileAnySeqCntRangeLazy 90 90 +0.0% 1.00x
PrefixWhileAnySequence 10670 10408 -2.5% 1.03x (?)
PrefixWhileAnySequenceLazy 1392 1393 +0.1% 1.00x (?)
PrefixWhileArray 88 88 +0.0% 1.00x
PrefixWhileArrayLazy 70 70 +0.0% 1.00x
PrefixWhileCountableRange 36 36 +0.0% 1.00x
PrefixWhileCountableRangeLazy 35 35 +0.0% 1.00x
PrefixWhileSequence 362 362 +0.0% 1.00x
PrefixWhileSequenceLazy 52 52 +0.0% 1.00x
Prims 909 903 -0.7% 1.01x (?)
PrimsSplit 930 917 -1.4% 1.01x (?)
QueueConcrete 1151 1155 +0.3% 1.00x (?)
QueueGeneric 1150 1150 +0.0% 1.00x
RC4 168 168 +0.0% 1.00x
RGBHistogram 3193 3201 +0.3% 1.00x (?)
RGBHistogramOfObjects 23802 23809 +0.0% 1.00x (?)
Radix2CooleyTukey 12926 12512 -3.2% 1.03x (?)
Radix2CooleyTukeyf 8927 9325 +4.5% 0.96x
RandomDoubleDef 27949 28045 +0.3% 1.00x
RandomDoubleLCG 4241 4240 -0.0% 1.00x
RandomIntegersDef 25405 25456 +0.2% 1.00x (?)
RandomIntegersLCG 2061 2062 +0.0% 1.00x (?)
RandomShuffleDef 828707 828119 -0.1% 1.00x (?)
RandomShuffleLCG 151256 149760 -1.0% 1.01x
RangeAssignment 350 351 +0.3% 1.00x (?)
RangeIterationSigned 171 171 +0.0% 1.00x
RangeReplaceableCollectionPlusDefault 1021 1022 +0.1% 1.00x (?)
RecursiveOwnedParameter 115 115 +0.0% 1.00x
RemoveWhereFilterInts 47 47 +0.0% 1.00x
RemoveWhereFilterString 252 252 +0.0% 1.00x
RemoveWhereFilterStrings 438 440 +0.5% 1.00x
RemoveWhereMoveInts 15 15 +0.0% 1.00x
RemoveWhereMoveStrings 710 711 +0.1% 1.00x
RemoveWhereQuadraticInts 1294 1297 +0.2% 1.00x
RemoveWhereQuadraticString 383 379 -1.0% 1.01x (?)
RemoveWhereQuadraticStrings 2762 2762 +0.0% 1.00x
RemoveWhereSwapInts 19 19 +0.0% 1.00x
RemoveWhereSwapStrings 865 861 -0.5% 1.00x (?)
ReversedArray 57 57 +0.0% 1.00x
ReversedBidirectional 16475 16779 +1.8% 0.98x
ReversedDictionary 275 271 -1.5% 1.01x (?)
RomanNumbers 82471 82271 -0.2% 1.00x (?)
SequenceAlgosAnySequence 13893 13852 -0.3% 1.00x (?)
SequenceAlgosArray 1577 1572 -0.3% 1.00x (?)
SequenceAlgosContiguousArray 1571 1578 +0.4% 1.00x (?)
SequenceAlgosList 1352 1354 +0.1% 1.00x (?)
SequenceAlgosRange 2576 2578 +0.1% 1.00x (?)
SequenceAlgosUnfoldSequence 1100 1102 +0.2% 1.00x
SetExclusiveOr 5015 4982 -0.7% 1.01x
SetExclusiveOr_OfObjects 11702 11726 +0.2% 1.00x (?)
SetIntersect 695 700 +0.7% 0.99x
SetIntersect_OfObjects 1752 1780 +1.6% 0.98x
SetIsSubsetOf 343 344 +0.3% 1.00x
SetIsSubsetOf_OfObjects 438 441 +0.7% 0.99x
SetUnion 4377 4379 +0.0% 1.00x (?)
SetUnion_OfObjects 10185 10191 +0.1% 1.00x (?)
SevenBoom 876 874 -0.2% 1.00x (?)
Sim2DArray 417 417 +0.0% 1.00x
SortLargeExistentials 5573 5604 +0.6% 0.99x (?)
SortLettersInPlace 993 992 -0.1% 1.00x (?)
SortSortedStrings 845 841 -0.5% 1.00x
SortStrings 1794 1780 -0.8% 1.01x
SortStringsUnicode 2527 2507 -0.8% 1.01x
StackPromo 25101 25121 +0.1% 1.00x
StaticArray 10 10 +0.0% 1.00x
StrComplexWalk 1781 1781 +0.0% 1.00x
StrToInt 3181 3183 +0.1% 1.00x (?)
StringAdder 585 585 +0.0% 1.00x
StringBuilder 554 553 -0.2% 1.00x
StringBuilderSmallReservingCapacity 574 574 +0.0% 1.00x
StringComparison_abnormal 781 771 -1.3% 1.01x
StringComparison_ascii 1017 1026 +0.9% 0.99x
StringComparison_emoji 832 831 -0.1% 1.00x (?)
StringComparison_fastPrenormal 850 854 +0.5% 1.00x
StringComparison_latin1 664 664 +0.0% 1.00x
StringComparison_longSharedPrefix 944 947 +0.3% 1.00x
StringComparison_nonBMPSlowestPrenormal 1621 1646 +1.5% 0.98x
StringComparison_slowerPrenormal 1711 1740 +1.7% 0.98x
StringComparison_zalgo 124746 124756 +0.0% 1.00x (?)
StringEnumRawValueInitialization 862 865 +0.3% 1.00x
StringEqualPointerComparison 305 304 -0.3% 1.00x
StringFromLongWholeSubstring 22 22 +0.0% 1.00x
StringFromLongWholeSubstringGeneric 21 21 +0.0% 1.00x
StringHasPrefixAscii 2243 2243 +0.0% 1.00x
StringHasPrefixUnicode 101680 103011 +1.3% 0.99x
StringHasSuffixAscii 2261 2261 +0.0% 1.00x
StringHasSuffixUnicode 100280 101628 +1.3% 0.99x (?)
StringInterpolation 9819 9770 -0.5% 1.01x (?)
StringInterpolationManySmallSegments 19168 18906 -1.4% 1.01x (?)
StringInterpolationSmall 4234 4248 +0.3% 1.00x (?)
StringMatch 12706 12675 -0.2% 1.00x (?)
StringRemoveDupes 495 487 -1.6% 1.02x
StringUTF16Builder 2730 2742 +0.4% 1.00x (?)
StringUTF16SubstringBuilder 6056 5961 -1.6% 1.02x (?)
StringWalk 1430 1431 +0.1% 1.00x (?)
StringWithCString 44951 44937 -0.0% 1.00x (?)
StringWordBuilder 2285 2283 -0.1% 1.00x (?)
StringWordBuilderReservingCapacity 1828 1825 -0.2% 1.00x (?)
SubstringComparable 13 13 +0.0% 1.00x
SubstringEqualString 617 622 +0.8% 0.99x (?)
SubstringEquatable 1430 1443 +0.9% 0.99x
SubstringFromLongString 10 10 +0.0% 1.00x
SubstringFromLongStringGeneric 74 74 +0.0% 1.00x
SuffixAnyCollection 31 31 +0.0% 1.00x
SuffixAnyCollectionLazy 21717 21713 -0.0% 1.00x (?)
SuffixAnySeqCRangeIter 3784 3792 +0.2% 1.00x (?)
SuffixAnySeqCRangeIterLazy 3784 3787 +0.1% 1.00x (?)
SuffixAnySeqCntRange 21 21 +0.0% 1.00x
SuffixAnySeqCntRangeLazy 20 21 +5.0% 0.95x
SuffixAnySequence 4938 4959 +0.4% 1.00x (?)
SuffixAnySequenceLazy 5032 5065 +0.7% 0.99x (?)
SuffixCountableRange 11 11 +0.0% 1.00x
SuffixSequence 3649 3644 -0.1% 1.00x (?)
SuffixSequenceLazy 3648 3651 +0.1% 1.00x
SumUsingReduce 102 102 +0.0% 1.00x
SumUsingReduceInto 97 97 +0.0% 1.00x
SuperChars 15635 15529 -0.7% 1.01x (?)
TwoSum 1444 1466 +1.5% 0.98x (?)
TypeFlood 0 0 +0.0% 1.00x
UTF8Decode 312 312 +0.0% 1.00x
Walsh 444 443 -0.2% 1.00x (?)
WordCountHistogramASCII 8036 8052 +0.2% 1.00x (?)
WordCountHistogramUTF16 13986 14027 +0.3% 1.00x (?)
WordCountUniqueASCII 2090 2132 +2.0% 0.98x
WordCountUniqueUTF16 7301 7289 -0.2% 1.00x (?)
WordSplitASCII 6727 6970 +3.6% 0.97x
WordSplitUTF16 8532 8803 +3.2% 0.97x
XorLoop 402 402 +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 7921e8c into swiftlang:master Jun 4, 2018
@gottesmm gottesmm deleted the pr-968b0144efee999037465a3d20b909b231109ecc branch June 4, 2018 09:08
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