Skip to content

[stdlib] Build the standard library as Swift 5 #18121

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 6 commits into from
Jul 25, 2018

Conversation

airspeedswift
Copy link
Member

@airspeedswift airspeedswift commented Jul 20, 2018

4.2 was a non-event so figured ¯\(ツ)

Not much needed changing over #17580, mostly warnings:

  • I've disabled deprecating the top-level Unicode.* typealiases, for a later patch
  • put a weirdly recursive slow-path handler for unknown FloatingPointRoundingRule
  • removed @inlinable from debugger support – shouldn't be necessary done in [stdlib] Clean up debug printing code #18126
  • made EndodingError and DecodingError resilient.

@itaiferber are you ok with making those two errors resilient? Seems like they'll only occur on slow paths so the perf hit shouldn't matter, and allows for future changes.

@slavapestov making them resilient causes deserialize_coregraphics.swift to fail:

SIL verification failed: Load must have a loadable type: !fnConv.useLoweredAddresses() || LI->getType().isLoadable(LI->getModule())
Verifying instruction:
     %31 = tuple_element_addr %28 : $*(@thick Any.Type, DecodingError.Context), 1 // user: %32
->   %32 = load %31 : $*DecodingError.Context     // users: %86, %81, %76, %58
     %58 = tuple (%30 : $@thick Any.Type, %32 : $DecodingError.Context) // user: %59
     %76 = struct_extract %32 : $DecodingError.Context, #DecodingError.Context.codingPath // user: %77
     %81 = struct_extract %32 : $DecodingError.Context, #DecodingError.Context.debugDescription // user: %82
     %86 = struct_extract %32 : $DecodingError.Context, #DecodingError.Context.underlyingError // user: %87
In function:
// protocol witness for Decodable.init(from:) in conformance CGFloat

@airspeedswift
Copy link
Member Author

@swift-ci please smoke benchmark

@airspeedswift
Copy link
Member Author

@swift-ci please test source compatibility

@@ -259,7 +259,7 @@ function(_compile_swift_files

# Force swift 4 compatibility mode for Standard Library.
Copy link
Contributor

Choose a reason for hiding this comment

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

Probably want to update the comment too.

Copy link
Member Author

Choose a reason for hiding this comment

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

thanks

Copy link
Contributor

@stephentyrone stephentyrone left a comment

Choose a reason for hiding this comment

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

That's pretty weird, but no, yeah.

@swift-ci
Copy link
Contributor

Build comment file:

Optimized (O)

Regression (16)
TEST OLD NEW DELTA SPEEDUP
Sim2DArray 417 599 +43.6% 0.70x
DictionarySwapAt 7060 8647 +22.5% 0.82x
StaticArray 10 12 +20.0% 0.83x
ChainedFilterMap 1248 1409 +12.9% 0.89x
ObjectiveCBridgeFromNSSetAnyObjectToString 66910 75494 +12.8% 0.89x (?)
FatCompactMap 1249 1409 +12.8% 0.89x
IterateData 1402 1572 +12.1% 0.89x
DataReplaceSmallBuffer 8860 9747 +10.0% 0.91x (?)
SetExclusiveOr 5067 5529 +9.1% 0.92x
ObjectiveCBridgeStubFromArrayOfNSString 34005 36954 +8.7% 0.92x (?)
DataReplaceMediumBuffer 12496 13439 +7.5% 0.93x (?)
ObjectiveCBridgeToNSSet 17309 18491 +6.8% 0.94x (?)
DictionaryBridgeToObjC_Access 919 980 +6.6% 0.94x (?)
SetIsSubsetOf_OfObjects 440 468 +6.4% 0.94x
DataCopyBytes 461 490 +6.3% 0.94x (?)
ObjectiveCBridgeFromNSDictionaryAnyObject 111162 117077 +5.3% 0.95x (?)
Improvement (16)
TEST OLD NEW DELTA SPEEDUP
MapReduceLazyCollectionShort 37 34 -8.1% 1.09x
DataCount 37 34 -8.1% 1.09x
WordSplitUTF16 11445 10520 -8.1% 1.09x (?)
ObjectiveCBridgeFromNSArrayAnyObjectForced 5209 4812 -7.6% 1.08x (?)
DropLastSequence 690 638 -7.5% 1.08x
MapReduceLazyCollection 14 13 -7.1% 1.08x
DropLastSequenceLazy 690 641 -7.1% 1.08x
Calculator 207 193 -6.8% 1.07x
RangeAssignment 371 346 -6.7% 1.07x
StringComparison_abnormal 819 764 -6.7% 1.07x
MapReduce 426 399 -6.3% 1.07x
DropLastCountableRangeLazy 16 15 -6.2% 1.07x
ObjectiveCBridgeFromNSSetAnyObjectForced 5195 4884 -6.0% 1.06x
COWArrayGuaranteedParameterOverhead 10520 9927 -5.6% 1.06x
AngryPhonebook 3771 3569 -5.4% 1.06x (?)
StringBuilderWithLongSubstring 1508 1435 -4.8% 1.05x (?)
No Changes (428)
TEST OLD NEW DELTA SPEEDUP
AnyHashableWithAClass 91019 90934 -0.1% 1.00x (?)
Array2D 2860 2853 -0.2% 1.00x (?)
ArrayAppend 1116 1081 -3.1% 1.03x
ArrayAppendArrayOfInt 795 799 +0.5% 0.99x (?)
ArrayAppendAscii 3894 3962 +1.7% 0.98x (?)
ArrayAppendAsciiSubstring 25259 25042 -0.9% 1.01x
ArrayAppendFromGeneric 794 799 +0.6% 0.99x (?)
ArrayAppendGenericStructs 1447 1417 -2.1% 1.02x
ArrayAppendLatin1 41531 41837 +0.7% 0.99x
ArrayAppendLatin1Substring 142481 141887 -0.4% 1.00x
ArrayAppendLazyMap 1344 1344 +0.0% 1.00x
ArrayAppendOptionals 1430 1432 +0.1% 1.00x (?)
ArrayAppendRepeatCol 1340 1339 -0.1% 1.00x (?)
ArrayAppendReserved 846 808 -4.5% 1.05x
ArrayAppendSequence 1118 1124 +0.5% 0.99x (?)
ArrayAppendStrings 6215 6248 +0.5% 0.99x (?)
ArrayAppendToFromGeneric 803 794 -1.1% 1.01x (?)
ArrayAppendToGeneric 799 799 +0.0% 1.00x
ArrayAppendUTF16 41379 41672 +0.7% 0.99x
ArrayAppendUTF16Substring 140390 140429 +0.0% 1.00x (?)
ArrayInClass 86 86 +0.0% 1.00x
ArrayLiteral 0 0 +0.0% 1.00x
ArrayOfGenericPOD2 152 152 +0.0% 1.00x
ArrayOfGenericRef 4375 4384 +0.2% 1.00x (?)
ArrayOfPOD 185 185 +0.0% 1.00x
ArrayOfRef 4381 4385 +0.1% 1.00x (?)
ArrayPlusEqualArrayOfInt 801 799 -0.2% 1.00x (?)
ArrayPlusEqualFiveElementCollection 5547 5447 -1.8% 1.02x
ArrayPlusEqualSingleElementCollection 1116 1080 -3.2% 1.03x
ArrayPlusEqualThreeElements 1652 1647 -0.3% 1.00x (?)
ArraySubscript 1581 1554 -1.7% 1.02x
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 37 37 +0.0% 1.00x
BitCount 202 202 +0.0% 1.00x
ByteSwap 107 104 -2.8% 1.03x
COWTree 3679 3679 +0.0% 1.00x
CSVParsing 655181 655135 -0.0% 1.00x (?)
CSVParsingAlt 815627 810759 -0.6% 1.01x (?)
CSVParsingAltIndices 341144 343969 +0.8% 0.99x
CStringLongAscii 4039 4120 +2.0% 0.98x
CStringLongNonAscii 2294 2390 +4.2% 0.96x
CStringShortAscii 3347 3339 -0.2% 1.00x
CaptureProp 4056 4110 +1.3% 0.99x
CharIndexing_ascii_unicodeScalars 17323 17395 +0.4% 1.00x
CharIndexing_ascii_unicodeScalars_Backwards 15979 16099 +0.8% 0.99x
CharIndexing_chinese_unicodeScalars 13117 13176 +0.4% 1.00x
CharIndexing_chinese_unicodeScalars_Backwards 12126 12191 +0.5% 0.99x
CharIndexing_japanese_unicodeScalars 20758 20811 +0.3% 1.00x (?)
CharIndexing_japanese_unicodeScalars_Backwards 19143 19241 +0.5% 0.99x
CharIndexing_korean_unicodeScalars 16821 16890 +0.4% 1.00x (?)
CharIndexing_korean_unicodeScalars_Backwards 15512 15613 +0.7% 0.99x
CharIndexing_punctuatedJapanese_unicodeScalars 3131 3133 +0.1% 1.00x (?)
CharIndexing_punctuatedJapanese_unicodeScalars_Backwards 2910 2926 +0.5% 0.99x
CharIndexing_punctuated_unicodeScalars 3921 3926 +0.1% 1.00x (?)
CharIndexing_punctuated_unicodeScalars_Backwards 3637 3663 +0.7% 0.99x
CharIndexing_russian_unicodeScalars 14441 14474 +0.2% 1.00x
CharIndexing_russian_unicodeScalars_Backwards 13312 13404 +0.7% 0.99x
CharIndexing_tweet_unicodeScalars 33862 33910 +0.1% 1.00x (?)
CharIndexing_tweet_unicodeScalars_Backwards 31615 31896 +0.9% 0.99x
CharIndexing_utf16_unicodeScalars 23104 23142 +0.2% 1.00x
CharIndexing_utf16_unicodeScalars_Backwards 23577 23601 +0.1% 1.00x
CharIteration_ascii_unicodeScalars 21429 21286 -0.7% 1.01x
CharIteration_ascii_unicodeScalars_Backwards 14736 14738 +0.0% 1.00x (?)
CharIteration_chinese_unicodeScalars 16141 16105 -0.2% 1.00x
CharIteration_chinese_unicodeScalars_Backwards 11163 11171 +0.1% 1.00x (?)
CharIteration_japanese_unicodeScalars 25598 25518 -0.3% 1.00x
CharIteration_japanese_unicodeScalars_Backwards 17646 17650 +0.0% 1.00x (?)
CharIteration_korean_unicodeScalars 20657 20664 +0.0% 1.00x (?)
CharIteration_korean_unicodeScalars_Backwards 14300 14306 +0.0% 1.00x (?)
CharIteration_punctuatedJapanese_unicodeScalars 3842 3810 -0.8% 1.01x
CharIteration_punctuatedJapanese_unicodeScalars_Backwards 2682 2682 +0.0% 1.00x
CharIteration_punctuated_unicodeScalars 4816 4780 -0.7% 1.01x
CharIteration_punctuated_unicodeScalars_Backwards 3353 3350 -0.1% 1.00x (?)
CharIteration_russian_unicodeScalars 17807 17738 -0.4% 1.00x
CharIteration_russian_unicodeScalars_Backwards 12292 12282 -0.1% 1.00x
CharIteration_tweet_unicodeScalars 42781 42776 -0.0% 1.00x (?)
CharIteration_tweet_unicodeScalars_Backwards 29084 29097 +0.0% 1.00x (?)
CharIteration_utf16_unicodeScalars 27998 28102 +0.4% 1.00x
CharIteration_utf16_unicodeScalars_Backwards 17673 17748 +0.4% 1.00x
CharacterLiteralsLarge 5899 5868 -0.5% 1.01x (?)
CharacterLiteralsSmall 217 220 +1.4% 0.99x
CharacterPropertiesFetch 4590 4584 -0.1% 1.00x (?)
CharacterPropertiesPrecomputed 1003 998 -0.5% 1.01x
CharacterPropertiesStashed 1806 1796 -0.6% 1.01x
CharacterPropertiesStashedMemo 1556 1558 +0.1% 1.00x (?)
Chars 1023 1017 -0.6% 1.01x
ClassArrayGetter 15 15 +0.0% 1.00x
Combos 499 498 -0.2% 1.00x (?)
DataAccessBytes 1144 1145 +0.1% 1.00x (?)
DataAppendArray 5408 5606 +3.7% 0.96x
DataAppendBytes 5103 5226 +2.4% 0.98x
DataAppendDataLargeToLarge 67254 68348 +1.6% 0.98x (?)
DataAppendDataLargeToMedium 36717 35787 -2.5% 1.03x
DataAppendDataLargeToSmall 35396 34909 -1.4% 1.01x
DataAppendDataMediumToLarge 22419 22726 +1.4% 0.99x (?)
DataAppendDataMediumToMedium 6805 7036 +3.4% 0.97x
DataAppendDataMediumToSmall 5935 6120 +3.1% 0.97x (?)
DataAppendDataSmallToLarge 37183 37684 +1.3% 0.99x (?)
DataAppendDataSmallToMedium 6274 6494 +3.5% 0.97x (?)
DataAppendDataSmallToSmall 6030 6102 +1.2% 0.99x (?)
DataAppendSequence 20351 20735 +1.9% 0.98x (?)
DataMutateBytes 3895 4019 +3.2% 0.97x
DataReplaceLarge 37103 36971 -0.4% 1.00x (?)
DataReplaceLargeBuffer 59137 57533 -2.7% 1.03x (?)
DataReplaceMedium 7463 7759 +4.0% 0.96x (?)
DataReplaceSmall 5583 5596 +0.2% 1.00x (?)
DataReset 2813 2809 -0.1% 1.00x (?)
DataSetCount 544 543 -0.2% 1.00x (?)
DataSubscript 220 220 +0.0% 1.00x
DictOfArraysToArrayOfDicts 802 793 -1.1% 1.01x (?)
Dictionary 515 511 -0.8% 1.01x
Dictionary2 636 639 +0.5% 1.00x (?)
Dictionary2OfObjects 2082 2088 +0.3% 1.00x (?)
Dictionary3 224 222 -0.9% 1.01x
Dictionary3OfObjects 738 746 +1.1% 0.99x
Dictionary4 326 317 -2.8% 1.03x
Dictionary4Legacy 716 691 -3.5% 1.04x
Dictionary4OfObjects 435 440 +1.1% 0.99x
Dictionary4OfObjectsLegacy 932 908 -2.6% 1.03x
DictionaryBridge 1271 1307 +2.8% 0.97x (?)
DictionaryBridgeToObjC_Bridge 19 19 +0.0% 1.00x
DictionaryBridgeToObjC_BulkAccess 169 166 -1.8% 1.02x (?)
DictionaryCompactMapValuesOfCastValue 14428 14503 +0.5% 0.99x (?)
DictionaryCompactMapValuesOfNilValue 7303 7308 +0.1% 1.00x (?)
DictionaryCopy 108297 109374 +1.0% 0.99x (?)
DictionaryFilter 108682 108399 -0.3% 1.00x
DictionaryGroup 218 216 -0.9% 1.01x
DictionaryGroupOfObjects 2132 2135 +0.1% 1.00x (?)
DictionaryKeysContainsCocoa 40 40 +0.0% 1.00x
DictionaryKeysContainsNative 32 32 +0.0% 1.00x
DictionaryLiteral 1908 1911 +0.2% 1.00x (?)
DictionaryOfObjects 2398 2379 -0.8% 1.01x (?)
DictionaryRemove 4219 4400 +4.3% 0.96x
DictionaryRemoveOfObjects 25990 26036 +0.2% 1.00x (?)
DictionarySubscriptDefaultMutation 265 261 -1.5% 1.02x
DictionarySubscriptDefaultMutationArray 622 616 -1.0% 1.01x (?)
DictionarySubscriptDefaultMutationArrayOfObjects 4014 4065 +1.3% 0.99x (?)
DictionarySubscriptDefaultMutationOfObjects 1716 1710 -0.3% 1.00x
DictionarySwap 1045 1024 -2.0% 1.02x
DictionarySwapAtOfObjects 52458 52376 -0.2% 1.00x (?)
DictionarySwapOfObjects 8878 8982 +1.2% 0.99x (?)
DoubleWidthDivision 0 0 +0.0% 1.00x
DropFirstAnyCollection 76 76 +0.0% 1.00x
DropFirstAnyCollectionLazy 64694 64864 +0.3% 1.00x (?)
DropFirstAnySeqCRangeIter 93 93 +0.0% 1.00x
DropFirstAnySeqCRangeIterLazy 93 93 +0.0% 1.00x
DropFirstAnySeqCntRange 71 71 +0.0% 1.00x
DropFirstAnySeqCntRangeLazy 71 71 +0.0% 1.00x
DropFirstAnySequence 1843 1843 +0.0% 1.00x
DropFirstAnySequenceLazy 1843 1845 +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 2681 2683 +0.1% 1.00x (?)
DropFirstSequenceLazy 2769 2777 +0.3% 1.00x
DropLastAnyCollection 99 99 +0.0% 1.00x
DropLastAnyCollectionLazy 21589 21655 +0.3% 1.00x (?)
DropLastAnySeqCRangeIter 3314 3320 +0.2% 1.00x (?)
DropLastAnySeqCRangeIterLazy 3301 3317 +0.5% 1.00x (?)
DropLastAnySeqCntRange 21 20 -4.8% 1.05x
DropLastAnySeqCntRangeLazy 21 20 -4.8% 1.05x
DropLastAnySequence 4999 4930 -1.4% 1.01x
DropLastAnySequenceLazy 5084 5026 -1.1% 1.01x
DropLastCountableRange 15 15 +0.0% 1.00x
DropWhileAnyCollection 100 100 +0.0% 1.00x
DropWhileAnyCollectionLazy 130 130 +0.0% 1.00x
DropWhileAnySeqCRangeIter 75 76 +1.3% 0.99x
DropWhileAnySeqCRangeIterLazy 130 130 +0.0% 1.00x
DropWhileAnySeqCntRange 95 95 +0.0% 1.00x
DropWhileAnySeqCntRangeLazy 130 130 +0.0% 1.00x
DropWhileAnySequence 1860 1860 +0.0% 1.00x
DropWhileAnySequenceLazy 1857 1858 +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 2218 2221 +0.1% 1.00x
DropWhileSequenceLazy 88 88 +0.0% 1.00x
EqualStringSubstring 49 50 +2.0% 0.98x
EqualSubstringString 48 50 +4.2% 0.96x
EqualSubstringSubstring 49 49 +0.0% 1.00x
EqualSubstringSubstringGenericEquatable 49 49 +0.0% 1.00x
ErrorHandling 1212 1209 -0.2% 1.00x (?)
ExclusivityGlobal 5 5 +0.0% 1.00x
ExclusivityIndependent 2 2 +0.0% 1.00x
FilterEvenUsingReduce 1336 1331 -0.4% 1.00x (?)
FilterEvenUsingReduceInto 160 160 +0.0% 1.00x
FloatingPointPrinting_Double_description_small 21560 21486 -0.3% 1.00x (?)
FloatingPointPrinting_Double_description_uniform 21068 21092 +0.1% 1.00x (?)
FloatingPointPrinting_Double_interpolated 63301 62567 -1.2% 1.01x
FloatingPointPrinting_Float80_description_small 28456 28554 +0.3% 1.00x
FloatingPointPrinting_Float80_description_uniform 27561 27621 +0.2% 1.00x (?)
FloatingPointPrinting_Float80_interpolated 66253 66134 -0.2% 1.00x (?)
FloatingPointPrinting_Float_description_small 5459 5337 -2.2% 1.02x
FloatingPointPrinting_Float_description_uniform 5278 5263 -0.3% 1.00x (?)
FloatingPointPrinting_Float_interpolated 39033 38776 -0.7% 1.01x (?)
FrequenciesUsingReduce 4926 5101 +3.6% 0.97x (?)
FrequenciesUsingReduceInto 1535 1543 +0.5% 0.99x (?)
Hanoi 2217 2244 +1.2% 0.99x
HashTest 936 945 +1.0% 0.99x
Histogram 666 642 -3.6% 1.04x
Integrate 335 335 +0.0% 1.00x
Join 164 169 +3.0% 0.97x
LazilyFilteredArrayContains 37453 36264 -3.2% 1.03x
LazilyFilteredArrays 66841 67478 +1.0% 0.99x (?)
LazilyFilteredRange 3871 3877 +0.2% 1.00x (?)
LessSubstringSubstring 48 49 +2.1% 0.98x
LessSubstringSubstringGenericComparable 49 50 +2.0% 0.98x
LinkedList 7572 7588 +0.2% 1.00x (?)
LuhnAlgoEager 455 444 -2.4% 1.02x
LuhnAlgoLazy 454 448 -1.3% 1.01x
MapReduceAnyCollection 399 400 +0.3% 1.00x
MapReduceAnyCollectionShort 2061 2044 -0.8% 1.01x (?)
MapReduceClass 3024 3021 -0.1% 1.00x (?)
MapReduceClassShort 4566 4564 -0.0% 1.00x (?)
MapReduceLazySequence 86 86 +0.0% 1.00x
MapReduceSequence 471 461 -2.1% 1.02x
MapReduceShort 2015 1990 -1.2% 1.01x (?)
MapReduceShortString 20 21 +5.0% 0.95x
MapReduceString 50 50 +0.0% 1.00x
Memset 216 216 +0.0% 1.00x
MonteCarloE 10396 10226 -1.6% 1.02x
MonteCarloPi 42931 42773 -0.4% 1.00x
NSDictionaryCastToSwift 7135 7109 -0.4% 1.00x (?)
NSError 164 165 +0.6% 0.99x (?)
NSStringConversion 693 684 -1.3% 1.01x
NibbleSort 3470 3469 -0.0% 1.00x (?)
NopDeinit 32359 32325 -0.1% 1.00x (?)
ObjectAllocation 132 132 +0.0% 1.00x
ObjectiveCBridgeFromNSArrayAnyObject 27041 26080 -3.6% 1.04x (?)
ObjectiveCBridgeFromNSArrayAnyObjectToString 46794 46551 -0.5% 1.01x (?)
ObjectiveCBridgeFromNSArrayAnyObjectToStringForced 45945 43859 -4.5% 1.05x
ObjectiveCBridgeFromNSSetAnyObject 51327 52392 +2.1% 0.98x (?)
ObjectiveCBridgeFromNSString 1244 1218 -2.1% 1.02x
ObjectiveCBridgeFromNSStringForced 2728 2689 -1.4% 1.01x (?)
ObjectiveCBridgeStubDataAppend 6344 6217 -2.0% 1.02x (?)
ObjectiveCBridgeStubDateMutation 400 401 +0.2% 1.00x
ObjectiveCBridgeStubFromNSDate 6513 6510 -0.0% 1.00x (?)
ObjectiveCBridgeStubFromNSString 1023 1010 -1.3% 1.01x (?)
ObjectiveCBridgeStubFromNSStringRef 155 155 +0.0% 1.00x
ObjectiveCBridgeStubNSDataAppend 2620 2604 -0.6% 1.01x (?)
ObjectiveCBridgeStubNSDateMutationRef 13384 13917 +4.0% 0.96x (?)
ObjectiveCBridgeStubToArrayOfNSString 39285 40031 +1.9% 0.98x (?)
ObjectiveCBridgeStubToNSDate 15223 15557 +2.2% 0.98x (?)
ObjectiveCBridgeStubToNSDateRef 3439 3434 -0.1% 1.00x (?)
ObjectiveCBridgeStubToNSString 2340 2345 +0.2% 1.00x
ObjectiveCBridgeStubToNSStringRef 115 115 +0.0% 1.00x
ObjectiveCBridgeStubURLAppendPath 281328 280328 -0.4% 1.00x (?)
ObjectiveCBridgeStubURLAppendPathRef 286638 284886 -0.6% 1.01x (?)
ObjectiveCBridgeToNSArray 15094 15145 +0.3% 1.00x (?)
ObjectiveCBridgeToNSDictionary 26738 27858 +4.2% 0.96x (?)
ObjectiveCBridgeToNSString 449 458 +2.0% 0.98x
ObserverClosure 2195 2184 -0.5% 1.01x (?)
ObserverForwarderStruct 1216 1232 +1.3% 0.99x (?)
ObserverPartiallyAppliedMethod 3725 3736 +0.3% 1.00x (?)
ObserverUnappliedMethod 2470 2462 -0.3% 1.00x (?)
OpaqueConsumingUsers 4184 4180 -0.1% 1.00x (?)
OpenClose 68 65 -4.4% 1.05x
PartialApplyDynamicType 0 0 +0.0% 1.00x
Phonebook 7279 7307 +0.4% 1.00x
PointerArithmetics 31481 31483 +0.0% 1.00x (?)
PolymorphicCalls 25 25 +0.0% 1.00x
PopFrontArray 1963 1960 -0.2% 1.00x (?)
PopFrontArrayGeneric 2015 1981 -1.7% 1.02x (?)
PopFrontUnsafePointer 9505 9506 +0.0% 1.00x (?)
PrefixAnyCollection 76 76 +0.0% 1.00x
PrefixAnyCollectionLazy 67433 64963 -3.7% 1.04x
PrefixAnySeqCRangeIter 40 40 +0.0% 1.00x
PrefixAnySeqCRangeIterLazy 40 40 +0.0% 1.00x
PrefixAnySeqCntRange 71 71 +0.0% 1.00x
PrefixAnySeqCntRangeLazy 71 71 +0.0% 1.00x
PrefixAnySequence 1379 1378 -0.1% 1.00x (?)
PrefixAnySequenceLazy 1378 1378 +0.0% 1.00x
PrefixArray 35 35 +0.0% 1.00x
PrefixArrayLazy 35 35 +0.0% 1.00x
PrefixCountableRange 35 35 +0.0% 1.00x
PrefixCountableRangeLazy 35 35 +0.0% 1.00x
PrefixSequence 2223 2222 -0.0% 1.00x (?)
PrefixSequenceLazy 2275 2278 +0.1% 1.00x (?)
PrefixWhileAnyCollection 146 147 +0.7% 0.99x
PrefixWhileAnyCollectionLazy 71 71 +0.0% 1.00x
PrefixWhileAnySeqCRangeIter 404 385 -4.7% 1.05x
PrefixWhileAnySeqCRangeIterLazy 89 89 +0.0% 1.00x
PrefixWhileAnySeqCntRange 142 142 +0.0% 1.00x
PrefixWhileAnySeqCntRangeLazy 71 71 +0.0% 1.00x
PrefixWhileAnySequence 1541 1542 +0.1% 1.00x
PrefixWhileAnySequenceLazy 1391 1391 +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 380 362 -4.7% 1.05x
PrefixWhileSequenceLazy 52 52 +0.0% 1.00x
Prims 914 929 +1.6% 0.98x (?)
PrimsSplit 918 936 +2.0% 0.98x (?)
QueueConcrete 1147 1150 +0.3% 1.00x (?)
QueueGeneric 1135 1137 +0.2% 1.00x
RC4 149 149 +0.0% 1.00x
RGBHistogram 2618 2581 -1.4% 1.01x (?)
RGBHistogramOfObjects 20350 20284 -0.3% 1.00x (?)
Radix2CooleyTukey 12414 12430 +0.1% 1.00x (?)
Radix2CooleyTukeyf 9031 9090 +0.7% 0.99x (?)
RandomDoubleDef 26584 26627 +0.2% 1.00x (?)
RandomDoubleLCG 2233 2320 +3.9% 0.96x
RandomIntegersDef 24360 24474 +0.5% 1.00x
RandomIntegersLCG 173 173 +0.0% 1.00x
RandomShuffleDef 813283 812981 -0.0% 1.00x (?)
RandomShuffleLCG 56913 56853 -0.1% 1.00x (?)
RangeIterationSigned 200 200 +0.0% 1.00x
RangeReplaceableCollectionPlusDefault 1064 1078 +1.3% 0.99x
RecursiveOwnedParameter 115 115 +0.0% 1.00x
RemoveWhereFilterInts 49 47 -4.1% 1.04x
RemoveWhereFilterString 250 242 -3.2% 1.03x (?)
RemoveWhereFilterStrings 438 438 +0.0% 1.00x
RemoveWhereMoveInts 15 15 +0.0% 1.00x
RemoveWhereMoveStrings 710 708 -0.3% 1.00x
RemoveWhereQuadraticInts 1290 1295 +0.4% 1.00x
RemoveWhereQuadraticString 375 377 +0.5% 0.99x
RemoveWhereQuadraticStrings 2760 2763 +0.1% 1.00x (?)
RemoveWhereSwapInts 19 20 +5.3% 0.95x
RemoveWhereSwapStrings 858 859 +0.1% 1.00x (?)
ReversedArray 57 57 +0.0% 1.00x
ReversedBidirectional 16482 16886 +2.5% 0.98x
ReversedDictionary 279 273 -2.2% 1.02x
RomanNumbers 83501 84929 +1.7% 0.98x
SequenceAlgosAnySequence 11855 11881 +0.2% 1.00x (?)
SequenceAlgosArray 1583 1579 -0.3% 1.00x (?)
SequenceAlgosContiguousArray 1574 1588 +0.9% 0.99x
SequenceAlgosList 1357 1352 -0.4% 1.00x
SequenceAlgosRange 2577 2578 +0.0% 1.00x (?)
SequenceAlgosUnfoldSequence 1102 1102 +0.0% 1.00x
SetExclusiveOr_OfObjects 11604 11670 +0.6% 0.99x
SetIntersect 697 698 +0.1% 1.00x (?)
SetIntersect_OfObjects 1769 1777 +0.5% 1.00x (?)
SetIsSubsetOf 343 343 +0.0% 1.00x
SetUnion 4485 4538 +1.2% 0.99x
SetUnion_OfObjects 9996 10093 +1.0% 0.99x
SevenBoom 838 847 +1.1% 0.99x
SortLargeExistentials 5585 5577 -0.1% 1.00x (?)
SortLettersInPlace 960 959 -0.1% 1.00x (?)
SortSortedStrings 707 696 -1.6% 1.02x
SortStrings 1505 1495 -0.7% 1.01x
SortStringsUnicode 2116 2136 +0.9% 0.99x
StackPromo 24492 24541 +0.2% 1.00x
StrComplexWalk 1781 1783 +0.1% 1.00x (?)
StrToInt 3219 3203 -0.5% 1.00x (?)
StringAdder 548 548 +0.0% 1.00x
StringBuilder 497 497 +0.0% 1.00x
StringBuilderLong 1250 1256 +0.5% 1.00x (?)
StringBuilderSmallReservingCapacity 507 507 +0.0% 1.00x
StringComparison_ascii 1029 1023 -0.6% 1.01x
StringComparison_emoji 861 863 +0.2% 1.00x (?)
StringComparison_fastPrenormal 870 864 -0.7% 1.01x
StringComparison_latin1 679 674 -0.7% 1.01x
StringComparison_longSharedPrefix 961 956 -0.5% 1.01x
StringComparison_nonBMPSlowestPrenormal 1677 1675 -0.1% 1.00x (?)
StringComparison_slowerPrenormal 1814 1805 -0.5% 1.00x
StringComparison_zalgo 112149 111928 -0.2% 1.00x (?)
StringEdits 166723 166717 -0.0% 1.00x (?)
StringEnumRawValueInitialization 863 856 -0.8% 1.01x
StringEqualPointerComparison 286 286 +0.0% 1.00x
StringFromLongWholeSubstring 21 21 +0.0% 1.00x
StringFromLongWholeSubstringGeneric 21 21 +0.0% 1.00x
StringHasPrefixAscii 2234 2234 +0.0% 1.00x
StringHasPrefixUnicode 99783 101460 +1.7% 0.98x
StringHasSuffixAscii 2261 2263 +0.1% 1.00x (?)
StringHasSuffixUnicode 100283 101175 +0.9% 0.99x
StringHashing_abnormal 1364 1356 -0.6% 1.01x (?)
StringHashing_ascii 34 33 -2.9% 1.03x
StringHashing_emoji 1967 1883 -4.3% 1.04x
StringHashing_fastPrenormal 8393 8334 -0.7% 1.01x
StringHashing_latin1 2571 2545 -1.0% 1.01x
StringHashing_longSharedPrefix 7760 7731 -0.4% 1.00x
StringHashing_nonBMPSlowestPrenormal 2119 2039 -3.8% 1.04x
StringHashing_slowerPrenormal 2741 2729 -0.4% 1.00x
StringHashing_zalgo 3521 3468 -1.5% 1.02x
StringInterpolation 9211 9186 -0.3% 1.00x (?)
StringInterpolationManySmallSegments 18487 18429 -0.3% 1.00x (?)
StringInterpolationSmall 4284 4253 -0.7% 1.01x
StringMatch 12166 12312 +1.2% 0.99x
StringRemoveDupes 488 487 -0.2% 1.00x (?)
StringUTF16Builder 2625 2648 +0.9% 0.99x (?)
StringUTF16SubstringBuilder 5656 5905 +4.4% 0.96x (?)
StringWalk 1569 1562 -0.4% 1.00x
StringWithCString 122760 125555 +2.3% 0.98x
StringWordBuilder 2263 2315 +2.3% 0.98x
StringWordBuilderReservingCapacity 1947 1882 -3.3% 1.03x
SubstringComparable 13 13 +0.0% 1.00x
SubstringEqualString 615 618 +0.5% 1.00x (?)
SubstringEquatable 1424 1415 -0.6% 1.01x
SubstringFromLongString 10 10 +0.0% 1.00x
SubstringFromLongStringGeneric 74 74 +0.0% 1.00x
SuffixAnyCollection 52 52 +0.0% 1.00x
SuffixAnyCollectionLazy 21556 21632 +0.4% 1.00x (?)
SuffixAnySeqCRangeIter 3607 3602 -0.1% 1.00x (?)
SuffixAnySeqCRangeIterLazy 3596 3606 +0.3% 1.00x
SuffixAnySeqCntRange 24 24 +0.0% 1.00x
SuffixAnySeqCntRangeLazy 24 24 +0.0% 1.00x
SuffixAnySequence 4956 4910 -0.9% 1.01x
SuffixAnySequenceLazy 5075 5049 -0.5% 1.01x
SuffixCountableRange 13 13 +0.0% 1.00x
SuffixCountableRangeLazy 18 18 +0.0% 1.00x
SuffixSequence 3656 3630 -0.7% 1.01x
SuffixSequenceLazy 3648 3650 +0.1% 1.00x (?)
SumUsingReduce 102 102 +0.0% 1.00x
SumUsingReduceInto 97 97 +0.0% 1.00x
SuperChars 20027 20003 -0.1% 1.00x (?)
TwoSum 1482 1464 -1.2% 1.01x
TypeFlood 0 0 +0.0% 1.00x
UTF8Decode 298 311 +4.4% 0.96x
UTF8Decode_InitDecoding 1361 1352 -0.7% 1.01x (?)
UTF8Decode_InitDecoding_ascii 651 650 -0.2% 1.00x (?)
UTF8Decode_InitFromBytes 1190 1215 +2.1% 0.98x
UTF8Decode_InitFromBytes_ascii 530 515 -2.8% 1.03x (?)
UTF8Decode_InitFromData 1258 1253 -0.4% 1.00x (?)
UTF8Decode_InitFromData_ascii 831 796 -4.2% 1.04x
Walsh 424 433 +2.1% 0.98x
WordCountHistogramASCII 6924 7022 +1.4% 0.99x
WordCountHistogramUTF16 10338 10357 +0.2% 1.00x (?)
WordCountUniqueASCII 2078 2089 +0.5% 0.99x
WordCountUniqueUTF16 4563 4579 +0.4% 1.00x
WordSplitASCII 9720 10216 +5.1% 0.95x
XorLoop 404 403 -0.2% 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

@airspeedswift
Copy link
Member Author

@slavapestov benchmarks don't look harmed

@slavapestov
Copy link
Contributor

Thanks for the crash report, I’ll take a look!

Copy link
Contributor

@itaiferber itaiferber left a comment

Choose a reason for hiding this comment

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

LGTM — I believe we added the fixed-layout annotations to EncodingError and DecodingError back in airspeedswift@a24998a; I think it's reasonable to remove them now.

@itaiferber
Copy link
Contributor

@airspeedswift Should we remove any other @_fixed_layout annotations on the Codable stuff to allow for future evolution? AFAICT, it should be fine to leave the other @_fixed_layout annotations on other types in that file as none of them should be introducing direct storage, but I just want to confirm.

@airspeedswift
Copy link
Member Author

@swift-ci please test

@swift-ci
Copy link
Contributor

Build failed
Swift Test OS X Platform
Git Sha - 2ab9f4699012c786b8fad514c4ef7ab0a9dd2872

@airspeedswift
Copy link
Member Author

@itaiferber Hmm... possibly, but it's pretty generic so it could take quite a hit. How much benchmarking coverage does it have?

@swift-ci
Copy link
Contributor

Build failed
Swift Test Linux Platform
Git Sha - 2ab9f4699012c786b8fad514c4ef7ab0a9dd2872

@airspeedswift
Copy link
Member Author

Gah. Works on my machine™️.

@airspeedswift
Copy link
Member Author

@swift-ci please test macOS platform

@swift-ci
Copy link
Contributor

Build failed
Swift Test OS X Platform
Git Sha - 3db889cf181e5e58c1c98dd4c14c0233988174ad

@airspeedswift
Copy link
Member Author

@swift-ci please smoke benchmark

@airspeedswift
Copy link
Member Author

@swift-ci please smoke test compiler performance

@airspeedswift
Copy link
Member Author

@swift-ci please test

@swift-ci
Copy link
Contributor

Build failed
Swift Test OS X Platform
Git Sha - 3db889cf181e5e58c1c98dd4c14c0233988174ad

@swift-ci
Copy link
Contributor

Build failed
Swift Test Linux Platform
Git Sha - 3db889cf181e5e58c1c98dd4c14c0233988174ad

@swift-ci
Copy link
Contributor

Build comment file:

Summary for master smoketest

Unexpected test results, excluded stats for Kingfisher, ReactiveCocoa

No regressions above thresholds

Debug

debug brief

Regressed (0)
name old new delta delta_pct
Improved (0)
name old new delta delta_pct
Unchanged (delta < 1.0% or delta < 100.0ms) (2)
name old new delta delta_pct
LLVM.NumLLVMBytesOutput 9,378,764 9,384,668 5,904 0.06%
time.swift-driver.wall 19.4s 19.4s 27.7ms 0.14%

debug detailed

Regressed (0)
name old new delta delta_pct
Improved (0)
name old new delta delta_pct
Unchanged (delta < 1.0% or delta < 100.0ms) (23)
name old new delta delta_pct
AST.NumImportedExternalDefinitions 5,870 5,870 0 0.0%
AST.NumLoadedModules 1,281 1,281 0 0.0%
AST.NumTotalClangImportedEntities 17,540 17,540 0 0.0%
AST.NumUsedConformances 1,283 1,283 0 0.0%
IRModule.NumIRBasicBlocks 31,258 31,358 100 0.32%
IRModule.NumIRFunctions 17,189 17,191 2 0.01%
IRModule.NumIRGlobals 13,971 13,971 0 0.0%
IRModule.NumIRInsts 437,761 438,748 987 0.23%
IRModule.NumIRValueSymbols 29,038 29,040 2 0.01%
LLVM.NumLLVMBytesOutput 9,378,764 9,384,668 5,904 0.06%
SILModule.NumSILGenFunctions 8,036 8,036 0 0.0%
SILModule.NumSILOptFunctions 10,969 10,970 1 0.01%
Sema.NumConformancesDeserialized 41,025 41,029 4 0.01%
Sema.NumConstraintScopes 73,605 73,605 0 0.0%
Sema.NumDeclsDeserialized 258,472 258,483 11 0.0%
Sema.NumDeclsValidated 27,541 27,541 0 0.0%
Sema.NumFunctionsTypechecked 4,974 4,974 0 0.0%
Sema.NumGenericSignatureBuilders 11,889 11,890 1 0.01%
Sema.NumLazyGenericEnvironments 50,511 50,511 0 0.0%
Sema.NumLazyGenericEnvironmentsLoaded 5,929 5,929 0 0.0%
Sema.NumLazyIterableDeclContexts 38,423 38,424 1 0.0%
Sema.NumTypesDeserialized 275,817 275,796 -21 -0.01%
Sema.NumTypesValidated 35,842 35,842 0 0.0%

Release

release brief

Regressed (0)
name old new delta delta_pct
Improved (0)
name old new delta delta_pct
Unchanged (delta < 1.0% or delta < 100.0ms) (2)
name old new delta delta_pct
LLVM.NumLLVMBytesOutput 10,549,732 10,556,016 6,284 0.06%
time.swift-driver.wall 32.6s 32.6s -7.2ms -0.02%

release detailed

Regressed (0)
name old new delta delta_pct
Improved (0)
name old new delta delta_pct
Unchanged (delta < 1.0% or delta < 100.0ms) (23)
name old new delta delta_pct
AST.NumImportedExternalDefinitions 1,411 1,411 0 0.0%
AST.NumLoadedModules 100 100 0 0.0%
AST.NumTotalClangImportedEntities 4,936 4,936 0 0.0%
AST.NumUsedConformances 1,286 1,286 0 0.0%
IRModule.NumIRBasicBlocks 34,314 34,224 -90 -0.26%
IRModule.NumIRFunctions 15,340 15,315 -25 -0.16%
IRModule.NumIRGlobals 13,641 13,608 -33 -0.24%
IRModule.NumIRInsts 338,863 338,714 -149 -0.04%
IRModule.NumIRValueSymbols 27,249 27,191 -58 -0.21%
LLVM.NumLLVMBytesOutput 10,549,732 10,556,016 6,284 0.06%
SILModule.NumSILGenFunctions 6,179 6,179 0 0.0%
SILModule.NumSILOptFunctions 9,346 9,369 23 0.25%
Sema.NumConformancesDeserialized 19,641 19,656 15 0.08%
Sema.NumConstraintScopes 72,201 72,201 0 0.0%
Sema.NumDeclsDeserialized 55,728 55,766 38 0.07%
Sema.NumDeclsValidated 20,786 20,786 0 0.0%
Sema.NumFunctionsTypechecked 3,079 3,079 0 0.0%
Sema.NumGenericSignatureBuilders 2,841 2,841 0 0.0%
Sema.NumLazyGenericEnvironments 9,786 9,787 1 0.01%
Sema.NumLazyGenericEnvironmentsLoaded 1,362 1,360 -2 -0.15%
Sema.NumLazyIterableDeclContexts 5,654 5,654 0 0.0%
Sema.NumTypesDeserialized 71,316 71,382 66 0.09%
Sema.NumTypesValidated 17,086 17,086 0 0.0%

@swift-ci
Copy link
Contributor

Build comment file:

Optimized (O)

Regression (16)
TEST OLD NEW DELTA SPEEDUP
DataAppendDataSmallToLarge 22417 28150 +25.6% 0.80x (?)
DictionarySwapAt 6551 7957 +21.5% 0.82x
DataReplaceMediumBuffer 11774 13920 +18.2% 0.85x
RangeIterationSigned 171 200 +17.0% 0.86x
DataCopyBytes 460 533 +15.9% 0.86x
IterateData 1405 1575 +12.1% 0.89x
StaticArray 9 10 +11.1% 0.90x
UTF8Decode_InitFromData_ascii 724 787 +8.7% 0.92x (?)
RC4 149 161 +8.1% 0.93x
DictionaryBridgeToObjC_Access 974 1052 +8.0% 0.93x (?)
MapReduceAnyCollection 370 399 +7.8% 0.93x
SetIntersect_OfObjects 1608 1732 +7.7% 0.93x
DataReplaceSmallBuffer 8826 9457 +7.1% 0.93x (?)
Calculator 194 206 +6.2% 0.94x
ObjectiveCBridgeFromNSSetAnyObjectForced 5164 5446 +5.5% 0.95x
SubstringFromLongStringGeneric 74 78 +5.4% 0.95x (?)
Improvement (15)
TEST OLD NEW DELTA SPEEDUP
DataAppendDataMediumToLarge 32976 22949 -30.4% 1.44x (?)
ChainedFilterMap 1408 1245 -11.6% 1.13x
FatCompactMap 1408 1247 -11.4% 1.13x
ObjectiveCBridgeFromNSArrayAnyObjectForced 5716 5100 -10.8% 1.12x
MapReduceLazyCollectionShort 38 34 -10.5% 1.12x
UTF8Decode_InitFromData 1421 1276 -10.2% 1.11x
ObjectiveCBridgeFromNSArrayAnyObjectToString 50862 46314 -8.9% 1.10x (?)
StringFromLongWholeSubstringGeneric 23 21 -8.7% 1.10x
DataSetCount 600 550 -8.3% 1.09x (?)
PrefixAnyCollectionLazy 69560 64407 -7.4% 1.08x
StringBuilderWithLongSubstring 1552 1452 -6.4% 1.07x (?)
StringComparison_latin1 717 677 -5.6% 1.06x
StringAdder 580 548 -5.5% 1.06x
CharIndexing_tweet_unicodeScalars_Backwards 33163 31449 -5.2% 1.05x
SumUsingReduceInto 102 97 -4.9% 1.05x
No Changes (429)
TEST OLD NEW DELTA SPEEDUP
AngryPhonebook 3767 3784 +0.5% 1.00x (?)
AnyHashableWithAClass 91424 91380 -0.0% 1.00x (?)
Array2D 2856 2853 -0.1% 1.00x (?)
ArrayAppend 1077 1088 +1.0% 0.99x
ArrayAppendArrayOfInt 803 797 -0.7% 1.01x
ArrayAppendAscii 3872 3875 +0.1% 1.00x (?)
ArrayAppendAsciiSubstring 25078 25023 -0.2% 1.00x
ArrayAppendFromGeneric 798 797 -0.1% 1.00x (?)
ArrayAppendGenericStructs 1435 1438 +0.2% 1.00x (?)
ArrayAppendLatin1 42772 41840 -2.2% 1.02x
ArrayAppendLatin1Substring 141965 142061 +0.1% 1.00x (?)
ArrayAppendLazyMap 1347 1342 -0.4% 1.00x (?)
ArrayAppendOptionals 1429 1440 +0.8% 0.99x (?)
ArrayAppendRepeatCol 1342 1341 -0.1% 1.00x (?)
ArrayAppendReserved 812 815 +0.4% 1.00x
ArrayAppendSequence 1122 1123 +0.1% 1.00x (?)
ArrayAppendStrings 6333 6332 -0.0% 1.00x (?)
ArrayAppendToFromGeneric 800 800 +0.0% 1.00x
ArrayAppendToGeneric 799 799 +0.0% 1.00x
ArrayAppendUTF16 42262 41779 -1.1% 1.01x
ArrayAppendUTF16Substring 140207 139531 -0.5% 1.00x (?)
ArrayInClass 85 86 +1.2% 0.99x
ArrayLiteral 0 0 +0.0% 1.00x
ArrayOfGenericPOD2 152 153 +0.7% 0.99x
ArrayOfGenericRef 4378 4428 +1.1% 0.99x (?)
ArrayOfPOD 185 185 +0.0% 1.00x
ArrayOfRef 4401 4377 -0.5% 1.01x (?)
ArrayPlusEqualArrayOfInt 796 798 +0.3% 1.00x (?)
ArrayPlusEqualFiveElementCollection 5431 5455 +0.4% 1.00x
ArrayPlusEqualSingleElementCollection 1083 1090 +0.6% 0.99x (?)
ArrayPlusEqualThreeElements 1677 1659 -1.1% 1.01x (?)
ArraySubscript 1563 1557 -0.4% 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 35 35 +0.0% 1.00x
BitCount 211 211 +0.0% 1.00x
ByteSwap 107 106 -0.9% 1.01x (?)
COWArrayGuaranteedParameterOverhead 10054 9982 -0.7% 1.01x (?)
COWTree 3681 3800 +3.2% 0.97x (?)
CSVParsing 655424 655730 +0.0% 1.00x (?)
CSVParsingAlt 830196 818739 -1.4% 1.01x
CSVParsingAltIndices 346761 342312 -1.3% 1.01x
CStringLongAscii 4129 4208 +1.9% 0.98x
CStringLongNonAscii 2467 2460 -0.3% 1.00x (?)
CStringShortAscii 3374 3346 -0.8% 1.01x (?)
CaptureProp 4115 4099 -0.4% 1.00x (?)
CharIndexing_ascii_unicodeScalars 17304 17715 +2.4% 0.98x (?)
CharIndexing_ascii_unicodeScalars_Backwards 16032 16795 +4.8% 0.95x (?)
CharIndexing_chinese_unicodeScalars 13253 13136 -0.9% 1.01x (?)
CharIndexing_chinese_unicodeScalars_Backwards 11998 11992 -0.1% 1.00x (?)
CharIndexing_japanese_unicodeScalars 20729 20715 -0.1% 1.00x (?)
CharIndexing_japanese_unicodeScalars_Backwards 19297 19619 +1.7% 0.98x (?)
CharIndexing_korean_unicodeScalars 16777 17531 +4.5% 0.96x (?)
CharIndexing_korean_unicodeScalars_Backwards 15967 15428 -3.4% 1.03x (?)
CharIndexing_punctuatedJapanese_unicodeScalars 3122 3119 -0.1% 1.00x (?)
CharIndexing_punctuatedJapanese_unicodeScalars_Backwards 2887 2886 -0.0% 1.00x
CharIndexing_punctuated_unicodeScalars 3939 3931 -0.2% 1.00x (?)
CharIndexing_punctuated_unicodeScalars_Backwards 3619 3720 +2.8% 0.97x (?)
CharIndexing_russian_unicodeScalars 14433 14545 +0.8% 0.99x (?)
CharIndexing_russian_unicodeScalars_Backwards 13935 14030 +0.7% 0.99x (?)
CharIndexing_tweet_unicodeScalars 33469 33458 -0.0% 1.00x (?)
CharIndexing_utf16_unicodeScalars 23649 23385 -1.1% 1.01x (?)
CharIndexing_utf16_unicodeScalars_Backwards 24511 23465 -4.3% 1.04x (?)
CharIteration_ascii_unicodeScalars 21317 21441 +0.6% 0.99x
CharIteration_ascii_unicodeScalars_Backwards 14376 14389 +0.1% 1.00x (?)
CharIteration_chinese_unicodeScalars 16144 16215 +0.4% 1.00x
CharIteration_chinese_unicodeScalars_Backwards 10894 10894 +0.0% 1.00x
CharIteration_japanese_unicodeScalars 25564 25679 +0.4% 1.00x (?)
CharIteration_japanese_unicodeScalars_Backwards 17217 17191 -0.2% 1.00x (?)
CharIteration_korean_unicodeScalars 20679 20765 +0.4% 1.00x
CharIteration_korean_unicodeScalars_Backwards 13943 13943 +0.0% 1.00x
CharIteration_punctuatedJapanese_unicodeScalars 3814 3847 +0.9% 0.99x (?)
CharIteration_punctuatedJapanese_unicodeScalars_Backwards 2621 2620 -0.0% 1.00x
CharIteration_punctuated_unicodeScalars 4782 4805 +0.5% 1.00x
CharIteration_punctuated_unicodeScalars_Backwards 3273 3272 -0.0% 1.00x (?)
CharIteration_russian_unicodeScalars 17764 17837 +0.4% 1.00x
CharIteration_russian_unicodeScalars_Backwards 11971 11971 +0.0% 1.00x
CharIteration_tweet_unicodeScalars 42116 42290 +0.4% 1.00x
CharIteration_tweet_unicodeScalars_Backwards 28741 28789 +0.2% 1.00x
CharIteration_utf16_unicodeScalars 28319 28231 -0.3% 1.00x
CharIteration_utf16_unicodeScalars_Backwards 17836 17863 +0.2% 1.00x (?)
CharacterLiteralsLarge 5864 5861 -0.1% 1.00x (?)
CharacterLiteralsSmall 220 217 -1.4% 1.01x
CharacterPropertiesFetch 4624 4642 +0.4% 1.00x (?)
CharacterPropertiesPrecomputed 999 1000 +0.1% 1.00x (?)
CharacterPropertiesStashed 1789 1797 +0.4% 1.00x (?)
CharacterPropertiesStashedMemo 1537 1551 +0.9% 0.99x (?)
Chars 1018 1017 -0.1% 1.00x (?)
ClassArrayGetter 15 15 +0.0% 1.00x
Combos 497 498 +0.2% 1.00x (?)
DataAccessBytes 1145 1151 +0.5% 0.99x
DataAppendArray 5337 5192 -2.7% 1.03x (?)
DataAppendBytes 5005 4942 -1.3% 1.01x (?)
DataAppendDataLargeToLarge 68813 67450 -2.0% 1.02x (?)
DataAppendDataLargeToMedium 35761 35640 -0.3% 1.00x (?)
DataAppendDataLargeToSmall 34889 34326 -1.6% 1.02x
DataAppendDataMediumToMedium 6752 6461 -4.3% 1.05x (?)
DataAppendDataMediumToSmall 6262 6155 -1.7% 1.02x (?)
DataAppendDataSmallToMedium 6440 6249 -3.0% 1.03x
DataAppendDataSmallToSmall 6159 5976 -3.0% 1.03x (?)
DataAppendSequence 20887 20529 -1.7% 1.02x (?)
DataCount 34 34 +0.0% 1.00x
DataMutateBytes 3861 3962 +2.6% 0.97x (?)
DataReplaceLarge 36711 36703 -0.0% 1.00x (?)
DataReplaceLargeBuffer 58904 58722 -0.3% 1.00x (?)
DataReplaceMedium 7951 8003 +0.7% 0.99x (?)
DataReplaceSmall 5816 5721 -1.6% 1.02x (?)
DataReset 2816 2829 +0.5% 1.00x (?)
DataSubscript 279 279 +0.0% 1.00x
DictOfArraysToArrayOfDicts 817 805 -1.5% 1.01x
Dictionary 507 523 +3.2% 0.97x
Dictionary2 641 652 +1.7% 0.98x (?)
Dictionary2OfObjects 2079 2099 +1.0% 0.99x (?)
Dictionary3 226 225 -0.4% 1.00x
Dictionary3OfObjects 737 737 +0.0% 1.00x
Dictionary4 324 315 -2.8% 1.03x
Dictionary4Legacy 693 716 +3.3% 0.97x
Dictionary4OfObjects 439 433 -1.4% 1.01x
Dictionary4OfObjectsLegacy 908 925 +1.9% 0.98x (?)
DictionaryBridge 1263 1229 -2.7% 1.03x (?)
DictionaryBridgeToObjC_Bridge 19 19 +0.0% 1.00x
DictionaryBridgeToObjC_BulkAccess 168 163 -3.0% 1.03x
DictionaryCompactMapValuesOfCastValue 14587 14533 -0.4% 1.00x (?)
DictionaryCompactMapValuesOfNilValue 7358 7225 -1.8% 1.02x (?)
DictionaryCopy 105343 107500 +2.0% 0.98x
DictionaryFilter 105435 106985 +1.5% 0.99x (?)
DictionaryGroup 217 216 -0.5% 1.00x
DictionaryGroupOfObjects 2106 2119 +0.6% 0.99x
DictionaryKeysContainsCocoa 40 42 +5.0% 0.95x
DictionaryKeysContainsNative 32 32 +0.0% 1.00x
DictionaryLiteral 1911 1924 +0.7% 0.99x (?)
DictionaryOfObjects 2386 2399 +0.5% 0.99x (?)
DictionaryRemove 4185 4267 +2.0% 0.98x
DictionaryRemoveOfObjects 25686 25827 +0.5% 0.99x (?)
DictionarySubscriptDefaultMutation 264 259 -1.9% 1.02x
DictionarySubscriptDefaultMutationArray 618 614 -0.6% 1.01x (?)
DictionarySubscriptDefaultMutationArrayOfObjects 4049 4025 -0.6% 1.01x (?)
DictionarySubscriptDefaultMutationOfObjects 1697 1704 +0.4% 1.00x (?)
DictionarySwap 1021 1028 +0.7% 0.99x
DictionarySwapAtOfObjects 52026 52301 +0.5% 0.99x
DictionarySwapOfObjects 8791 8737 -0.6% 1.01x (?)
DoubleWidthDivision 0 0 +0.0% 1.00x
DropFirstAnyCollection 76 76 +0.0% 1.00x
DropFirstAnyCollectionLazy 65250 64805 -0.7% 1.01x (?)
DropFirstAnySeqCRangeIter 93 93 +0.0% 1.00x
DropFirstAnySeqCRangeIterLazy 93 93 +0.0% 1.00x
DropFirstAnySeqCntRange 71 71 +0.0% 1.00x
DropFirstAnySeqCntRangeLazy 71 71 +0.0% 1.00x
DropFirstAnySequence 1843 1842 -0.1% 1.00x (?)
DropFirstAnySequenceLazy 1842 1842 +0.0% 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 2680 2681 +0.0% 1.00x (?)
DropFirstSequenceLazy 2769 2770 +0.0% 1.00x (?)
DropLastAnyCollection 98 99 +1.0% 0.99x
DropLastAnyCollectionLazy 22925 21978 -4.1% 1.04x
DropLastAnySeqCRangeIter 3293 3304 +0.3% 1.00x (?)
DropLastAnySeqCRangeIterLazy 3296 3295 -0.0% 1.00x (?)
DropLastAnySeqCntRange 21 21 +0.0% 1.00x
DropLastAnySeqCntRangeLazy 21 21 +0.0% 1.00x
DropLastAnySequence 4960 4957 -0.1% 1.00x (?)
DropLastAnySequenceLazy 5039 5047 +0.2% 1.00x (?)
DropLastCountableRange 15 15 +0.0% 1.00x
DropLastCountableRangeLazy 16 16 +0.0% 1.00x
DropLastSequence 670 676 +0.9% 0.99x (?)
DropLastSequenceLazy 669 674 +0.7% 0.99x
DropWhileAnyCollection 100 100 +0.0% 1.00x
DropWhileAnyCollectionLazy 130 130 +0.0% 1.00x
DropWhileAnySeqCRangeIter 75 76 +1.3% 0.99x
DropWhileAnySeqCRangeIterLazy 130 130 +0.0% 1.00x
DropWhileAnySeqCntRange 95 95 +0.0% 1.00x
DropWhileAnySeqCntRangeLazy 130 130 +0.0% 1.00x
DropWhileAnySequence 1859 1861 +0.1% 1.00x
DropWhileAnySequenceLazy 1855 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 2204 2205 +0.0% 1.00x (?)
DropWhileSequenceLazy 88 88 +0.0% 1.00x
EqualStringSubstring 49 49 +0.0% 1.00x
EqualSubstringString 49 49 +0.0% 1.00x
EqualSubstringSubstring 48 49 +2.1% 0.98x
EqualSubstringSubstringGenericEquatable 48 48 +0.0% 1.00x
ErrorHandling 1207 1216 +0.7% 0.99x (?)
ExclusivityGlobal 5 5 +0.0% 1.00x
ExclusivityIndependent 2 2 +0.0% 1.00x
FilterEvenUsingReduce 1334 1327 -0.5% 1.01x (?)
FilterEvenUsingReduceInto 161 161 +0.0% 1.00x
FloatingPointPrinting_Double_description_small 21713 21511 -0.9% 1.01x (?)
FloatingPointPrinting_Double_description_uniform 21166 20996 -0.8% 1.01x (?)
FloatingPointPrinting_Double_interpolated 62813 62395 -0.7% 1.01x (?)
FloatingPointPrinting_Float80_description_small 28520 28750 +0.8% 0.99x (?)
FloatingPointPrinting_Float80_description_uniform 27598 27548 -0.2% 1.00x (?)
FloatingPointPrinting_Float80_interpolated 66210 65700 -0.8% 1.01x (?)
FloatingPointPrinting_Float_description_small 5411 5669 +4.8% 0.95x
FloatingPointPrinting_Float_description_uniform 5386 5328 -1.1% 1.01x
FloatingPointPrinting_Float_interpolated 39068 38975 -0.2% 1.00x (?)
FrequenciesUsingReduce 5573 5311 -4.7% 1.05x (?)
FrequenciesUsingReduceInto 1564 1547 -1.1% 1.01x
Hanoi 2273 2222 -2.2% 1.02x
HashTest 962 956 -0.6% 1.01x (?)
Histogram 651 644 -1.1% 1.01x
Integrate 335 334 -0.3% 1.00x
Join 175 170 -2.9% 1.03x
LazilyFilteredArrayContains 36253 36316 +0.2% 1.00x
LazilyFilteredArrays 66660 66812 +0.2% 1.00x (?)
LazilyFilteredRange 3877 3875 -0.1% 1.00x (?)
LessSubstringSubstring 48 49 +2.1% 0.98x
LessSubstringSubstringGenericComparable 48 48 +0.0% 1.00x
LinkedList 7578 7598 +0.3% 1.00x (?)
LuhnAlgoEager 463 454 -1.9% 1.02x
LuhnAlgoLazy 457 455 -0.4% 1.00x
MapReduce 401 400 -0.2% 1.00x
MapReduceAnyCollectionShort 2071 2088 +0.8% 0.99x
MapReduceClass 3013 3014 +0.0% 1.00x (?)
MapReduceClassShort 4558 4558 +0.0% 1.00x
MapReduceLazyCollection 13 13 +0.0% 1.00x
MapReduceLazySequence 86 86 +0.0% 1.00x
MapReduceSequence 476 461 -3.2% 1.03x
MapReduceShort 2003 2043 +2.0% 0.98x (?)
MapReduceShortString 20 21 +5.0% 0.95x
MapReduceString 47 48 +2.1% 0.98x
Memset 214 216 +0.9% 0.99x (?)
MonteCarloE 10226 10194 -0.3% 1.00x
MonteCarloPi 42725 42736 +0.0% 1.00x (?)
NSDictionaryCastToSwift 6925 7164 +3.5% 0.97x (?)
NSError 165 164 -0.6% 1.01x (?)
NSStringConversion 690 677 -1.9% 1.02x
NibbleSort 3462 3464 +0.1% 1.00x (?)
NopDeinit 32414 32325 -0.3% 1.00x (?)
ObjectAllocation 132 131 -0.8% 1.01x (?)
ObjectiveCBridgeFromNSArrayAnyObject 26138 26097 -0.2% 1.00x (?)
ObjectiveCBridgeFromNSArrayAnyObjectToStringForced 45328 46039 +1.6% 0.98x (?)
ObjectiveCBridgeFromNSDictionaryAnyObject 113339 117445 +3.6% 0.97x (?)
ObjectiveCBridgeFromNSSetAnyObject 50111 52018 +3.8% 0.96x (?)
ObjectiveCBridgeFromNSSetAnyObjectToString 71147 70236 -1.3% 1.01x (?)
ObjectiveCBridgeFromNSString 1264 1207 -4.5% 1.05x (?)
ObjectiveCBridgeFromNSStringForced 2687 2740 +2.0% 0.98x (?)
ObjectiveCBridgeStubDataAppend 6364 6374 +0.2% 1.00x (?)
ObjectiveCBridgeStubDateMutation 400 400 +0.0% 1.00x
ObjectiveCBridgeStubFromArrayOfNSString 35363 34510 -2.4% 1.02x (?)
ObjectiveCBridgeStubFromNSDate 6488 6482 -0.1% 1.00x (?)
ObjectiveCBridgeStubFromNSString 1057 1047 -0.9% 1.01x (?)
ObjectiveCBridgeStubFromNSStringRef 167 170 +1.8% 0.98x
ObjectiveCBridgeStubNSDataAppend 2569 2595 +1.0% 0.99x (?)
ObjectiveCBridgeStubNSDateMutationRef 13526 13130 -2.9% 1.03x (?)
ObjectiveCBridgeStubToArrayOfNSString 39318 39793 +1.2% 0.99x (?)
ObjectiveCBridgeStubToNSDate 15299 15066 -1.5% 1.02x (?)
ObjectiveCBridgeStubToNSDateRef 3446 3484 +1.1% 0.99x
ObjectiveCBridgeStubToNSString 2352 2348 -0.2% 1.00x (?)
ObjectiveCBridgeStubToNSStringRef 121 127 +5.0% 0.95x
ObjectiveCBridgeStubURLAppendPath 287557 283863 -1.3% 1.01x (?)
ObjectiveCBridgeStubURLAppendPathRef 273146 282636 +3.5% 0.97x (?)
ObjectiveCBridgeToNSArray 15822 16010 +1.2% 0.99x (?)
ObjectiveCBridgeToNSDictionary 27594 27800 +0.7% 0.99x (?)
ObjectiveCBridgeToNSSet 17682 18212 +3.0% 0.97x (?)
ObjectiveCBridgeToNSString 455 451 -0.9% 1.01x
ObserverClosure 2142 2169 +1.3% 0.99x
ObserverForwarderStruct 1197 1194 -0.3% 1.00x (?)
ObserverPartiallyAppliedMethod 3727 3751 +0.6% 0.99x
ObserverUnappliedMethod 2450 2466 +0.7% 0.99x (?)
OpaqueConsumingUsers 4178 4181 +0.1% 1.00x (?)
OpenClose 68 65 -4.4% 1.05x
PartialApplyDynamicType 0 0 +0.0% 1.00x
Phonebook 7487 7414 -1.0% 1.01x
PointerArithmetics 31514 31506 -0.0% 1.00x (?)
PolymorphicCalls 25 25 +0.0% 1.00x
PopFrontArray 1814 1816 +0.1% 1.00x (?)
PopFrontArrayGeneric 1841 1849 +0.4% 1.00x (?)
PopFrontUnsafePointer 8932 8796 -1.5% 1.02x (?)
PrefixAnyCollection 76 76 +0.0% 1.00x
PrefixAnySeqCRangeIter 40 40 +0.0% 1.00x
PrefixAnySeqCRangeIterLazy 40 40 +0.0% 1.00x
PrefixAnySeqCntRange 71 71 +0.0% 1.00x
PrefixAnySeqCntRangeLazy 71 71 +0.0% 1.00x
PrefixAnySequence 1378 1379 +0.1% 1.00x (?)
PrefixAnySequenceLazy 1378 1378 +0.0% 1.00x
PrefixArray 35 35 +0.0% 1.00x
PrefixArrayLazy 35 35 +0.0% 1.00x
PrefixCountableRange 35 35 +0.0% 1.00x
PrefixCountableRangeLazy 35 35 +0.0% 1.00x
PrefixSequence 2213 2214 +0.0% 1.00x (?)
PrefixSequenceLazy 2276 2276 +0.0% 1.00x
PrefixWhileAnyCollection 146 146 +0.0% 1.00x
PrefixWhileAnyCollectionLazy 71 71 +0.0% 1.00x
PrefixWhileAnySeqCRangeIter 389 387 -0.5% 1.01x
PrefixWhileAnySeqCRangeIterLazy 89 89 +0.0% 1.00x
PrefixWhileAnySeqCntRange 142 142 +0.0% 1.00x
PrefixWhileAnySeqCntRangeLazy 71 71 +0.0% 1.00x
PrefixWhileAnySequence 1541 1541 +0.0% 1.00x
PrefixWhileAnySequenceLazy 1391 1392 +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 365 363 -0.5% 1.01x (?)
PrefixWhileSequenceLazy 52 52 +0.0% 1.00x
Prims 923 940 +1.8% 0.98x
PrimsSplit 930 946 +1.7% 0.98x (?)
QueueConcrete 1149 1150 +0.1% 1.00x (?)
QueueGeneric 1136 1136 +0.0% 1.00x
RGBHistogram 2604 2597 -0.3% 1.00x (?)
RGBHistogramOfObjects 20255 20378 +0.6% 0.99x (?)
Radix2CooleyTukey 12441 12428 -0.1% 1.00x (?)
Radix2CooleyTukeyf 9011 8949 -0.7% 1.01x (?)
RandomDoubleDef 26789 27055 +1.0% 0.99x (?)
RandomDoubleLCG 2319 2319 +0.0% 1.00x
RandomIntegersDef 24738 24483 -1.0% 1.01x (?)
RandomIntegersLCG 173 173 +0.0% 1.00x
RandomShuffleDef 815256 812488 -0.3% 1.00x
RandomShuffleLCG 57628 58176 +1.0% 0.99x
RangeAssignment 339 338 -0.3% 1.00x
RangeReplaceableCollectionPlusDefault 1067 1070 +0.3% 1.00x (?)
RecursiveOwnedParameter 115 115 +0.0% 1.00x
RemoveWhereFilterInts 47 47 +0.0% 1.00x
RemoveWhereFilterString 246 243 -1.2% 1.01x (?)
RemoveWhereFilterStrings 438 438 +0.0% 1.00x
RemoveWhereMoveInts 14 14 +0.0% 1.00x
RemoveWhereMoveStrings 708 710 +0.3% 1.00x
RemoveWhereQuadraticInts 1295 1296 +0.1% 1.00x (?)
RemoveWhereQuadraticString 377 372 -1.3% 1.01x (?)
RemoveWhereQuadraticStrings 2761 2756 -0.2% 1.00x (?)
RemoveWhereSwapInts 19 19 +0.0% 1.00x
RemoveWhereSwapStrings 859 861 +0.2% 1.00x
ReversedArray 57 57 +0.0% 1.00x
ReversedBidirectional 16681 16687 +0.0% 1.00x (?)
ReversedDictionary 262 270 +3.1% 0.97x
RomanNumbers 82149 82263 +0.1% 1.00x (?)
SequenceAlgosAnySequence 12267 12265 -0.0% 1.00x (?)
SequenceAlgosArray 1578 1579 +0.1% 1.00x (?)
SequenceAlgosContiguousArray 1578 1576 -0.1% 1.00x (?)
SequenceAlgosList 1347 1350 +0.2% 1.00x
SequenceAlgosRange 2577 2577 +0.0% 1.00x
SequenceAlgosUnfoldSequence 1102 1102 +0.0% 1.00x
SetExclusiveOr 5145 5192 +0.9% 0.99x
SetExclusiveOr_OfObjects 11544 11567 +0.2% 1.00x (?)
SetIntersect 694 697 +0.4% 1.00x (?)
SetIsSubsetOf 329 329 +0.0% 1.00x
SetIsSubsetOf_OfObjects 441 439 -0.5% 1.00x (?)
SetUnion 4452 4515 +1.4% 0.99x (?)
SetUnion_OfObjects 9956 9947 -0.1% 1.00x (?)
SevenBoom 853 841 -1.4% 1.01x (?)
Sim2DArray 418 417 -0.2% 1.00x
SortLargeExistentials 5624 5628 +0.1% 1.00x (?)
SortLettersInPlace 964 959 -0.5% 1.01x (?)
SortSortedStrings 716 732 +2.2% 0.98x
SortStrings 1529 1535 +0.4% 1.00x
SortStringsUnicode 2130 2121 -0.4% 1.00x
StackPromo 25088 25098 +0.0% 1.00x (?)
StrComplexWalk 1775 1777 +0.1% 1.00x (?)
StrToInt 3348 3341 -0.2% 1.00x
StringBuilder 497 498 +0.2% 1.00x
StringBuilderLong 1253 1308 +4.4% 0.96x (?)
StringBuilderSmallReservingCapacity 508 508 +0.0% 1.00x
StringComparison_abnormal 778 758 -2.6% 1.03x
StringComparison_ascii 1031 1062 +3.0% 0.97x
StringComparison_emoji 869 854 -1.7% 1.02x
StringComparison_fastPrenormal 875 872 -0.3% 1.00x
StringComparison_longSharedPrefix 960 963 +0.3% 1.00x
StringComparison_nonBMPSlowestPrenormal 1702 1701 -0.1% 1.00x (?)
StringComparison_slowerPrenormal 1838 1808 -1.6% 1.02x
StringComparison_zalgo 111650 111562 -0.1% 1.00x (?)
StringEdits 177741 173846 -2.2% 1.02x (?)
StringEnumRawValueInitialization 858 863 +0.6% 0.99x
StringEqualPointerComparison 286 286 +0.0% 1.00x
StringFromLongWholeSubstring 21 21 +0.0% 1.00x
StringHasPrefixAscii 2261 2234 -1.2% 1.01x
StringHasPrefixUnicode 99574 99437 -0.1% 1.00x (?)
StringHasSuffixAscii 2290 2261 -1.3% 1.01x
StringHasSuffixUnicode 100347 100233 -0.1% 1.00x (?)
StringHashing_abnormal 1342 1372 +2.2% 0.98x (?)
StringHashing_ascii 34 34 +0.0% 1.00x
StringHashing_emoji 1905 1945 +2.1% 0.98x (?)
StringHashing_fastPrenormal 8371 8480 +1.3% 0.99x
StringHashing_latin1 2571 2588 +0.7% 0.99x (?)
StringHashing_longSharedPrefix 7976 8070 +1.2% 0.99x
StringHashing_nonBMPSlowestPrenormal 2062 2143 +3.9% 0.96x (?)
StringHashing_slowerPrenormal 2761 2765 +0.1% 1.00x
StringHashing_zalgo 3503 3526 +0.7% 0.99x (?)
StringInterpolation 9084 9236 +1.7% 0.98x (?)
StringInterpolationManySmallSegments 18763 18581 -1.0% 1.01x (?)
StringInterpolationSmall 4361 4270 -2.1% 1.02x (?)
StringMatch 12348 12223 -1.0% 1.01x (?)
StringRemoveDupes 483 480 -0.6% 1.01x
StringUTF16Builder 2728 2683 -1.6% 1.02x (?)
StringUTF16SubstringBuilder 6216 5946 -4.3% 1.05x (?)
StringWalk 1563 1567 +0.3% 1.00x
StringWithCString 123235 124978 +1.4% 0.99x
StringWordBuilder 2350 2265 -3.6% 1.04x
StringWordBuilderReservingCapacity 1961 1938 -1.2% 1.01x
SubstringComparable 13 13 +0.0% 1.00x
SubstringEqualString 622 614 -1.3% 1.01x
SubstringEquatable 1457 1434 -1.6% 1.02x
SubstringFromLongString 10 10 +0.0% 1.00x
SuffixAnyCollection 52 52 +0.0% 1.00x
SuffixAnyCollectionLazy 22390 21653 -3.3% 1.03x
SuffixAnySeqCRangeIter 3598 3600 +0.1% 1.00x (?)
SuffixAnySeqCRangeIterLazy 3603 3601 -0.1% 1.00x (?)
SuffixAnySeqCntRange 24 24 +0.0% 1.00x
SuffixAnySeqCntRangeLazy 24 24 +0.0% 1.00x
SuffixAnySequence 4915 4941 +0.5% 0.99x
SuffixAnySequenceLazy 5033 5075 +0.8% 0.99x
SuffixCountableRange 13 13 +0.0% 1.00x
SuffixCountableRangeLazy 18 18 +0.0% 1.00x
SuffixSequence 3634 3646 +0.3% 1.00x (?)
SuffixSequenceLazy 3635 3673 +1.0% 0.99x (?)
SumUsingReduce 97 102 +5.2% 0.95x
SuperChars 20034 20127 +0.5% 1.00x (?)
TwoSum 1491 1464 -1.8% 1.02x (?)
TypeFlood 0 0 +0.0% 1.00x
UTF8Decode 299 312 +4.3% 0.96x
UTF8Decode_InitDecoding 1355 1367 +0.9% 0.99x
UTF8Decode_InitDecoding_ascii 667 657 -1.5% 1.02x (?)
UTF8Decode_InitFromBytes 1189 1186 -0.3% 1.00x (?)
UTF8Decode_InitFromBytes_ascii 559 542 -3.0% 1.03x (?)
Walsh 423 445 +5.2% 0.95x
WordCountHistogramASCII 7025 7002 -0.3% 1.00x (?)
WordCountHistogramUTF16 10285 10333 +0.5% 1.00x
WordCountUniqueASCII 2104 2078 -1.2% 1.01x
WordCountUniqueUTF16 4594 4637 +0.9% 0.99x (?)
WordSplitASCII 9823 10103 +2.9% 0.97x (?)
WordSplitUTF16 11378 10864 -4.5% 1.05x
XorLoop 403 403 +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

@airspeedswift airspeedswift merged commit df22c36 into swiftlang:master Jul 25, 2018
@airspeedswift airspeedswift deleted the stdlib-5.0 branch August 18, 2018 17:06
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.

6 participants