Skip to content

[stdlib] Move _copyBuffer to be an init on _ArrayBufferProtocol #14222

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 4 commits into from
Feb 2, 2018

Conversation

airspeedswift
Copy link
Member

@airspeedswift airspeedswift commented Jan 28, 2018

Minor style cleanup. Resolve ABI FIXME #12 / rdar://problem/31411210 [SR-3456]: Convert static Array._copyBuffer method to be an init on _Buffer

@airspeedswift
Copy link
Member Author

@swift-ci please test

@airspeedswift airspeedswift requested a review from lancep January 28, 2018 17:47
@airspeedswift
Copy link
Member Author

@swift-ci please smoke test compiler performance

@swift-ci
Copy link
Contributor

Build failed
Swift Test Linux Platform
Git Sha - 272d83c19c1734a12a390200cd3229a3457ef948

@swift-ci
Copy link
Contributor

Build failed
Swift Test OS X Platform
Git Sha - 272d83c19c1734a12a390200cd3229a3457ef948

@swift-ci
Copy link
Contributor

Build comment file:

Summary for master smoketest

Unexpected test results, stats may be off for 3

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 44,988,132 44,988,132 0 0.0%
time.swift-driver.wall 60.6s 60.7s 59.4ms 0.1%

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 71,346 71,346 0 0.0%
AST.NumLoadedModules 10,859 10,859 0 0.0%
AST.NumTotalClangImportedEntities 197,853 197,853 0 0.0%
AST.NumUsedConformances 4,291 4,291 0 0.0%
IRModule.NumIRBasicBlocks 111,294 111,294 0 0.0%
IRModule.NumIRFunctions 60,106 60,106 0 0.0%
IRModule.NumIRGlobals 85,811 85,811 0 0.0%
IRModule.NumIRInsts 1,284,197 1,284,197 0 0.0%
IRModule.NumIRValueSymbols 121,214 121,214 0 0.0%
LLVM.NumLLVMBytesOutput 44,988,132 44,988,132 0 0.0%
SILModule.NumSILGenFunctions 76,933 76,933 0 0.0%
SILModule.NumSILOptFunctions 52,929 52,924 -5 -0.01%
Sema.NumConformancesDeserialized 177,104 177,289 185 0.1%
Sema.NumConstraintScopes 509,373 509,373 0 0.0%
Sema.NumDeclsDeserialized 1,392,983 1,393,083 100 0.01%
Sema.NumDeclsValidated 44,284 44,284 0 0.0%
Sema.NumFunctionsTypechecked 41,790 41,790 0 0.0%
Sema.NumGenericSignatureBuilders 63,990 63,996 6 0.01%
Sema.NumLazyGenericEnvironments 256,446 256,544 98 0.04%
Sema.NumLazyGenericEnvironmentsLoaded 29,179 29,179 0 0.0%
Sema.NumLazyIterableDeclContexts 244,419 244,419 0 0.0%
Sema.NumTypesDeserialized 1,450,902 1,451,227 325 0.02%
Sema.NumTypesValidated 188,326 188,326 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 41,116,872 41,118,440 1,568 0.0%
time.swift-driver.wall 98.3s 98.8s 458.1ms 0.47%

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 10,391 10,391 0 0.0%
AST.NumLoadedModules 365 365 0 0.0%
AST.NumTotalClangImportedEntities 29,942 29,942 0 0.0%
AST.NumUsedConformances 4,347 4,347 0 0.0%
IRModule.NumIRBasicBlocks 91,111 91,177 66 0.07%
IRModule.NumIRFunctions 38,732 38,732 0 0.0%
IRModule.NumIRGlobals 49,551 49,575 24 0.05%
IRModule.NumIRInsts 866,337 866,456 119 0.01%
IRModule.NumIRValueSymbols 79,067 79,091 24 0.03%
LLVM.NumLLVMBytesOutput 41,116,872 41,118,440 1,568 0.0%
SILModule.NumSILGenFunctions 21,831 21,831 0 0.0%
SILModule.NumSILOptFunctions 28,129 28,112 -17 -0.06%
Sema.NumConformancesDeserialized 90,419 90,543 124 0.14%
Sema.NumConstraintScopes 481,562 481,562 0 0.0%
Sema.NumDeclsDeserialized 202,440 202,500 60 0.03%
Sema.NumDeclsValidated 28,033 28,033 0 0.0%
Sema.NumFunctionsTypechecked 11,257 11,257 0 0.0%
Sema.NumGenericSignatureBuilders 7,702 7,720 18 0.23%
Sema.NumLazyGenericEnvironments 33,617 33,643 26 0.08%
Sema.NumLazyGenericEnvironmentsLoaded 4,029 4,029 0 0.0%
Sema.NumLazyIterableDeclContexts 21,286 21,286 0 0.0%
Sema.NumTypesDeserialized 235,920 236,062 142 0.06%
Sema.NumTypesValidated 56,791 56,791 0 0.0%

@airspeedswift
Copy link
Member Author

@swift-ci please smoke benchmark

@airspeedswift
Copy link
Member Author

@swift-ci please test

@airspeedswift
Copy link
Member Author

@eeckstein made those changes per your suggestion

@swiftlang swiftlang deleted a comment from swift-ci Feb 2, 2018
@swiftlang swiftlang deleted a comment from swift-ci Feb 2, 2018
@swift-ci
Copy link
Contributor

swift-ci commented Feb 2, 2018

Build comment file:

Summary for master smoketest

Unexpected test results, stats may be off for 3

Regressions found (see below)

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 44,606,290 44,588,425 -17,865 -0.04%
time.swift-driver.wall 60.3s 60.2s -190.1ms -0.31%

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 71,338 70,948 -390 -0.55%
AST.NumLoadedModules 10,859 10,825 -34 -0.31%
AST.NumTotalClangImportedEntities 197,966 197,027 -939 -0.47%
AST.NumUsedConformances 4,191 4,201 10 0.24%
IRModule.NumIRBasicBlocks 109,070 109,256 186 0.17%
IRModule.NumIRFunctions 60,038 60,060 22 0.04%
IRModule.NumIRGlobals 84,695 84,613 -82 -0.1%
IRModule.NumIRInsts 1,277,479 1,278,585 1,106 0.09%
IRModule.NumIRValueSymbols 119,598 119,555 -43 -0.04%
LLVM.NumLLVMBytesOutput 44,606,290 44,588,425 -17,865 -0.04%
SILModule.NumSILGenFunctions 76,905 76,643 -262 -0.34%
SILModule.NumSILOptFunctions 52,845 52,895 50 0.09%
Sema.NumConformancesDeserialized 181,150 181,981 831 0.46%
Sema.NumConstraintScopes 480,772 481,492 720 0.15%
Sema.NumDeclsDeserialized 1,383,159 1,383,871 712 0.05%
Sema.NumDeclsValidated 44,284 44,295 11 0.02%
Sema.NumFunctionsTypechecked 41,790 41,564 -226 -0.54%
Sema.NumGenericSignatureBuilders 63,970 63,774 -196 -0.31%
Sema.NumLazyGenericEnvironments 253,493 253,809 316 0.12%
Sema.NumLazyGenericEnvironmentsLoaded 29,203 29,182 -21 -0.07%
Sema.NumLazyIterableDeclContexts 241,530 241,032 -498 -0.21%
Sema.NumTypesDeserialized 1,436,667 1,438,059 1,392 0.1%
Sema.NumTypesValidated 188,366 188,029 -337 -0.18%

Release

release brief

Regressed (1)
name old new delta delta_pct
time.swift-driver.wall 100.3s 101.4s 1.1s 1.06% ⛔
Improved (0)
name old new delta delta_pct
Unchanged (delta < 1.0% or delta < 100.0ms) (1)
name old new delta delta_pct
LLVM.NumLLVMBytesOutput 40,803,696 40,826,732 23,036 0.06%

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 10,387 10,387 0 0.0%
AST.NumLoadedModules 365 365 0 0.0%
AST.NumTotalClangImportedEntities 29,955 29,955 0 0.0%
AST.NumUsedConformances 4,243 4,243 0 0.0%
IRModule.NumIRBasicBlocks 89,449 89,471 22 0.02%
IRModule.NumIRFunctions 38,702 38,708 6 0.02%
IRModule.NumIRGlobals 48,539 48,551 12 0.02%
IRModule.NumIRInsts 861,728 862,004 276 0.03%
IRModule.NumIRValueSymbols 77,673 77,691 18 0.02%
LLVM.NumLLVMBytesOutput 40,803,696 40,826,732 23,036 0.06%
SILModule.NumSILGenFunctions 21,816 21,816 0 0.0%
SILModule.NumSILOptFunctions 28,144 28,213 69 0.25%
Sema.NumConformancesDeserialized 94,031 94,617 586 0.62%
Sema.NumConstraintScopes 452,845 452,845 0 0.0%
Sema.NumDeclsDeserialized 200,606 200,660 54 0.03%
Sema.NumDeclsValidated 28,033 28,033 0 0.0%
Sema.NumFunctionsTypechecked 11,257 11,257 0 0.0%
Sema.NumGenericSignatureBuilders 7,702 7,718 16 0.21%
Sema.NumLazyGenericEnvironments 33,001 33,027 26 0.08%
Sema.NumLazyGenericEnvironmentsLoaded 4,006 4,006 0 0.0%
Sema.NumLazyIterableDeclContexts 20,717 20,717 0 0.0%
Sema.NumTypesDeserialized 232,591 233,043 452 0.19%
Sema.NumTypesValidated 56,831 56,831 0 0.0%

@swift-ci
Copy link
Contributor

swift-ci commented Feb 2, 2018

Build comment file:

Optimized (O)

Regression (17)
TEST OLD NEW DELTA SPEEDUP
Sim2DArray 411 600 +46.0% 0.69x
RangeIterationSigned 171 200 +17.0% 0.86x
Hanoi 3317 3783 +14.0% 0.88x
WordCountUniqueUTF16 21359 23597 +10.5% 0.91x (?)
SuffixAnyCollectionLazy 21688 23799 +9.7% 0.91x
StringWordBuilder 1694 1857 +9.6% 0.91x
StringWordBuilderReservingCapacity 1269 1389 +9.5% 0.91x
SuffixCountableRange 11 12 +9.1% 0.92x
MapReduceLazyCollectionShort 34 37 +8.8% 0.92x
DropLastSequenceLazy 635 688 +8.3% 0.92x
DropLastSequence 636 687 +8.0% 0.93x
ObjectiveCBridgeFromNSArrayAnyObject 19658 21120 +7.4% 0.93x
MapReduceAnyCollection 372 399 +7.3% 0.93x
SortSortedStrings 1104 1184 +7.2% 0.93x
OpenClose 249 266 +6.8% 0.94x
SortStrings 1967 2084 +5.9% 0.94x
StringHasPrefixAscii 1519 1604 +5.6% 0.95x
Improvement (7)
TEST OLD NEW DELTA SPEEDUP
LazilyFilteredRange 4339 3828 -11.8% 1.13x
DropLastCountableRange 12 11 -8.3% 1.09x
StringEdits 129946 120061 -7.6% 1.08x
ObjectiveCBridgeStubDataAppend 4103 3884 -5.3% 1.06x (?)
ObjectiveCBridgeToNSDictionary 57882 54833 -5.3% 1.06x
SumUsingReduce 102 97 -4.9% 1.05x
SumUsingReduceInto 102 97 -4.9% 1.05x
No Changes (334)
TEST OLD NEW DELTA SPEEDUP
AngryPhonebook 3792 3619 -4.6% 1.05x
AnyHashableWithAClass 70297 69066 -1.8% 1.02x (?)
Array2D 2555 2553 -0.1% 1.00x (?)
ArrayAppend 1065 1062 -0.3% 1.00x
ArrayAppendArrayOfInt 796 796 +0.0% 1.00x
ArrayAppendAscii 13540 13785 +1.8% 0.98x
ArrayAppendFromGeneric 799 799 +0.0% 1.00x
ArrayAppendGenericStructs 1403 1427 +1.7% 0.98x (?)
ArrayAppendLatin1 38451 38604 +0.4% 1.00x
ArrayAppendLazyMap 1342 1344 +0.1% 1.00x (?)
ArrayAppendOptionals 1429 1430 +0.1% 1.00x (?)
ArrayAppendRepeatCol 1335 1341 +0.4% 1.00x
ArrayAppendReserved 797 797 +0.0% 1.00x
ArrayAppendSequence 1133 1132 -0.1% 1.00x (?)
ArrayAppendStrings 15173 15209 +0.2% 1.00x
ArrayAppendToFromGeneric 797 797 +0.0% 1.00x
ArrayAppendToGeneric 795 796 +0.1% 1.00x (?)
ArrayAppendUTF16 38042 37433 -1.6% 1.02x
ArrayInClass 86 86 +0.0% 1.00x
ArrayLiteral 0 0 +0.0% 1.00x
ArrayOfGenericPOD2 150 150 +0.0% 1.00x
ArrayOfGenericRef 4368 4378 +0.2% 1.00x (?)
ArrayOfPOD 180 183 +1.7% 0.98x
ArrayOfRef 4359 4372 +0.3% 1.00x (?)
ArrayPlusEqualArrayOfInt 796 798 +0.3% 1.00x (?)
ArrayPlusEqualFiveElementCollection 5541 5659 +2.1% 0.98x
ArrayPlusEqualSingleElementCollection 1057 1065 +0.8% 0.99x (?)
ArrayPlusEqualThreeElements 1652 1673 +1.3% 0.99x
ArraySubscript 1524 1510 -0.9% 1.01x (?)
ArrayValueProp 8 8 +0.0% 1.00x
ArrayValueProp2 8 8 +0.0% 1.00x
ArrayValueProp3 8 8 +0.0% 1.00x
ArrayValueProp4 8 8 +0.0% 1.00x
BinaryFloatingPointConversionFromBinaryInteger 45 45 +0.0% 1.00x
BitCount 202 202 +0.0% 1.00x
ByteSwap 101 100 -1.0% 1.01x (?)
COWTree 3654 3588 -1.8% 1.02x (?)
CSVParsing 768523 769795 +0.2% 1.00x (?)
CSVParsingAlt 722345 722926 +0.1% 1.00x (?)
CSVParsingAltIndices 357334 358420 +0.3% 1.00x
CStringLongAscii 4792 4777 -0.3% 1.00x (?)
CStringLongNonAscii 2079 2076 -0.1% 1.00x (?)
CStringShortAscii 4728 4738 +0.2% 1.00x (?)
Calculator 442 443 +0.2% 1.00x
CaptureProp 8846 9167 +3.6% 0.96x
CharIndexing_ascii_unicodeScalars 15349 15356 +0.0% 1.00x (?)
CharIndexing_ascii_unicodeScalars_Backwards 14982 14986 +0.0% 1.00x (?)
CharIndexing_chinese_unicodeScalars 11625 11629 +0.0% 1.00x (?)
CharIndexing_chinese_unicodeScalars_Backwards 11352 11352 +0.0% 1.00x
CharIndexing_japanese_unicodeScalars 18376 18386 +0.1% 1.00x (?)
CharIndexing_japanese_unicodeScalars_Backwards 17940 17942 +0.0% 1.00x (?)
CharIndexing_korean_unicodeScalars 14894 14893 -0.0% 1.00x (?)
CharIndexing_korean_unicodeScalars_Backwards 14523 14540 +0.1% 1.00x
CharIndexing_punctuatedJapanese_unicodeScalars 2793 2790 -0.1% 1.00x
CharIndexing_punctuatedJapanese_unicodeScalars_Backwards 2727 2732 +0.2% 1.00x (?)
CharIndexing_punctuated_unicodeScalars 3490 3488 -0.1% 1.00x (?)
CharIndexing_punctuated_unicodeScalars_Backwards 3408 3416 +0.2% 1.00x
CharIndexing_russian_unicodeScalars 12789 12800 +0.1% 1.00x (?)
CharIndexing_russian_unicodeScalars_Backwards 12482 12499 +0.1% 1.00x
CharIndexing_tweet_unicodeScalars 30250 30292 +0.1% 1.00x (?)
CharIndexing_tweet_unicodeScalars_Backwards 29485 29508 +0.1% 1.00x (?)
CharIndexing_utf16_unicodeScalars 20673 20736 +0.3% 1.00x
CharIndexing_utf16_unicodeScalars_Backwards 21524 21496 -0.1% 1.00x
CharIteration_ascii_unicodeScalars 21021 21222 +1.0% 0.99x
CharIteration_ascii_unicodeScalars_Backwards 13508 13554 +0.3% 1.00x (?)
CharIteration_chinese_unicodeScalars 15898 16037 +0.9% 0.99x (?)
CharIteration_chinese_unicodeScalars_Backwards 10266 10259 -0.1% 1.00x (?)
CharIteration_japanese_unicodeScalars 25170 25411 +1.0% 0.99x
CharIteration_japanese_unicodeScalars_Backwards 16173 16181 +0.0% 1.00x (?)
CharIteration_korean_unicodeScalars 20404 20566 +0.8% 0.99x
CharIteration_korean_unicodeScalars_Backwards 13119 13126 +0.1% 1.00x
CharIteration_punctuatedJapanese_unicodeScalars 3771 3787 +0.4% 1.00x
CharIteration_punctuatedJapanese_unicodeScalars_Backwards 2499 2500 +0.0% 1.00x (?)
CharIteration_punctuated_unicodeScalars 4716 4766 +1.1% 0.99x
CharIteration_punctuated_unicodeScalars_Backwards 3110 3105 -0.2% 1.00x
CharIteration_russian_unicodeScalars 17499 17626 +0.7% 0.99x
CharIteration_russian_unicodeScalars_Backwards 11301 11277 -0.2% 1.00x (?)
CharIteration_tweet_unicodeScalars 41734 41832 +0.2% 1.00x
CharIteration_tweet_unicodeScalars_Backwards 26617 26629 +0.0% 1.00x (?)
CharIteration_utf16_unicodeScalars 27458 27587 +0.5% 1.00x
CharIteration_utf16_unicodeScalars_Backwards 17049 17099 +0.3% 1.00x
CharacterLiteralsLarge 6102 6025 -1.3% 1.01x (?)
CharacterLiteralsSmall 410 411 +0.2% 1.00x
CharacterPropertiesFetch 4647 4598 -1.1% 1.01x (?)
CharacterPropertiesPrecomputed 966 970 +0.4% 1.00x (?)
CharacterPropertiesStashed 1560 1558 -0.1% 1.00x (?)
CharacterPropertiesStashedMemo 1544 1548 +0.3% 1.00x (?)
Chars 970 970 +0.0% 1.00x
ClassArrayGetter 15 15 +0.0% 1.00x
Combos 453 453 +0.0% 1.00x
DictOfArraysToArrayOfDicts 790 791 +0.1% 1.00x (?)
Dictionary 502 510 +1.6% 0.98x
Dictionary2 1614 1610 -0.2% 1.00x (?)
Dictionary2OfObjects 2972 2966 -0.2% 1.00x (?)
Dictionary3 240 237 -1.2% 1.01x (?)
Dictionary3OfObjects 673 673 +0.0% 1.00x
DictionaryBridge 1997 1972 -1.3% 1.01x (?)
DictionaryGroup 132 132 +0.0% 1.00x
DictionaryGroupOfObjects 1911 1915 +0.2% 1.00x (?)
DictionaryLiteral 1625 1630 +0.3% 1.00x (?)
DictionaryOfObjects 2173 2171 -0.1% 1.00x (?)
DictionaryRemove 2711 2784 +2.7% 0.97x (?)
DictionaryRemoveOfObjects 23647 23725 +0.3% 1.00x
DictionarySubscriptDefaultMutation 155 155 +0.0% 1.00x
DictionarySubscriptDefaultMutationArray 496 498 +0.4% 1.00x (?)
DictionarySubscriptDefaultMutationArrayOfObjects 3801 3807 +0.2% 1.00x (?)
DictionarySubscriptDefaultMutationOfObjects 1388 1392 +0.3% 1.00x (?)
DictionarySwap 491 491 +0.0% 1.00x
DictionarySwapOfObjects 7530 7392 -1.8% 1.02x (?)
DoubleWidthDivision 241 240 -0.4% 1.00x (?)
DropFirstAnyCollection 76 76 +0.0% 1.00x
DropFirstAnyCollectionLazy 65071 67587 +3.9% 0.96x
DropFirstAnySeqCRangeIter 18122 18085 -0.2% 1.00x (?)
DropFirstAnySeqCRangeIterLazy 18123 18080 -0.2% 1.00x
DropFirstAnySeqCntRange 71 71 +0.0% 1.00x
DropFirstAnySeqCntRangeLazy 71 71 +0.0% 1.00x
DropFirstAnySequence 4411 4324 -2.0% 1.02x
DropFirstAnySequenceLazy 4428 4324 -2.3% 1.02x
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 2698 2699 +0.0% 1.00x (?)
DropFirstSequenceLazy 2796 2795 -0.0% 1.00x (?)
DropLastAnyCollection 28 28 +0.0% 1.00x
DropLastAnyCollectionLazy 22478 23185 +3.1% 0.97x (?)
DropLastAnySeqCRangeIter 3519 3533 +0.4% 1.00x
DropLastAnySeqCRangeIterLazy 3525 3536 +0.3% 1.00x
DropLastAnySeqCntRange 23 23 +0.0% 1.00x
DropLastAnySeqCntRangeLazy 23 23 +0.0% 1.00x
DropLastAnySequence 5129 5117 -0.2% 1.00x (?)
DropLastAnySequenceLazy 5236 5231 -0.1% 1.00x (?)
DropLastCountableRangeLazy 11 11 +0.0% 1.00x
DropWhileAnyCollection 100 101 +1.0% 0.99x
DropWhileAnyCollectionLazy 147 148 +0.7% 0.99x
DropWhileAnySeqCRangeIter 14909 14695 -1.4% 1.01x
DropWhileAnySeqCRangeIterLazy 147 147 +0.0% 1.00x
DropWhileAnySeqCntRange 95 95 +0.0% 1.00x
DropWhileAnySeqCntRangeLazy 147 147 +0.0% 1.00x
DropWhileAnySequence 4814 4708 -2.2% 1.02x
DropWhileAnySequenceLazy 1856 1856 +0.0% 1.00x
DropWhileArrayLazy 129 129 +0.0% 1.00x
DropWhileCountableRange 36 36 +0.0% 1.00x
DropWhileCountableRangeLazy 111 111 +0.0% 1.00x
DropWhileSequence 1341 1341 +0.0% 1.00x
DropWhileSequenceLazy 88 88 +0.0% 1.00x
EqualStringSubstring 432 433 +0.2% 1.00x
EqualSubstringString 442 433 -2.0% 1.02x
EqualSubstringSubstring 432 433 +0.2% 1.00x (?)
EqualSubstringSubstringGenericEquatable 432 433 +0.2% 1.00x
ErrorHandling 2322 2327 +0.2% 1.00x (?)
ExclusivityGlobal 5 5 +0.0% 1.00x
ExclusivityIndependent 2 2 +0.0% 1.00x
FilterEvenUsingReduce 1306 1308 +0.2% 1.00x (?)
FilterEvenUsingReduceInto 148 148 +0.0% 1.00x
FrequenciesUsingReduce 6835 6767 -1.0% 1.01x (?)
FrequenciesUsingReduceInto 3187 3190 +0.1% 1.00x (?)
HashTest 1776 1790 +0.8% 0.99x (?)
Histogram 332 332 +0.0% 1.00x
Integrate 217 218 +0.5% 1.00x
IterateData 1383 1383 +0.0% 1.00x
Join 367 373 +1.6% 0.98x
LazilyFilteredArrayContains 36295 37872 +4.3% 0.96x
LazilyFilteredArrays 65053 66909 +2.9% 0.97x (?)
LessSubstringSubstring 432 433 +0.2% 1.00x
LessSubstringSubstringGenericComparable 432 434 +0.5% 1.00x
LinkedList 7555 7561 +0.1% 1.00x
LuhnAlgoEager 591 588 -0.5% 1.01x (?)
LuhnAlgoLazy 591 591 +0.0% 1.00x
MapReduce 398 400 +0.5% 1.00x (?)
MapReduceAnyCollectionShort 2066 2032 -1.6% 1.02x
MapReduceClass 3042 3023 -0.6% 1.01x
MapReduceClassShort 4665 4642 -0.5% 1.00x (?)
MapReduceLazyCollection 13 13 +0.0% 1.00x
MapReduceLazySequence 86 86 +0.0% 1.00x
MapReduceSequence 465 461 -0.9% 1.01x
MapReduceShort 2047 2023 -1.2% 1.01x
MapReduceShortString 21 21 +0.0% 1.00x
MapReduceString 81 81 +0.0% 1.00x
Memset 216 222 +2.8% 0.97x (?)
MonteCarloE 10361 10403 +0.4% 1.00x
MonteCarloPi 42698 42747 +0.1% 1.00x
NSDictionaryCastToSwift 5302 5296 -0.1% 1.00x (?)
NSError 307 306 -0.3% 1.00x (?)
NSStringConversion 322 325 +0.9% 0.99x
NibbleSort 4172 4121 -1.2% 1.01x
NopDeinit 23645 23534 -0.5% 1.00x
ObjectAllocation 182 183 +0.5% 0.99x (?)
ObjectiveCBridgeFromNSArrayAnyObjectForced 4013 4064 +1.3% 0.99x (?)
ObjectiveCBridgeFromNSArrayAnyObjectToString 42155 41788 -0.9% 1.01x (?)
ObjectiveCBridgeFromNSArrayAnyObjectToStringForced 34856 33845 -2.9% 1.03x (?)
ObjectiveCBridgeFromNSDictionaryAnyObject 125900 120698 -4.1% 1.04x
ObjectiveCBridgeFromNSSetAnyObject 61672 59340 -3.8% 1.04x (?)
ObjectiveCBridgeFromNSSetAnyObjectForced 4259 4403 +3.4% 0.97x (?)
ObjectiveCBridgeFromNSSetAnyObjectToString 68934 70114 +1.7% 0.98x (?)
ObjectiveCBridgeFromNSString 1288 1334 +3.6% 0.97x (?)
ObjectiveCBridgeFromNSStringForced 2430 2389 -1.7% 1.02x (?)
ObjectiveCBridgeStubDateMutation 257 257 +0.0% 1.00x
ObjectiveCBridgeStubFromArrayOfNSString 29144 29542 +1.4% 0.99x (?)
ObjectiveCBridgeStubFromNSDate 4193 4077 -2.8% 1.03x
ObjectiveCBridgeStubFromNSString 864 854 -1.2% 1.01x
ObjectiveCBridgeStubFromNSStringRef 155 158 +1.9% 0.98x
ObjectiveCBridgeStubNSDataAppend 2554 2547 -0.3% 1.00x (?)
ObjectiveCBridgeStubNSDateMutationRef 13256 13820 +4.3% 0.96x (?)
ObjectiveCBridgeStubToArrayOfNSString 29846 30004 +0.5% 0.99x (?)
ObjectiveCBridgeStubToNSDate 15470 16060 +3.8% 0.96x (?)
ObjectiveCBridgeStubToNSDateRef 3451 3430 -0.6% 1.01x (?)
ObjectiveCBridgeStubToNSString 1562 1555 -0.4% 1.00x (?)
ObjectiveCBridgeStubToNSStringRef 115 115 +0.0% 1.00x
ObjectiveCBridgeStubURLAppendPath 334428 331099 -1.0% 1.01x (?)
ObjectiveCBridgeStubURLAppendPathRef 327651 340000 +3.8% 0.96x (?)
ObjectiveCBridgeToNSArray 30198 30579 +1.3% 0.99x
ObjectiveCBridgeToNSSet 47053 46093 -2.0% 1.02x (?)
ObjectiveCBridgeToNSString 1315 1338 +1.7% 0.98x
ObserverClosure 2159 2169 +0.5% 1.00x
ObserverForwarderStruct 1002 996 -0.6% 1.01x (?)
ObserverPartiallyAppliedMethod 3763 3757 -0.2% 1.00x (?)
ObserverUnappliedMethod 2368 2374 +0.3% 1.00x (?)
PartialApplyDynamicType 0 0 +0.0% 1.00x
Phonebook 4039 4140 +2.5% 0.98x
PointerArithmetics 31498 31494 -0.0% 1.00x (?)
PolymorphicCalls 25 25 +0.0% 1.00x
PopFrontArray 1950 1947 -0.2% 1.00x (?)
PopFrontArrayGeneric 1983 1965 -0.9% 1.01x (?)
PopFrontUnsafePointer 9417 9624 +2.2% 0.98x (?)
PrefixAnyCollection 76 76 +0.0% 1.00x
PrefixAnyCollectionLazy 65245 67608 +3.6% 0.97x (?)
PrefixAnySeqCRangeIter 14167 14026 -1.0% 1.01x
PrefixAnySeqCRangeIterLazy 14184 14098 -0.6% 1.01x
PrefixAnySeqCntRange 71 71 +0.0% 1.00x
PrefixAnySeqCntRangeLazy 71 71 +0.0% 1.00x
PrefixAnySequence 3795 3776 -0.5% 1.01x (?)
PrefixAnySequenceLazy 3797 3770 -0.7% 1.01x
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 1326 1326 +0.0% 1.00x
PrefixSequenceLazy 1415 1414 -0.1% 1.00x (?)
PrefixWhileAnyCollection 147 147 +0.0% 1.00x
PrefixWhileAnyCollectionLazy 106 106 +0.0% 1.00x
PrefixWhileAnySeqCRangeIter 9300 9329 +0.3% 1.00x (?)
PrefixWhileAnySeqCRangeIterLazy 106 106 +0.0% 1.00x
PrefixWhileAnySeqCntRange 142 142 +0.0% 1.00x
PrefixWhileAnySeqCntRangeLazy 106 106 +0.0% 1.00x
PrefixWhileAnySequence 10454 10470 +0.2% 1.00x
PrefixWhileAnySequenceLazy 1392 1392 +0.0% 1.00x
PrefixWhileArray 88 88 +0.0% 1.00x
PrefixWhileArrayLazy 70 70 +0.0% 1.00x
PrefixWhileCountableRange 53 53 +0.0% 1.00x
PrefixWhileCountableRangeLazy 35 35 +0.0% 1.00x
PrefixWhileSequence 357 356 -0.3% 1.00x (?)
PrefixWhileSequenceLazy 52 52 +0.0% 1.00x
Prims 764 752 -1.6% 1.02x (?)
PrimsSplit 762 758 -0.5% 1.01x
RC4 164 165 +0.6% 0.99x
RGBHistogram 2960 2964 +0.1% 1.00x (?)
RGBHistogramOfObjects 23899 23945 +0.2% 1.00x (?)
RangeAssignment 352 352 +0.0% 1.00x
RangeIterationSigned64 200 200 +0.0% 1.00x
RangeIterationUnsigned 200 200 +0.0% 1.00x
RangeReplaceableCollectionPlusDefault 968 974 +0.6% 0.99x (?)
RecursiveOwnedParameter 2376 2347 -1.2% 1.01x
ReversedArray 57 57 +0.0% 1.00x
ReversedBidirectional 15403 15388 -0.1% 1.00x (?)
ReversedDictionary 126 126 +0.0% 1.00x
RomanNumbers 113258 114869 +1.4% 0.99x
SetExclusiveOr 3481 3492 +0.3% 1.00x
SetExclusiveOr_OfObjects 8591 8717 +1.5% 0.99x
SetIntersect 323 323 +0.0% 1.00x
SetIntersect_OfObjects 1789 1792 +0.2% 1.00x (?)
SetIsSubsetOf 298 299 +0.3% 1.00x
SetIsSubsetOf_OfObjects 380 381 +0.3% 1.00x
SetUnion 3150 3128 -0.7% 1.01x (?)
SetUnion_OfObjects 7182 7276 +1.3% 0.99x
SevenBoom 1559 1543 -1.0% 1.01x (?)
SortLargeExistentials 7024 7099 +1.1% 0.99x
SortLettersInPlace 1156 1158 +0.2% 1.00x
SortStringsUnicode 15515 15546 +0.2% 1.00x (?)
StackPromo 22272 22186 -0.4% 1.00x (?)
StaticArray 6 6 +0.0% 1.00x
StrComplexWalk 1564 1566 +0.1% 1.00x (?)
StrToInt 2072 2178 +5.1% 0.95x
StringAdder 4273 4249 -0.6% 1.01x (?)
StringBuilder 1434 1465 +2.2% 0.98x
StringBuilderLong 1116 1151 +3.1% 0.97x (?)
StringComparison_abnormal 862 864 +0.2% 1.00x (?)
StringComparison_ascii 944 993 +5.2% 0.95x
StringComparison_emoji 2552 2558 +0.2% 1.00x (?)
StringComparison_fastPrenormal 8714 8721 +0.1% 1.00x (?)
StringComparison_latin1 5992 5994 +0.0% 1.00x (?)
StringComparison_longSharedPrefix 11514 11533 +0.2% 1.00x (?)
StringComparison_nonBMPSlowestPrenormal 4685 4691 +0.1% 1.00x (?)
StringComparison_slowerPrenormal 4176 4180 +0.1% 1.00x (?)
StringComparison_zalgo 1728 1727 -0.1% 1.00x (?)
StringEnumRawValueInitialization 1008 979 -2.9% 1.03x
StringEqualPointerComparison 286 286 +0.0% 1.00x
StringFromLongWholeSubstring 21 21 +0.0% 1.00x
StringFromLongWholeSubstringGeneric 10 10 +0.0% 1.00x
StringHasPrefixUnicode 28146 27974 -0.6% 1.01x (?)
StringHasSuffixAscii 1661 1747 +5.2% 0.95x
StringHasSuffixUnicode 85188 85555 +0.4% 1.00x (?)
StringInterpolation 9214 9330 +1.3% 0.99x (?)
StringMatch 7289 7422 +1.8% 0.98x
StringRemoveDupes 1187 1189 +0.2% 1.00x
StringUTF16Builder 2385 2439 +2.3% 0.98x
StringWalk 1500 1518 +1.2% 0.99x
StringWithCString 43012 42557 -1.1% 1.01x
SubstringComparable 2129 2127 -0.1% 1.00x (?)
SubstringEqualString 2122 2114 -0.4% 1.00x
SubstringEquatable 3193 3187 -0.2% 1.00x (?)
SubstringFromLongString 10 10 +0.0% 1.00x
SubstringFromLongStringGeneric 71 69 -2.8% 1.03x
SuffixAnyCollection 28 28 +0.0% 1.00x
SuffixAnySeqCRangeIter 3815 3828 +0.3% 1.00x
SuffixAnySeqCRangeIterLazy 3815 3825 +0.3% 1.00x
SuffixAnySeqCntRange 23 23 +0.0% 1.00x
SuffixAnySeqCntRangeLazy 23 23 +0.0% 1.00x
SuffixAnySequence 5098 5074 -0.5% 1.00x
SuffixAnySequenceLazy 5187 5229 +0.8% 0.99x
SuffixCountableRangeLazy 11 11 +0.0% 1.00x
SuffixSequence 3772 3801 +0.8% 0.99x (?)
SuffixSequenceLazy 3755 3786 +0.8% 0.99x
SuperChars 42788 42811 +0.1% 1.00x (?)
TwoSum 1049 1027 -2.1% 1.02x
TypeFlood 0 0 +0.0% 1.00x
UTF8Decode 313 313 +0.0% 1.00x
Walsh 418 423 +1.2% 0.99x
WordCountHistogramASCII 7896 8271 +4.7% 0.95x
WordCountHistogramUTF16 54141 55933 +3.3% 0.97x (?)
WordCountUniqueASCII 1754 1822 +3.9% 0.96x
WordSplitASCII 20988 20831 -0.7% 1.01x (?)
WordSplitUTF16 22509 22152 -1.6% 1.02x
XorLoop 394 394 +0.0% 1.00x

Unoptimized (Onone)

Regression (20)
TEST OLD NEW DELTA SPEEDUP
DropLastCountableRangeLazy 8756 10126 +15.6% 0.86x
SuffixAnySeqCRangeIter 33658 38848 +15.4% 0.87x
SuffixAnySeqCRangeIterLazy 33790 38992 +15.4% 0.87x
DropLastAnySeqCRangeIter 37490 43180 +15.2% 0.87x
DropLastAnySeqCRangeIterLazy 37742 43372 +14.9% 0.87x
DictionaryGroup 4258 4883 +14.7% 0.87x
PrefixCountableRangeLazy 26255 30064 +14.5% 0.87x
SuffixCountableRangeLazy 8755 9958 +13.7% 0.88x
CharIteration_utf16_unicodeScalars_Backwards 247577 280038 +13.1% 0.88x
PrefixWhileAnySeqCRangeIter 33237 37478 +12.8% 0.89x
CharIteration_punctuated_unicodeScalars_Backwards 65640 73988 +12.7% 0.89x (?)
DropFirstCountableRangeLazy 26261 29553 +12.5% 0.89x
CharIteration_tweet_unicodeScalars_Backwards 585655 657463 +12.3% 0.89x (?)
Calculator 1573 1728 +9.9% 0.91x
CharIteration_korean_unicodeScalars_Backwards 313056 337071 +7.7% 0.93x (?)
StringEqualPointerComparison 3151 3370 +7.0% 0.94x
ObjectiveCBridgeStubNSDateMutationRef 15901 16876 +6.1% 0.94x
ObjectiveCBridgeFromNSSetAnyObjectForced 6342 6696 +5.6% 0.95x
ObjectiveCBridgeStubFromArrayOfNSString 27821 29348 +5.5% 0.95x (?)
PopFrontUnsafePointer 10666 11232 +5.3% 0.95x (?)
Improvement (31)
TEST OLD NEW DELTA SPEEDUP
CharIndexing_punctuatedJapanese_unicodeScalars 76738 62102 -19.1% 1.24x
ObjectiveCBridgeStubFromNSString 1092 918 -15.9% 1.19x
CharIteration_chinese_unicodeScalars_Backwards 258823 223847 -13.5% 1.16x
CharIndexing_korean_unicodeScalars 394756 342837 -13.2% 1.15x (?)
CharIndexing_ascii_unicodeScalars_Backwards 434099 379063 -12.7% 1.15x (?)
CharIndexing_ascii_unicodeScalars 406416 355842 -12.4% 1.14x
CharIndexing_punctuated_unicodeScalars_Backwards 94329 83910 -11.0% 1.12x (?)
TypeFlood 167 150 -10.2% 1.11x (?)
CharIndexing_japanese_unicodeScalars 467633 422119 -9.7% 1.11x (?)
CharIndexing_chinese_unicodeScalars 296888 268421 -9.6% 1.11x (?)
CharIndexing_russian_unicodeScalars_Backwards 348291 315520 -9.4% 1.10x
CharIndexing_chinese_unicodeScalars_Backwards 324114 293901 -9.3% 1.10x (?)
CharIndexing_russian_unicodeScalars 326119 296673 -9.0% 1.10x (?)
CharIndexing_japanese_unicodeScalars_Backwards 501071 459267 -8.3% 1.09x (?)
NSDictionaryCastToSwift 7248 6653 -8.2% 1.09x (?)
CharIndexing_punctuatedJapanese_unicodeScalars_Backwards 73637 67715 -8.0% 1.09x (?)
ObjectiveCBridgeFromNSArrayAnyObject 23821 21943 -7.9% 1.09x (?)
StrToInt 62890 57956 -7.8% 1.09x
ExclusivityGlobal 192 177 -7.8% 1.08x
CharIndexing_utf16_unicodeScalars_Backwards 347351 321151 -7.5% 1.08x (?)
CharIndexing_tweet_unicodeScalars 782620 726598 -7.2% 1.08x (?)
CharIndexing_utf16_unicodeScalars 325240 303319 -6.7% 1.07x (?)
CharIndexing_korean_unicodeScalars_Backwards 426565 400096 -6.2% 1.07x
ObjectiveCBridgeFromNSSetAnyObjectToString 78330 73505 -6.2% 1.07x (?)
ObjectiveCBridgeFromNSString 3396 3192 -6.0% 1.06x (?)
ObjectiveCBridgeFromNSArrayAnyObjectToStringForced 36117 33964 -6.0% 1.06x (?)
ObjectiveCBridgeStubToNSStringRef 168 159 -5.4% 1.06x
NopDeinit 170708 162107 -5.0% 1.05x
ObjectiveCBridgeFromNSArrayAnyObjectForced 9006 8556 -5.0% 1.05x (?)
NSError 755 718 -4.9% 1.05x (?)
CharacterPropertiesStashedMemo 5103 4857 -4.8% 1.05x (?)
No Changes (307)
TEST OLD NEW DELTA SPEEDUP
AngryPhonebook 5105 5089 -0.3% 1.00x (?)
AnyHashableWithAClass 86135 85585 -0.6% 1.01x
Array2D 635256 638803 +0.6% 0.99x (?)
ArrayAppend 4668 4670 +0.0% 1.00x (?)
ArrayAppendArrayOfInt 859 859 +0.0% 1.00x
ArrayAppendAscii 39942 40147 +0.5% 0.99x (?)
ArrayAppendFromGeneric 867 863 -0.5% 1.00x (?)
ArrayAppendGenericStructs 1499 1504 +0.3% 1.00x (?)
ArrayAppendLatin1 63538 63967 +0.7% 0.99x
ArrayAppendLazyMap 167263 168072 +0.5% 1.00x (?)
ArrayAppendOptionals 1499 1499 +0.0% 1.00x
ArrayAppendRepeatCol 169618 169179 -0.3% 1.00x
ArrayAppendReserved 4403 4288 -2.6% 1.03x
ArrayAppendSequence 142219 144916 +1.9% 0.98x
ArrayAppendStrings 15460 15488 +0.2% 1.00x (?)
ArrayAppendToFromGeneric 866 859 -0.8% 1.01x (?)
ArrayAppendToGeneric 865 867 +0.2% 1.00x (?)
ArrayAppendUTF16 63837 64339 +0.8% 0.99x
ArrayInClass 6161 6194 +0.5% 0.99x
ArrayLiteral 1784 1787 +0.2% 1.00x (?)
ArrayOfGenericPOD2 1089 1129 +3.7% 0.96x
ArrayOfGenericRef 10014 10008 -0.1% 1.00x (?)
ArrayOfPOD 758 756 -0.3% 1.00x
ArrayOfRef 9307 9248 -0.6% 1.01x (?)
ArrayPlusEqualArrayOfInt 863 864 +0.1% 1.00x (?)
ArrayPlusEqualFiveElementCollection 233740 232310 -0.6% 1.01x
ArrayPlusEqualSingleElementCollection 230647 228751 -0.8% 1.01x (?)
ArrayPlusEqualThreeElements 9111 9162 +0.6% 0.99x (?)
ArraySubscript 83927 81387 -3.0% 1.03x
ArrayValueProp 3627 3634 +0.2% 1.00x
ArrayValueProp2 16009 16031 +0.1% 1.00x (?)
ArrayValueProp3 4112 4109 -0.1% 1.00x (?)
ArrayValueProp4 4066 4078 +0.3% 1.00x
BinaryFloatingPointConversionFromBinaryInteger 5959 5769 -3.2% 1.03x
BitCount 2151 2210 +2.7% 0.97x
ByteSwap 3891 3956 +1.7% 0.98x
COWTree 11013 11184 +1.6% 0.98x (?)
CSVParsing 2494511 2473221 -0.9% 1.01x
CSVParsingAlt 1350036 1377510 +2.0% 0.98x (?)
CSVParsingAltIndices 2533371 2545932 +0.5% 1.00x (?)
CStringLongAscii 4600 4758 +3.4% 0.97x
CStringLongNonAscii 2098 2072 -1.2% 1.01x (?)
CStringShortAscii 8199 8040 -1.9% 1.02x (?)
CaptureProp 259766 255585 -1.6% 1.02x
CharIndexing_punctuated_unicodeScalars 86699 87332 +0.7% 0.99x (?)
CharIndexing_tweet_unicodeScalars_Backwards 839522 837629 -0.2% 1.00x (?)
CharIteration_ascii_unicodeScalars 153805 153762 -0.0% 1.00x (?)
CharIteration_ascii_unicodeScalars_Backwards 295232 293656 -0.5% 1.01x (?)
CharIteration_chinese_unicodeScalars 116309 116505 +0.2% 1.00x (?)
CharIteration_japanese_unicodeScalars 184277 183677 -0.3% 1.00x (?)
CharIteration_japanese_unicodeScalars_Backwards 348903 351071 +0.6% 0.99x (?)
CharIteration_korean_unicodeScalars 149920 149116 -0.5% 1.01x (?)
CharIteration_punctuatedJapanese_unicodeScalars 27533 27494 -0.1% 1.00x (?)
CharIteration_punctuatedJapanese_unicodeScalars_Backwards 51886 50975 -1.8% 1.02x (?)
CharIteration_punctuated_unicodeScalars 34653 34448 -0.6% 1.01x (?)
CharIteration_russian_unicodeScalars 128091 127957 -0.1% 1.00x (?)
CharIteration_russian_unicodeScalars_Backwards 243120 242872 -0.1% 1.00x (?)
CharIteration_tweet_unicodeScalars 304840 303246 -0.5% 1.01x (?)
CharIteration_utf16_unicodeScalars 131056 129275 -1.4% 1.01x (?)
CharacterLiteralsLarge 6004 6007 +0.0% 1.00x (?)
CharacterLiteralsSmall 743 708 -4.7% 1.05x
CharacterPropertiesFetch 5502 5630 +2.3% 0.98x (?)
CharacterPropertiesPrecomputed 4404 4320 -1.9% 1.02x (?)
CharacterPropertiesStashed 2346 2343 -0.1% 1.00x (?)
Chars 39660 40675 +2.6% 0.98x
ClassArrayGetter 982 985 +0.3% 1.00x
Combos 2104 2042 -2.9% 1.03x (?)
DictOfArraysToArrayOfDicts 3363 3372 +0.3% 1.00x (?)
Dictionary 2556 2575 +0.7% 0.99x (?)
Dictionary2 2946 2969 +0.8% 0.99x (?)
Dictionary2OfObjects 5852 5620 -4.0% 1.04x
Dictionary3 1268 1274 +0.5% 1.00x
Dictionary3OfObjects 2271 2232 -1.7% 1.02x
DictionaryBridge 2191 2167 -1.1% 1.01x (?)
DictionaryGroupOfObjects 7550 7434 -1.5% 1.02x (?)
DictionaryLiteral 8528 8572 +0.5% 0.99x (?)
DictionaryOfObjects 6077 6149 +1.2% 0.99x (?)
DictionaryRemove 18281 18565 +1.6% 0.98x
DictionaryRemoveOfObjects 50328 49354 -1.9% 1.02x (?)
DictionarySubscriptDefaultMutation 2100 2109 +0.4% 1.00x (?)
DictionarySubscriptDefaultMutationArray 2366 2373 +0.3% 1.00x (?)
DictionarySubscriptDefaultMutationArrayOfObjects 8996 9015 +0.2% 1.00x (?)
DictionarySubscriptDefaultMutationOfObjects 5642 5583 -1.0% 1.01x (?)
DictionarySwap 5424 5476 +1.0% 0.99x
DictionarySwapOfObjects 23093 23615 +2.3% 0.98x (?)
DoubleWidthDivision 23906 24242 +1.4% 0.99x
DropFirstAnyCollection 13833 13480 -2.6% 1.03x
DropFirstAnyCollectionLazy 104991 109052 +3.9% 0.96x (?)
DropFirstAnySeqCRangeIter 20349 20656 +1.5% 0.99x (?)
DropFirstAnySeqCRangeIterLazy 20434 20661 +1.1% 0.99x
DropFirstAnySeqCntRange 13819 13455 -2.6% 1.03x
DropFirstAnySeqCntRangeLazy 13812 13459 -2.6% 1.03x (?)
DropFirstAnySequence 10773 10764 -0.1% 1.00x (?)
DropFirstAnySequenceLazy 10777 10815 +0.4% 1.00x
DropFirstArray 3722 3747 +0.7% 0.99x (?)
DropFirstArrayLazy 25406 25611 +0.8% 0.99x
DropFirstCountableRange 332 333 +0.3% 1.00x (?)
DropFirstSequence 10404 10496 +0.9% 0.99x
DropFirstSequenceLazy 10432 10506 +0.7% 0.99x
DropLastAnyCollection 4592 4499 -2.0% 1.02x
DropLastAnyCollectionLazy 36535 38292 +4.8% 0.95x (?)
DropLastAnySeqCntRange 4585 4485 -2.2% 1.02x
DropLastAnySeqCntRangeLazy 4619 4524 -2.1% 1.02x
DropLastAnySequence 28777 29042 +0.9% 0.99x
DropLastAnySequenceLazy 28933 29014 +0.3% 1.00x (?)
DropLastCountableRange 114 114 +0.0% 1.00x
DropLastSequence 28931 29022 +0.3% 1.00x (?)
DropLastSequenceLazy 28649 28932 +1.0% 0.99x
DropWhileAnyCollection 17638 17368 -1.5% 1.02x
DropWhileAnyCollectionLazy 18912 18987 +0.4% 1.00x
DropWhileAnySeqCRangeIter 21862 22126 +1.2% 0.99x (?)
DropWhileAnySeqCRangeIterLazy 18890 18960 +0.4% 1.00x
DropWhileAnySeqCntRange 17487 17264 -1.3% 1.01x
DropWhileAnySeqCntRangeLazy 18882 19019 +0.7% 0.99x
DropWhileAnySequence 12256 12327 +0.6% 0.99x
DropWhileAnySequenceLazy 10062 10173 +1.1% 0.99x
DropWhileArrayLazy 13713 13769 +0.4% 1.00x
DropWhileCountableRange 4102 4163 +1.5% 0.99x
DropWhileCountableRangeLazy 18282 18708 +2.3% 0.98x
DropWhileSequence 11944 11999 +0.5% 1.00x
DropWhileSequenceLazy 9641 9840 +2.1% 0.98x
EqualStringSubstring 477 477 +0.0% 1.00x
EqualSubstringString 478 478 +0.0% 1.00x
EqualSubstringSubstring 477 478 +0.2% 1.00x
EqualSubstringSubstringGenericEquatable 486 487 +0.2% 1.00x (?)
ErrorHandling 7117 6847 -3.8% 1.04x (?)
ExclusivityIndependent 70 68 -2.9% 1.03x
FilterEvenUsingReduce 3754 3756 +0.1% 1.00x (?)
FilterEvenUsingReduceInto 1979 1984 +0.3% 1.00x (?)
FrequenciesUsingReduce 10829 10730 -0.9% 1.01x (?)
FrequenciesUsingReduceInto 5394 5350 -0.8% 1.01x (?)
Hanoi 19668 20450 +4.0% 0.96x
HashTest 16315 16389 +0.5% 1.00x (?)
Histogram 6584 6619 +0.5% 0.99x (?)
Integrate 812 824 +1.5% 0.99x
IterateData 7734 7889 +2.0% 0.98x
Join 1104 1103 -0.1% 1.00x (?)
LazilyFilteredArrayContains 772218 776147 +0.5% 0.99x
LazilyFilteredArrays 1456794 1469186 +0.9% 0.99x (?)
LazilyFilteredRange 477601 480079 +0.5% 0.99x
LessSubstringSubstring 477 479 +0.4% 1.00x
LessSubstringSubstringGenericComparable 483 485 +0.4% 1.00x
LinkedList 32145 32111 -0.1% 1.00x (?)
LuhnAlgoEager 5166 5064 -2.0% 1.02x (?)
LuhnAlgoLazy 5319 5495 +3.3% 0.97x
MapReduce 27412 27489 +0.3% 1.00x
MapReduceAnyCollection 27216 27472 +0.9% 0.99x
MapReduceAnyCollectionShort 38854 39234 +1.0% 0.99x (?)
MapReduceClass 31916 32098 +0.6% 0.99x
MapReduceClassShort 42953 42604 -0.8% 1.01x (?)
MapReduceLazyCollection 23722 24028 +1.3% 0.99x
MapReduceLazyCollectionShort 33540 33042 -1.5% 1.02x
MapReduceLazySequence 18304 18166 -0.8% 1.01x
MapReduceSequence 30308 30555 +0.8% 0.99x
MapReduceShort 38661 38407 -0.7% 1.01x (?)
MapReduceShortString 240 249 +3.7% 0.96x (?)
MapReduceString 1911 1952 +2.1% 0.98x
Memset 44464 44752 +0.6% 0.99x
MonteCarloE 907295 887167 -2.2% 1.02x
MonteCarloPi 3959552 3915355 -1.1% 1.01x (?)
NSStringConversion 367 365 -0.5% 1.01x
NibbleSort 300944 300970 +0.0% 1.00x (?)
ObjectAllocation 1350 1345 -0.4% 1.00x (?)
ObjectiveCBridgeFromNSArrayAnyObjectToString 44927 44299 -1.4% 1.01x (?)
ObjectiveCBridgeFromNSDictionaryAnyObject 125387 128866 +2.8% 0.97x (?)
ObjectiveCBridgeFromNSSetAnyObject 66135 67111 +1.5% 0.99x (?)
ObjectiveCBridgeFromNSStringForced 2738 2717 -0.8% 1.01x (?)
ObjectiveCBridgeStubDataAppend 4833 4710 -2.5% 1.03x (?)
ObjectiveCBridgeStubDateMutation 631 635 +0.6% 0.99x
ObjectiveCBridgeStubFromNSDate 4936 4941 +0.1% 1.00x (?)
ObjectiveCBridgeStubFromNSStringRef 208 202 -2.9% 1.03x
ObjectiveCBridgeStubNSDataAppend 3076 2952 -4.0% 1.04x
ObjectiveCBridgeStubToArrayOfNSString 29598 29798 +0.7% 0.99x (?)
ObjectiveCBridgeStubToNSDate 15426 15922 +3.2% 0.97x (?)
ObjectiveCBridgeStubToNSDateRef 3485 3473 -0.3% 1.00x (?)
ObjectiveCBridgeStubToNSString 1572 1581 +0.6% 0.99x
ObjectiveCBridgeStubURLAppendPath 334212 335031 +0.2% 1.00x (?)
ObjectiveCBridgeStubURLAppendPathRef 322494 335533 +4.0% 0.96x (?)
ObjectiveCBridgeToNSArray 29710 30194 +1.6% 0.98x (?)
ObjectiveCBridgeToNSDictionary 58290 57161 -1.9% 1.02x (?)
ObjectiveCBridgeToNSSet 48666 47834 -1.7% 1.02x
ObjectiveCBridgeToNSString 1344 1360 +1.2% 0.99x
ObserverClosure 6392 6397 +0.1% 1.00x (?)
ObserverForwarderStruct 4409 4423 +0.3% 1.00x
ObserverPartiallyAppliedMethod 7864 7933 +0.9% 0.99x (?)
ObserverUnappliedMethod 7941 7907 -0.4% 1.00x (?)
OpenClose 538 566 +5.2% 0.95x
PartialApplyDynamicType 41066 40413 -1.6% 1.02x (?)
Phonebook 20431 20647 +1.1% 0.99x
PointerArithmetics 114567 114613 +0.0% 1.00x (?)
PolymorphicCalls 6438 6336 -1.6% 1.02x
PopFrontArray 4614 4618 +0.1% 1.00x (?)
PopFrontArrayGeneric 5781 5795 +0.2% 1.00x (?)
PrefixAnyCollection 13738 13467 -2.0% 1.02x
PrefixAnyCollectionLazy 103449 107618 +4.0% 0.96x (?)
PrefixAnySeqCRangeIter 16342 16679 +2.1% 0.98x
PrefixAnySeqCRangeIterLazy 16255 16561 +1.9% 0.98x
PrefixAnySeqCntRange 13706 13483 -1.6% 1.02x
PrefixAnySeqCntRangeLazy 13803 13461 -2.5% 1.03x
PrefixAnySequence 8994 8972 -0.2% 1.00x
PrefixAnySequenceLazy 8989 9051 +0.7% 0.99x
PrefixArray 3717 3762 +1.2% 0.99x
PrefixArrayLazy 25070 25536 +1.9% 0.98x
PrefixCountableRange 332 333 +0.3% 1.00x
PrefixSequence 8737 8757 +0.2% 1.00x
PrefixSequenceLazy 8696 8805 +1.3% 0.99x
PrefixWhileAnyCollection 24959 24820 -0.6% 1.01x
PrefixWhileAnyCollectionLazy 15637 15979 +2.2% 0.98x (?)
PrefixWhileAnySeqCRangeIterLazy 15793 15863 +0.4% 1.00x (?)
PrefixWhileAnySeqCntRange 25053 24855 -0.8% 1.01x
PrefixWhileAnySeqCntRangeLazy 15625 16038 +2.6% 0.97x
PrefixWhileAnySequence 27124 27117 -0.0% 1.00x (?)
PrefixWhileAnySequenceLazy 9144 9147 +0.0% 1.00x (?)
PrefixWhileArray 11529 11558 +0.3% 1.00x (?)
PrefixWhileArrayLazy 12067 12142 +0.6% 0.99x
PrefixWhileCountableRange 11510 11669 +1.4% 0.99x
PrefixWhileCountableRangeLazy 15286 15799 +3.4% 0.97x
PrefixWhileSequence 26140 26301 +0.6% 0.99x (?)
PrefixWhileSequenceLazy 8904 8956 +0.6% 0.99x
Prims 9787 9652 -1.4% 1.01x (?)
PrimsSplit 9888 9815 -0.7% 1.01x (?)
RC4 16465 16675 +1.3% 0.99x (?)
RGBHistogram 26991 26862 -0.5% 1.00x (?)
RGBHistogramOfObjects 96949 98341 +1.4% 0.99x
RangeAssignment 2690 2772 +3.0% 0.97x
RangeIterationSigned 16655 16873 +1.3% 0.99x (?)
RangeIterationSigned64 39553 39222 -0.8% 1.01x (?)
RangeIterationUnsigned 34849 34894 +0.1% 1.00x (?)
RangeReplaceableCollectionPlusDefault 8716 8577 -1.6% 1.02x (?)
RecursiveOwnedParameter 7955 7909 -0.6% 1.01x
ReversedArray 13120 13324 +1.6% 0.98x
ReversedBidirectional 47695 47360 -0.7% 1.01x (?)
ReversedDictionary 22875 23147 +1.2% 0.99x (?)
RomanNumbers 1172698 1202230 +2.5% 0.98x
SetExclusiveOr 17182 17190 +0.0% 1.00x (?)
SetExclusiveOr_OfObjects 41639 41709 +0.2% 1.00x (?)
SetIntersect 8256 8279 +0.3% 1.00x (?)
SetIntersect_OfObjects 12356 12215 -1.1% 1.01x (?)
SetIsSubsetOf 1351 1349 -0.1% 1.00x (?)
SetIsSubsetOf_OfObjects 1576 1571 -0.3% 1.00x
SetUnion 11784 11947 +1.4% 0.99x (?)
SetUnion_OfObjects 29115 29112 -0.0% 1.00x (?)
SevenBoom 1630 1679 +3.0% 0.97x
Sim2DArray 43629 43653 +0.1% 1.00x (?)
SortLargeExistentials 15681 15679 -0.0% 1.00x (?)
SortLettersInPlace 2847 2809 -1.3% 1.01x
SortSortedStrings 1318 1341 +1.7% 0.98x
SortStrings 2446 2504 +2.4% 0.98x
SortStringsUnicode 16424 16456 +0.2% 1.00x (?)
StackPromo 90104 94751 +5.2% 0.95x (?)
StaticArray 2597 2649 +2.0% 0.98x
StrComplexWalk 6449 6663 +3.3% 0.97x
StringAdder 4796 4782 -0.3% 1.00x (?)
StringBuilder 7039 6916 -1.7% 1.02x (?)
StringBuilderLong 2728 2735 +0.3% 1.00x (?)
StringComparison_abnormal 1415 1416 +0.1% 1.00x (?)
StringComparison_ascii 9534 9670 +1.4% 0.99x
StringComparison_emoji 3808 3806 -0.1% 1.00x (?)
StringComparison_fastPrenormal 13243 13222 -0.2% 1.00x (?)
StringComparison_latin1 9491 9501 +0.1% 1.00x (?)
StringComparison_longSharedPrefix 13097 13054 -0.3% 1.00x
StringComparison_nonBMPSlowestPrenormal 6935 6931 -0.1% 1.00x (?)
StringComparison_slowerPrenormal 6817 6785 -0.5% 1.00x (?)
StringComparison_zalgo 2834 2831 -0.1% 1.00x (?)
StringEdits 323423 333833 +3.2% 0.97x (?)
StringEnumRawValueInitialization 20829 21000 +0.8% 0.99x
StringFromLongWholeSubstring 22 22 +0.0% 1.00x
StringFromLongWholeSubstringGeneric 206 206 +0.0% 1.00x
StringHasPrefixAscii 3038 3175 +4.5% 0.96x
StringHasPrefixUnicode 31220 30920 -1.0% 1.01x (?)
StringHasSuffixAscii 3137 3180 +1.4% 0.99x (?)
StringHasSuffixUnicode 88687 88293 -0.4% 1.00x
StringInterpolation 13647 13981 +2.4% 0.98x (?)
StringMatch 32712 32996 +0.9% 0.99x (?)
StringRemoveDupes 1408 1402 -0.4% 1.00x (?)
StringUTF16Builder 7571 7613 +0.6% 0.99x (?)
StringWalk 12767 12776 +0.1% 1.00x (?)
StringWithCString 37699 39652 +5.2% 0.95x
StringWordBuilder 2518 2516 -0.1% 1.00x (?)
StringWordBuilderReservingCapacity 2180 2176 -0.2% 1.00x (?)
SubstringComparable 4277 4234 -1.0% 1.01x
SubstringEqualString 3561 3455 -3.0% 1.03x
SubstringEquatable 8066 7930 -1.7% 1.02x (?)
SubstringFromLongString 24 24 +0.0% 1.00x
SubstringFromLongStringGeneric 103 102 -1.0% 1.01x
SuffixAnyCollection 4569 4518 -1.1% 1.01x (?)
SuffixAnyCollectionLazy 35113 35649 +1.5% 0.98x
SuffixAnySeqCntRange 4591 4522 -1.5% 1.02x
SuffixAnySeqCntRangeLazy 4649 4523 -2.7% 1.03x
SuffixAnySequence 25006 25069 +0.3% 1.00x (?)
SuffixAnySequenceLazy 24981 25124 +0.6% 0.99x (?)
SuffixCountableRange 114 114 +0.0% 1.00x
SuffixSequence 24933 25041 +0.4% 1.00x (?)
SuffixSequenceLazy 24980 25003 +0.1% 1.00x (?)
SumUsingReduce 170482 170894 +0.2% 1.00x
SumUsingReduceInto 167409 167343 -0.0% 1.00x (?)
SuperChars 213612 210352 -1.5% 1.02x (?)
TwoSum 3989 3935 -1.4% 1.01x (?)
UTF8Decode 30525 30215 -1.0% 1.01x
Walsh 11971 12000 +0.2% 1.00x
WordCountHistogramASCII 48109 49442 +2.8% 0.97x (?)
WordCountHistogramUTF16 104421 103429 -1.0% 1.01x (?)
WordCountUniqueASCII 8058 8216 +2.0% 0.98x
WordCountUniqueUTF16 33731 33641 -0.3% 1.00x (?)
WordSplitASCII 24484 25015 +2.2% 0.98x (?)
WordSplitUTF16 26337 25905 -1.6% 1.02x (?)
XorLoop 23379 23386 +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 cfaff1d into swiftlang:master Feb 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants