Skip to content

[benchmark] Add DoubleWidth division benchmark #14043

New issue

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

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

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 22, 2018
Merged

[benchmark] Add DoubleWidth division benchmark #14043

merged 1 commit into from
Jan 22, 2018

Conversation

xwu
Copy link
Collaborator

@xwu xwu commented Jan 21, 2018

This PR adds a benchmark for DoubleWidth division, which is currently slow, in anticipation of #13784 (which is still work-in-progress at the moment).

@xwu xwu requested a review from moiseev January 21, 2018 06:01
@lorentey
Copy link
Member

@swift-ci please benchmark

@lorentey
Copy link
Member

@swift-ci please smoke test

@swift-ci
Copy link
Contributor

Build comment file:

Optimized (O)

Regression (3)
TEST OLD NEW DELTA SPEEDUP
ObjectiveCBridgeFromNSArrayAnyObjectForced 4021 4578 +13.9% 0.88x (?)
DictionaryRemove 2512 2790 +11.1% 0.90x
DropFirstAnyCollectionLazy 58463 63744 +9.0% 0.92x (?)
Improvement (1)
TEST OLD NEW DELTA SPEEDUP
Calculator 442 398 -10.0% 1.11x
No Changes (353)
TEST OLD NEW DELTA SPEEDUP
AngryPhonebook 3114 3098 -0.5% 1.01x (?)
AnyHashableWithAClass 63069 62866 -0.3% 1.00x (?)
Array2D 2248 2251 +0.1% 1.00x (?)
ArrayAppend 900 901 +0.1% 1.00x (?)
ArrayAppendArrayOfInt 626 626 +0.0% 1.00x
ArrayAppendAscii 22303 22337 +0.2% 1.00x (?)
ArrayAppendFromGeneric 627 626 -0.2% 1.00x (?)
ArrayAppendGenericStructs 1152 1152 +0.0% 1.00x
ArrayAppendLatin1 33389 33093 -0.9% 1.01x
ArrayAppendLazyMap 1130 1132 +0.2% 1.00x (?)
ArrayAppendOptionals 1152 1153 +0.1% 1.00x (?)
ArrayAppendRepeatCol 1129 1129 +0.0% 1.00x
ArrayAppendReserved 685 683 -0.3% 1.00x (?)
ArrayAppendSequence 945 945 +0.0% 1.00x
ArrayAppendStrings 13586 13622 +0.3% 1.00x
ArrayAppendToFromGeneric 626 626 +0.0% 1.00x
ArrayAppendToGeneric 627 627 +0.0% 1.00x
ArrayAppendUTF16 31987 31401 -1.8% 1.02x
ArrayInClass 77 77 +0.0% 1.00x
ArrayLiteral 0 0 +0.0% 1.00x
ArrayOfGenericPOD2 125 125 +0.0% 1.00x
ArrayOfGenericRef 3795 3783 -0.3% 1.00x (?)
ArrayOfPOD 151 151 +0.0% 1.00x
ArrayOfRef 3767 3761 -0.2% 1.00x (?)
ArrayPlusEqualArrayOfInt 626 626 +0.0% 1.00x
ArrayPlusEqualFiveElementCollection 4981 4983 +0.0% 1.00x (?)
ArrayPlusEqualSingleElementCollection 900 902 +0.2% 1.00x (?)
ArrayPlusEqualThreeElements 1406 1405 -0.1% 1.00x (?)
ArraySubscript 1331 1342 +0.8% 0.99x (?)
ArrayValueProp 7 7 +0.0% 1.00x
ArrayValueProp2 7 7 +0.0% 1.00x
ArrayValueProp3 7 7 +0.0% 1.00x
ArrayValueProp4 7 7 +0.0% 1.00x
BinaryFloatingPointConversionFromBinaryInteger 41 41 +0.0% 1.00x
BitCount 181 189 +4.4% 0.96x
ByteSwap 91 89 -2.2% 1.02x (?)
COWTree 3013 3034 +0.7% 0.99x (?)
CSVParsing 863287 863185 -0.0% 1.00x (?)
CSVParsingAlt 631528 635890 +0.7% 0.99x (?)
CSVParsingAltIndices 324868 326198 +0.4% 1.00x (?)
CStringLongAscii 5182 4999 -3.5% 1.04x
CStringLongNonAscii 1857 1809 -2.6% 1.03x
CStringShortAscii 4329 4297 -0.7% 1.01x (?)
CaptureProp 6947 7191 +3.5% 0.97x
CharIndexing_ascii_unicodeScalars 15945 15944 -0.0% 1.00x (?)
CharIndexing_ascii_unicodeScalars_Backwards 14327 14329 +0.0% 1.00x (?)
CharIndexing_chinese_unicodeScalars 12072 12076 +0.0% 1.00x (?)
CharIndexing_chinese_unicodeScalars_Backwards 10854 10854 +0.0% 1.00x
CharIndexing_japanese_unicodeScalars 19088 19091 +0.0% 1.00x (?)
CharIndexing_japanese_unicodeScalars_Backwards 17150 17149 -0.0% 1.00x (?)
CharIndexing_korean_unicodeScalars 15463 15464 +0.0% 1.00x (?)
CharIndexing_korean_unicodeScalars_Backwards 13899 13899 +0.0% 1.00x
CharIndexing_punctuatedJapanese_unicodeScalars 2876 2879 +0.1% 1.00x
CharIndexing_punctuatedJapanese_unicodeScalars_Backwards 2602 2603 +0.0% 1.00x (?)
CharIndexing_punctuated_unicodeScalars 3604 3605 +0.0% 1.00x (?)
CharIndexing_punctuated_unicodeScalars_Backwards 3256 3256 +0.0% 1.00x
CharIndexing_russian_unicodeScalars 13284 13285 +0.0% 1.00x (?)
CharIndexing_russian_unicodeScalars_Backwards 11938 11939 +0.0% 1.00x (?)
CharIndexing_tweet_unicodeScalars 31763 31765 +0.0% 1.00x (?)
CharIndexing_tweet_unicodeScalars_Backwards 28315 28317 +0.0% 1.00x (?)
CharIndexing_utf16_unicodeScalars 22720 22617 -0.5% 1.00x
CharIndexing_utf16_unicodeScalars_Backwards 22930 22834 -0.4% 1.00x (?)
CharIteration_ascii_unicodeScalars 18618 18670 +0.3% 1.00x
CharIteration_ascii_unicodeScalars_Backwards 12659 12665 +0.0% 1.00x (?)
CharIteration_chinese_unicodeScalars 14071 14148 +0.5% 0.99x
CharIteration_chinese_unicodeScalars_Backwards 9599 9600 +0.0% 1.00x (?)
CharIteration_japanese_unicodeScalars 22306 22294 -0.1% 1.00x (?)
CharIteration_japanese_unicodeScalars_Backwards 15151 15152 +0.0% 1.00x (?)
CharIteration_korean_unicodeScalars 18056 18108 +0.3% 1.00x (?)
CharIteration_korean_unicodeScalars_Backwards 12279 12280 +0.0% 1.00x (?)
CharIteration_punctuatedJapanese_unicodeScalars 3331 3313 -0.5% 1.01x
CharIteration_punctuatedJapanese_unicodeScalars_Backwards 2327 2328 +0.0% 1.00x (?)
CharIteration_punctuated_unicodeScalars 4187 4192 +0.1% 1.00x (?)
CharIteration_punctuated_unicodeScalars_Backwards 2898 2901 +0.1% 1.00x (?)
CharIteration_russian_unicodeScalars 15485 15534 +0.3% 1.00x
CharIteration_russian_unicodeScalars_Backwards 10556 10558 +0.0% 1.00x (?)
CharIteration_tweet_unicodeScalars 36825 36750 -0.2% 1.00x (?)
CharIteration_tweet_unicodeScalars_Backwards 24984 24982 -0.0% 1.00x (?)
CharIteration_utf16_unicodeScalars 24169 24234 +0.3% 1.00x
CharIteration_utf16_unicodeScalars_Backwards 15696 15478 -1.4% 1.01x
CharacterLiteralsLarge 5217 5208 -0.2% 1.00x (?)
CharacterLiteralsSmall 366 369 +0.8% 0.99x
CharacterPropertiesFetch 3933 3924 -0.2% 1.00x (?)
CharacterPropertiesPrecomputed 864 869 +0.6% 0.99x (?)
CharacterPropertiesStashed 1385 1369 -1.2% 1.01x (?)
CharacterPropertiesStashedMemo 1361 1356 -0.4% 1.00x (?)
Chars 866 862 -0.5% 1.00x
ClassArrayGetter 12 12 +0.0% 1.00x
Combos 396 396 +0.0% 1.00x
DictOfArraysToArrayOfDicts 760 755 -0.7% 1.01x (?)
Dictionary 672 677 +0.7% 0.99x (?)
Dictionary2 1720 1717 -0.2% 1.00x (?)
Dictionary2OfObjects 2949 2949 +0.0% 1.00x
Dictionary3 508 508 +0.0% 1.00x
Dictionary3OfObjects 810 808 -0.2% 1.00x (?)
DictionaryBridge 1887 1860 -1.4% 1.01x (?)
DictionaryGroup 130 125 -3.8% 1.04x
DictionaryGroupOfObjects 1636 1615 -1.3% 1.01x
DictionaryLiteral 1334 1337 +0.2% 1.00x (?)
DictionaryOfObjects 2151 2160 +0.4% 1.00x (?)
DictionaryRemoveOfObjects 20390 20313 -0.4% 1.00x (?)
DictionarySubscriptDefaultMutation 135 135 +0.0% 1.00x
DictionarySubscriptDefaultMutationArray 438 440 +0.5% 1.00x (?)
DictionarySubscriptDefaultMutationArrayOfObjects 3250 3244 -0.2% 1.00x (?)
DictionarySubscriptDefaultMutationOfObjects 1167 1156 -0.9% 1.01x (?)
DictionarySwap 460 459 -0.2% 1.00x
DictionarySwapOfObjects 6479 6442 -0.6% 1.01x (?)
DropFirstAnyCollection 68 68 +0.0% 1.00x
DropFirstAnySeqCRangeIter 17352 17342 -0.1% 1.00x (?)
DropFirstAnySeqCRangeIterLazy 17324 17319 -0.0% 1.00x (?)
DropFirstAnySeqCntRange 64 64 +0.0% 1.00x
DropFirstAnySeqCntRangeLazy 64 64 +0.0% 1.00x
DropFirstAnySequence 3779 3807 +0.7% 0.99x
DropFirstAnySequenceLazy 3777 3820 +1.1% 0.99x
DropFirstArray 31 31 +0.0% 1.00x
DropFirstArrayLazy 31 31 +0.0% 1.00x
DropFirstCountableRange 31 31 +0.0% 1.00x
DropFirstCountableRangeLazy 31 31 +0.0% 1.00x
DropFirstSequence 2351 2351 +0.0% 1.00x
DropFirstSequenceLazy 2435 2435 +0.0% 1.00x
DropLastAnyCollection 25 25 +0.0% 1.00x
DropLastAnyCollectionLazy 19522 19221 -1.5% 1.02x (?)
DropLastAnySeqCRangeIter 3139 3136 -0.1% 1.00x (?)
DropLastAnySeqCRangeIterLazy 3132 3131 -0.0% 1.00x (?)
DropLastAnySeqCntRange 21 21 +0.0% 1.00x
DropLastAnySeqCntRangeLazy 21 21 +0.0% 1.00x
DropLastAnySequence 4546 4547 +0.0% 1.00x (?)
DropLastAnySequenceLazy 4631 4615 -0.3% 1.00x (?)
DropLastCountableRange 10 10 +0.0% 1.00x
DropLastCountableRangeLazy 10 10 +0.0% 1.00x
DropLastSequence 663 663 +0.0% 1.00x
DropLastSequenceLazy 663 663 +0.0% 1.00x
DropWhileAnyCollection 89 89 +0.0% 1.00x
DropWhileAnyCollectionLazy 132 132 +0.0% 1.00x
DropWhileAnySeqCRangeIter 14017 14021 +0.0% 1.00x (?)
DropWhileAnySeqCRangeIterLazy 132 132 +0.0% 1.00x
DropWhileAnySeqCntRange 85 85 +0.0% 1.00x
DropWhileAnySeqCntRangeLazy 132 132 +0.0% 1.00x
DropWhileAnySequence 4143 4142 -0.0% 1.00x (?)
DropWhileAnySequenceLazy 1642 1642 +0.0% 1.00x
DropWhileArrayLazy 115 115 +0.0% 1.00x
DropWhileCountableRange 32 32 +0.0% 1.00x
DropWhileCountableRangeLazy 100 100 +0.0% 1.00x
DropWhileSequence 1186 1186 +0.0% 1.00x
DropWhileSequenceLazy 79 79 +0.0% 1.00x
EqualStringSubstring 378 379 +0.3% 1.00x (?)
EqualSubstringString 379 379 +0.0% 1.00x
EqualSubstringSubstring 379 379 +0.0% 1.00x
EqualSubstringSubstringGenericEquatable 378 378 +0.0% 1.00x
ErrorHandling 2059 2087 +1.4% 0.99x (?)
ExclusivityGlobal 5 5 +0.0% 1.00x
ExclusivityIndependent 2 2 +0.0% 1.00x
FilterEvenUsingReduce 1155 1153 -0.2% 1.00x (?)
FilterEvenUsingReduceInto 129 129 +0.0% 1.00x
FrequenciesUsingReduce 6077 6075 -0.0% 1.00x (?)
FrequenciesUsingReduceInto 2866 2867 +0.0% 1.00x (?)
Hanoi 3036 3160 +4.1% 0.96x
HashTest 1491 1494 +0.2% 1.00x (?)
Histogram 309 311 +0.6% 0.99x
Integrate 195 195 +0.0% 1.00x
IterateData 1202 1243 +3.4% 0.97x
Join 329 318 -3.3% 1.03x (?)
LazilyFilteredArrayContains 29314 29313 -0.0% 1.00x (?)
LazilyFilteredArrays 49400 49381 -0.0% 1.00x (?)
LazilyFilteredRange 3590 3610 +0.6% 0.99x (?)
LessSubstringSubstring 379 378 -0.3% 1.00x (?)
LessSubstringSubstringGenericComparable 378 378 +0.0% 1.00x
LinkedList 6396 6418 +0.3% 1.00x
LuhnAlgoEager 507 506 -0.2% 1.00x (?)
LuhnAlgoLazy 507 507 +0.0% 1.00x
MapReduce 412 409 -0.7% 1.01x
MapReduceAnyCollection 411 408 -0.7% 1.01x (?)
MapReduceAnyCollectionShort 1808 1809 +0.1% 1.00x (?)
MapReduceClass 2707 2713 +0.2% 1.00x (?)
MapReduceClassShort 4023 4026 +0.1% 1.00x (?)
MapReduceLazyCollection 12 12 +0.0% 1.00x
MapReduceLazyCollectionShort 33 34 +3.0% 0.97x (?)
MapReduceLazySequence 77 77 +0.0% 1.00x
MapReduceSequence 399 403 +1.0% 0.99x (?)
MapReduceShort 1781 1786 +0.3% 1.00x (?)
MapReduceShortString 18 18 +0.0% 1.00x
MapReduceString 76 76 +0.0% 1.00x
Memset 191 190 -0.5% 1.01x (?)
MonteCarloE 9230 9305 +0.8% 0.99x
MonteCarloPi 38449 38479 +0.1% 1.00x (?)
NSDictionaryCastToSwift 4698 4679 -0.4% 1.00x (?)
NSError 263 262 -0.4% 1.00x (?)
NSStringConversion 297 303 +2.0% 0.98x (?)
NibbleSort 3551 3551 +0.0% 1.00x
NopDeinit 19353 19345 -0.0% 1.00x (?)
ObjectAllocation 154 154 +0.0% 1.00x
ObjectiveCBridgeFromNSArrayAnyObject 19777 20321 +2.8% 0.97x (?)
ObjectiveCBridgeFromNSArrayAnyObjectToString 41059 41423 +0.9% 0.99x (?)
ObjectiveCBridgeFromNSArrayAnyObjectToStringForced 38609 37803 -2.1% 1.02x (?)
ObjectiveCBridgeFromNSDictionaryAnyObject 112005 114333 +2.1% 0.98x (?)
ObjectiveCBridgeFromNSSetAnyObject 57150 57442 +0.5% 0.99x (?)
ObjectiveCBridgeFromNSSetAnyObjectForced 4218 4222 +0.1% 1.00x (?)
ObjectiveCBridgeFromNSSetAnyObjectToString 72943 73772 +1.1% 0.99x (?)
ObjectiveCBridgeFromNSString 1427 1404 -1.6% 1.02x (?)
ObjectiveCBridgeFromNSStringForced 2545 2534 -0.4% 1.00x (?)
ObjectiveCBridgeStubDataAppend 3455 3433 -0.6% 1.01x (?)
ObjectiveCBridgeStubDateMutation 231 231 +0.0% 1.00x
ObjectiveCBridgeStubFromArrayOfNSString 27396 28312 +3.3% 0.97x (?)
ObjectiveCBridgeStubFromNSDate 3711 3709 -0.1% 1.00x (?)
ObjectiveCBridgeStubFromNSString 920 906 -1.5% 1.02x (?)
ObjectiveCBridgeStubFromNSStringRef 152 146 -3.9% 1.04x (?)
ObjectiveCBridgeStubNSDataAppend 2248 2260 +0.5% 0.99x (?)
ObjectiveCBridgeStubNSDateMutationRef 11296 11282 -0.1% 1.00x (?)
ObjectiveCBridgeStubToArrayOfNSString 26118 25349 -2.9% 1.03x (?)
ObjectiveCBridgeStubToNSDate 12767 13104 +2.6% 0.97x (?)
ObjectiveCBridgeStubToNSDateRef 2970 2973 +0.1% 1.00x (?)
ObjectiveCBridgeStubToNSString 1297 1299 +0.2% 1.00x (?)
ObjectiveCBridgeStubToNSStringRef 105 105 +0.0% 1.00x
ObjectiveCBridgeStubURLAppendPath 300593 303917 +1.1% 0.99x (?)
ObjectiveCBridgeStubURLAppendPathRef 312720 307415 -1.7% 1.02x (?)
ObjectiveCBridgeToNSArray 25675 25761 +0.3% 1.00x (?)
ObjectiveCBridgeToNSDictionary 56321 56626 +0.5% 0.99x (?)
ObjectiveCBridgeToNSSet 46739 47044 +0.7% 0.99x (?)
ObjectiveCBridgeToNSString 1097 1110 +1.2% 0.99x (?)
ObserverClosure 1784 1767 -1.0% 1.01x
ObserverForwarderStruct 913 911 -0.2% 1.00x (?)
ObserverPartiallyAppliedMethod 3152 3167 +0.5% 1.00x (?)
ObserverUnappliedMethod 1886 1888 +0.1% 1.00x (?)
OpenClose 225 233 +3.6% 0.97x
PartialApplyDynamicType 0 0 +0.0% 1.00x
Phonebook 3611 3700 +2.5% 0.98x
PointerArithmetics 30820 30813 -0.0% 1.00x (?)
PolymorphicCalls 22 22 +0.0% 1.00x
PopFrontArray 1677 1681 +0.2% 1.00x (?)
PopFrontArrayGeneric 1677 1680 +0.2% 1.00x (?)
PopFrontUnsafePointer 7944 7945 +0.0% 1.00x (?)
PrefixAnyCollection 68 68 +0.0% 1.00x
PrefixAnyCollectionLazy 58370 58423 +0.1% 1.00x (?)
PrefixAnySeqCRangeIter 13543 13560 +0.1% 1.00x (?)
PrefixAnySeqCRangeIterLazy 13542 13561 +0.1% 1.00x (?)
PrefixAnySeqCntRange 64 64 +0.0% 1.00x
PrefixAnySeqCntRangeLazy 64 64 +0.0% 1.00x
PrefixAnySequence 3334 3295 -1.2% 1.01x
PrefixAnySequenceLazy 3305 3294 -0.3% 1.00x
PrefixArray 31 31 +0.0% 1.00x
PrefixArrayLazy 31 31 +0.0% 1.00x
PrefixCountableRange 31 31 +0.0% 1.00x
PrefixCountableRangeLazy 31 31 +0.0% 1.00x
PrefixSequence 1172 1172 +0.0% 1.00x
PrefixSequenceLazy 1236 1235 -0.1% 1.00x (?)
PrefixWhileAnyCollection 131 131 +0.0% 1.00x
PrefixWhileAnyCollectionLazy 95 95 +0.0% 1.00x
PrefixWhileAnySeqCRangeIter 8385 8384 -0.0% 1.00x (?)
PrefixWhileAnySeqCRangeIterLazy 95 95 +0.0% 1.00x
PrefixWhileAnySeqCntRange 127 127 +0.0% 1.00x
PrefixWhileAnySeqCntRangeLazy 95 95 +0.0% 1.00x
PrefixWhileAnySequence 9400 9383 -0.2% 1.00x (?)
PrefixWhileAnySequenceLazy 1232 1232 +0.0% 1.00x
PrefixWhileArray 79 79 +0.0% 1.00x
PrefixWhileArrayLazy 63 63 +0.0% 1.00x
PrefixWhileCountableRange 48 48 +0.0% 1.00x
PrefixWhileCountableRangeLazy 31 31 +0.0% 1.00x
PrefixWhileSequence 349 349 +0.0% 1.00x
PrefixWhileSequenceLazy 47 47 +0.0% 1.00x
Prims 692 687 -0.7% 1.01x (?)
PrimsSplit 694 689 -0.7% 1.01x (?)
RC4 147 147 +0.0% 1.00x
RGBHistogram 2510 2505 -0.2% 1.00x (?)
RGBHistogramOfObjects 20537 20494 -0.2% 1.00x (?)
RangeAssignment 339 339 +0.0% 1.00x
RangeIterationSigned 179 179 +0.0% 1.00x
RangeIterationSigned64 179 179 +0.0% 1.00x
RangeIterationUnsigned 179 179 +0.0% 1.00x
RangeReplaceableCollectionPlusDefault 846 857 +1.3% 0.99x (?)
RecursiveOwnedParameter 2037 2037 +0.0% 1.00x
ReversedArray 51 51 +0.0% 1.00x
ReversedBidirectional 13816 13756 -0.4% 1.00x (?)
ReversedDictionary 94 93 -1.1% 1.01x (?)
RomanNumbers 96107 99066 +3.1% 0.97x (?)
SetExclusiveOr 3232 3189 -1.3% 1.01x (?)
SetExclusiveOr_OfObjects 7574 7549 -0.3% 1.00x (?)
SetIntersect 285 287 +0.7% 0.99x (?)
SetIntersect_OfObjects 1542 1531 -0.7% 1.01x
SetIsSubsetOf 261 261 +0.0% 1.00x
SetIsSubsetOf_OfObjects 313 313 +0.0% 1.00x
SetUnion 2667 2626 -1.5% 1.02x (?)
SetUnion_OfObjects 6278 6323 +0.7% 0.99x (?)
SevenBoom 1328 1321 -0.5% 1.01x (?)
Sim2DArray 367 366 -0.3% 1.00x
SortLargeExistentials 6066 6111 +0.7% 0.99x
SortLettersInPlace 983 984 +0.1% 1.00x (?)
SortSortedStrings 1003 1036 +3.3% 0.97x
SortStrings 1770 1818 +2.7% 0.97x
SortStringsUnicode 13702 13661 -0.3% 1.00x (?)
StackPromo 19523 19541 +0.1% 1.00x (?)
StaticArray 5 5 +0.0% 1.00x
StrComplexWalk 1405 1405 +0.0% 1.00x
StrToInt 1885 1884 -0.1% 1.00x (?)
StringAdder 3675 3679 +0.1% 1.00x (?)
StringBuilder 1164 1163 -0.1% 1.00x (?)
StringBuilderLong 939 934 -0.5% 1.01x (?)
StringComparison_abnormal 763 762 -0.1% 1.00x (?)
StringComparison_ascii 848 876 +3.3% 0.97x
StringComparison_emoji 2206 2203 -0.1% 1.00x (?)
StringComparison_fastPrenormal 7769 7747 -0.3% 1.00x (?)
StringComparison_latin1 5312 5298 -0.3% 1.00x (?)
StringComparison_longSharedPrefix 10080 10083 +0.0% 1.00x (?)
StringComparison_nonBMPSlowestPrenormal 4044 4051 +0.2% 1.00x (?)
StringComparison_slowerPrenormal 3700 3679 -0.6% 1.01x (?)
StringComparison_zalgo 1507 1513 +0.4% 1.00x (?)
StringEdits 166503 167751 +0.7% 0.99x (?)
StringEnumRawValueInitialization 1184 1183 -0.1% 1.00x (?)
StringEqualPointerComparison 256 256 +0.0% 1.00x
StringFromLongWholeSubstring 18 18 +0.0% 1.00x
StringFromLongWholeSubstringGeneric 9 9 +0.0% 1.00x
StringHasPrefixAscii 1412 1463 +3.6% 0.97x
StringHasPrefixUnicode 25241 25247 +0.0% 1.00x (?)
StringHasSuffixAscii 1515 1566 +3.4% 0.97x
StringHasSuffixUnicode 79252 78994 -0.3% 1.00x (?)
StringInterpolation 7783 7729 -0.7% 1.01x (?)
StringMatch 6690 6656 -0.5% 1.01x (?)
StringRemoveDupes 977 968 -0.9% 1.01x (?)
StringUTF16Builder 2030 2031 +0.0% 1.00x (?)
StringWalk 1415 1487 +5.1% 0.95x
StringWithCString 46601 44542 -4.4% 1.05x
StringWordBuilder 1099 1099 +0.0% 1.00x
StringWordBuilderReservingCapacity 859 858 -0.1% 1.00x (?)
SubstringComparable 1809 1810 +0.1% 1.00x (?)
SubstringEqualString 1874 1873 -0.1% 1.00x (?)
SubstringEquatable 2836 2835 -0.0% 1.00x (?)
SubstringFromLongString 9 9 +0.0% 1.00x
SubstringFromLongStringGeneric 63 62 -1.6% 1.02x
SuffixAnyCollection 25 25 +0.0% 1.00x
SuffixAnyCollectionLazy 21255 21196 -0.3% 1.00x (?)
SuffixAnySeqCRangeIter 3406 3409 +0.1% 1.00x (?)
SuffixAnySeqCRangeIterLazy 3404 3404 +0.0% 1.00x
SuffixAnySeqCntRange 21 21 +0.0% 1.00x
SuffixAnySeqCntRangeLazy 21 21 +0.0% 1.00x
SuffixAnySequence 4533 4516 -0.4% 1.00x (?)
SuffixAnySequenceLazy 4615 4602 -0.3% 1.00x (?)
SuffixCountableRange 10 10 +0.0% 1.00x
SuffixCountableRangeLazy 10 10 +0.0% 1.00x
SuffixSequence 3378 3374 -0.1% 1.00x (?)
SuffixSequenceLazy 3392 3377 -0.4% 1.00x (?)
SumUsingReduce 87 87 +0.0% 1.00x
SumUsingReduceInto 87 87 +0.0% 1.00x
SuperChars 35644 35585 -0.2% 1.00x (?)
TwoSum 905 890 -1.7% 1.02x (?)
TypeFlood 0 0 +0.0% 1.00x
UTF8Decode 280 280 +0.0% 1.00x
Walsh 394 394 +0.0% 1.00x
WordCountHistogramASCII 7741 7901 +2.1% 0.98x
WordCountHistogramUTF16 46700 46800 +0.2% 1.00x (?)
WordCountUniqueASCII 2246 2293 +2.1% 0.98x (?)
WordCountUniqueUTF16 19681 19636 -0.2% 1.00x (?)
WordSplitASCII 19418 19151 -1.4% 1.01x (?)
WordSplitUTF16 20047 19860 -0.9% 1.01x (?)
XorLoop 327 327 +0.0% 1.00x
Added (1)
TEST MIN MAX MEAN MAX_RSS
DoubleWidthDivision 252 253 252 4654285

Unoptimized (Onone)

Regression (6)
TEST OLD NEW DELTA SPEEDUP
TypeFlood 139 153 +10.1% 0.91x (?)
RecursiveOwnedParameter 7014 7518 +7.2% 0.93x
CharIndexing_japanese_unicodeScalars 392008 419919 +7.1% 0.93x (?)
PolymorphicCalls 5601 5944 +6.1% 0.94x
StringInterpolation 11315 11918 +5.3% 0.95x (?)
BitCount 1884 1984 +5.3% 0.95x
Improvement (8)
TEST OLD NEW DELTA SPEEDUP
StringComparison_ascii 9611 8521 -11.3% 1.13x
ObjectiveCBridgeFromNSStringForced 3285 2935 -10.7% 1.12x (?)
ExclusivityIndependent 70 63 -10.0% 1.11x (?)
ObjectiveCBridgeFromNSString 3630 3324 -8.4% 1.09x (?)
ReversedBidirectional 40791 37862 -7.2% 1.08x (?)
ObjectiveCBridgeFromNSSetAnyObjectForced 6690 6235 -6.8% 1.07x (?)
ObjectiveCBridgeStubURLAppendPath 318084 301993 -5.1% 1.05x (?)
CharIteration_tweet_unicodeScalars_Backwards 611735 582113 -4.8% 1.05x (?)
No Changes (343)
TEST OLD NEW DELTA SPEEDUP
AngryPhonebook 4450 4443 -0.2% 1.00x (?)
AnyHashableWithAClass 78198 80493 +2.9% 0.97x (?)
Array2D 566872 567182 +0.1% 1.00x (?)
ArrayAppend 4346 4451 +2.4% 0.98x
ArrayAppendArrayOfInt 666 666 +0.0% 1.00x
ArrayAppendAscii 44751 44499 -0.6% 1.01x (?)
ArrayAppendFromGeneric 669 669 +0.0% 1.00x
ArrayAppendGenericStructs 1194 1193 -0.1% 1.00x (?)
ArrayAppendLatin1 55989 55747 -0.4% 1.00x
ArrayAppendLazyMap 150750 151144 +0.3% 1.00x
ArrayAppendOptionals 1193 1194 +0.1% 1.00x (?)
ArrayAppendRepeatCol 154317 154721 +0.3% 1.00x (?)
ArrayAppendReserved 4023 4229 +5.1% 0.95x
ArrayAppendSequence 129830 129896 +0.1% 1.00x (?)
ArrayAppendStrings 13751 13777 +0.2% 1.00x (?)
ArrayAppendToFromGeneric 665 665 +0.0% 1.00x
ArrayAppendToGeneric 665 667 +0.3% 1.00x
ArrayAppendUTF16 53676 53790 +0.2% 1.00x (?)
ArrayInClass 5601 5607 +0.1% 1.00x (?)
ArrayLiteral 1506 1508 +0.1% 1.00x (?)
ArrayOfGenericPOD2 954 955 +0.1% 1.00x (?)
ArrayOfGenericRef 8921 8894 -0.3% 1.00x (?)
ArrayOfPOD 669 670 +0.1% 1.00x (?)
ArrayOfRef 8441 8230 -2.5% 1.03x
ArrayPlusEqualArrayOfInt 663 664 +0.2% 1.00x (?)
ArrayPlusEqualFiveElementCollection 205447 206092 +0.3% 1.00x (?)
ArrayPlusEqualSingleElementCollection 204965 203965 -0.5% 1.00x (?)
ArrayPlusEqualThreeElements 8136 8105 -0.4% 1.00x (?)
ArraySubscript 72859 73066 +0.3% 1.00x (?)
ArrayValueProp 3086 3100 +0.5% 1.00x (?)
ArrayValueProp2 14283 14171 -0.8% 1.01x (?)
ArrayValueProp3 3550 3479 -2.0% 1.02x
ArrayValueProp4 3475 3442 -0.9% 1.01x (?)
BinaryFloatingPointConversionFromBinaryInteger 5543 5586 +0.8% 0.99x (?)
ByteSwap 3494 3526 +0.9% 0.99x
COWTree 10980 10712 -2.4% 1.03x (?)
CSVParsing 2481804 2500949 +0.8% 0.99x
CSVParsingAlt 1185500 1160019 -2.1% 1.02x (?)
CSVParsingAltIndices 2332508 2306187 -1.1% 1.01x (?)
CStringLongAscii 5159 5209 +1.0% 0.99x (?)
CStringLongNonAscii 1889 1886 -0.2% 1.00x (?)
CStringShortAscii 6850 6896 +0.7% 0.99x (?)
Calculator 1504 1519 +1.0% 0.99x
CaptureProp 306363 309153 +0.9% 0.99x (?)
CharIndexing_ascii_unicodeScalars 321217 330343 +2.8% 0.97x (?)
CharIndexing_ascii_unicodeScalars_Backwards 380446 387211 +1.8% 0.98x (?)
CharIndexing_chinese_unicodeScalars 242349 246256 +1.6% 0.98x (?)
CharIndexing_chinese_unicodeScalars_Backwards 289118 301966 +4.4% 0.96x (?)
CharIndexing_japanese_unicodeScalars_Backwards 460037 470322 +2.2% 0.98x (?)
CharIndexing_korean_unicodeScalars 310219 309223 -0.3% 1.00x (?)
CharIndexing_korean_unicodeScalars_Backwards 371186 380329 +2.5% 0.98x (?)
CharIndexing_punctuatedJapanese_unicodeScalars 56401 56170 -0.4% 1.00x (?)
CharIndexing_punctuatedJapanese_unicodeScalars_Backwards 66604 68631 +3.0% 0.97x (?)
CharIndexing_punctuated_unicodeScalars 72262 71310 -1.3% 1.01x (?)
CharIndexing_punctuated_unicodeScalars_Backwards 87341 84776 -2.9% 1.03x (?)
CharIndexing_russian_unicodeScalars 266513 270149 +1.4% 0.99x (?)
CharIndexing_russian_unicodeScalars_Backwards 318481 322195 +1.2% 0.99x (?)
CharIndexing_tweet_unicodeScalars 632248 635925 +0.6% 0.99x (?)
CharIndexing_tweet_unicodeScalars_Backwards 768313 791683 +3.0% 0.97x (?)
CharIndexing_utf16_unicodeScalars 281892 271692 -3.6% 1.04x (?)
CharIndexing_utf16_unicodeScalars_Backwards 310261 325248 +4.8% 0.95x (?)
CharIteration_ascii_unicodeScalars 139931 139041 -0.6% 1.01x (?)
CharIteration_ascii_unicodeScalars_Backwards 299176 297077 -0.7% 1.01x (?)
CharIteration_chinese_unicodeScalars 105856 108816 +2.8% 0.97x
CharIteration_chinese_unicodeScalars_Backwards 223467 224729 +0.6% 0.99x (?)
CharIteration_japanese_unicodeScalars 167456 171297 +2.3% 0.98x
CharIteration_japanese_unicodeScalars_Backwards 355269 355182 -0.0% 1.00x (?)
CharIteration_korean_unicodeScalars 135924 134337 -1.2% 1.01x
CharIteration_korean_unicodeScalars_Backwards 286552 284670 -0.7% 1.01x (?)
CharIteration_punctuatedJapanese_unicodeScalars 25592 24827 -3.0% 1.03x (?)
CharIteration_punctuatedJapanese_unicodeScalars_Backwards 52015 51904 -0.2% 1.00x (?)
CharIteration_punctuated_unicodeScalars 31489 31633 +0.5% 1.00x (?)
CharIteration_punctuated_unicodeScalars_Backwards 65625 68674 +4.6% 0.96x (?)
CharIteration_russian_unicodeScalars 116443 115335 -1.0% 1.01x (?)
CharIteration_russian_unicodeScalars_Backwards 250769 247822 -1.2% 1.01x (?)
CharIteration_tweet_unicodeScalars 275739 274043 -0.6% 1.01x (?)
CharIteration_utf16_unicodeScalars 117517 116948 -0.5% 1.00x (?)
CharIteration_utf16_unicodeScalars_Backwards 250091 244446 -2.3% 1.02x (?)
CharacterLiteralsLarge 5074 5038 -0.7% 1.01x (?)
CharacterLiteralsSmall 635 663 +4.4% 0.96x
CharacterPropertiesFetch 4666 4668 +0.0% 1.00x (?)
CharacterPropertiesPrecomputed 3871 3850 -0.5% 1.01x (?)
CharacterPropertiesStashed 2078 2070 -0.4% 1.00x (?)
CharacterPropertiesStashedMemo 4432 4587 +3.5% 0.97x (?)
Chars 35031 35239 +0.6% 0.99x
ClassArrayGetter 876 876 +0.0% 1.00x
Combos 1795 1814 +1.1% 0.99x (?)
DictOfArraysToArrayOfDicts 3011 3042 +1.0% 0.99x (?)
Dictionary 2358 2364 +0.3% 1.00x (?)
Dictionary2 2646 2641 -0.2% 1.00x (?)
Dictionary2OfObjects 4994 5056 +1.2% 0.99x (?)
Dictionary3 1204 1201 -0.2% 1.00x (?)
Dictionary3OfObjects 2009 2055 +2.3% 0.98x (?)
DictionaryBridge 2054 2042 -0.6% 1.01x (?)
DictionaryGroup 3927 3954 +0.7% 0.99x
DictionaryGroupOfObjects 6614 6600 -0.2% 1.00x (?)
DictionaryLiteral 7514 7453 -0.8% 1.01x (?)
DictionaryOfObjects 5476 5458 -0.3% 1.00x (?)
DictionaryRemove 16529 16382 -0.9% 1.01x
DictionaryRemoveOfObjects 43740 43749 +0.0% 1.00x (?)
DictionarySubscriptDefaultMutation 1805 1799 -0.3% 1.00x
DictionarySubscriptDefaultMutationArray 2015 2016 +0.0% 1.00x (?)
DictionarySubscriptDefaultMutationArrayOfObjects 8024 7938 -1.1% 1.01x (?)
DictionarySubscriptDefaultMutationOfObjects 5133 4957 -3.4% 1.04x (?)
DictionarySwap 4736 4685 -1.1% 1.01x
DictionarySwapOfObjects 19933 19941 +0.0% 1.00x (?)
DropFirstAnyCollection 13082 13182 +0.8% 0.99x
DropFirstAnyCollectionLazy 91246 95267 +4.4% 0.96x (?)
DropFirstAnySeqCRangeIter 19461 19461 +0.0% 1.00x
DropFirstAnySeqCRangeIterLazy 19551 19517 -0.2% 1.00x (?)
DropFirstAnySeqCntRange 12895 12885 -0.1% 1.00x (?)
DropFirstAnySeqCntRangeLazy 12996 12863 -1.0% 1.01x
DropFirstAnySequence 9533 9475 -0.6% 1.01x
DropFirstAnySequenceLazy 9498 9546 +0.5% 0.99x
DropFirstArray 3356 3356 +0.0% 1.00x
DropFirstArrayLazy 22981 22678 -1.3% 1.01x (?)
DropFirstCountableRange 293 295 +0.7% 0.99x
DropFirstCountableRangeLazy 23775 23915 +0.6% 0.99x (?)
DropFirstSequence 9199 9298 +1.1% 0.99x
DropFirstSequenceLazy 9224 9156 -0.7% 1.01x
DropLastAnyCollection 4357 4408 +1.2% 0.99x
DropLastAnyCollectionLazy 30855 31322 +1.5% 0.99x (?)
DropLastAnySeqCRangeIter 34848 34946 +0.3% 1.00x (?)
DropLastAnySeqCRangeIterLazy 34900 35035 +0.4% 1.00x (?)
DropLastAnySeqCntRange 4249 4320 +1.7% 0.98x
DropLastAnySeqCntRangeLazy 4316 4279 -0.9% 1.01x
DropLastAnySequence 26032 26071 +0.1% 1.00x (?)
DropLastAnySequenceLazy 26003 26251 +1.0% 0.99x
DropLastCountableRange 102 101 -1.0% 1.01x
DropLastCountableRangeLazy 7939 7971 +0.4% 1.00x (?)
DropLastSequence 26110 25907 -0.8% 1.01x
DropLastSequenceLazy 25974 25940 -0.1% 1.00x (?)
DropWhileAnyCollection 16728 16705 -0.1% 1.00x (?)
DropWhileAnyCollectionLazy 17766 17775 +0.1% 1.00x (?)
DropWhileAnySeqCRangeIter 21159 21073 -0.4% 1.00x (?)
DropWhileAnySeqCRangeIterLazy 17992 18130 +0.8% 0.99x (?)
DropWhileAnySeqCntRange 16548 16402 -0.9% 1.01x
DropWhileAnySeqCntRangeLazy 17752 17714 -0.2% 1.00x
DropWhileAnySequence 10989 11039 +0.5% 1.00x
DropWhileAnySequenceLazy 8869 8887 +0.2% 1.00x (?)
DropWhileArrayLazy 12330 12344 +0.1% 1.00x (?)
DropWhileCountableRange 4051 3928 -3.0% 1.03x
DropWhileCountableRangeLazy 17411 17353 -0.3% 1.00x (?)
DropWhileSequence 10590 10650 +0.6% 0.99x (?)
DropWhileSequenceLazy 8583 8857 +3.2% 0.97x
EqualStringSubstring 420 418 -0.5% 1.00x
EqualSubstringString 422 418 -0.9% 1.01x
EqualSubstringSubstring 421 420 -0.2% 1.00x (?)
EqualSubstringSubstringGenericEquatable 427 427 +0.0% 1.00x
ErrorHandling 6192 6232 +0.6% 0.99x (?)
ExclusivityGlobal 177 169 -4.5% 1.05x
FilterEvenUsingReduce 3348 3345 -0.1% 1.00x (?)
FilterEvenUsingReduceInto 1801 1775 -1.4% 1.01x (?)
FrequenciesUsingReduce 9842 9535 -3.1% 1.03x (?)
FrequenciesUsingReduceInto 4921 4873 -1.0% 1.01x (?)
Hanoi 18220 18210 -0.1% 1.00x (?)
HashTest 15048 15123 +0.5% 1.00x (?)
Histogram 5814 5859 +0.8% 0.99x (?)
Integrate 745 728 -2.3% 1.02x (?)
IterateData 6961 7140 +2.6% 0.97x
Join 979 975 -0.4% 1.00x
LazilyFilteredArrayContains 703095 704143 +0.1% 1.00x (?)
LazilyFilteredArrays 1301291 1307337 +0.5% 1.00x (?)
LazilyFilteredRange 443120 439672 -0.8% 1.01x
LessSubstringSubstring 422 421 -0.2% 1.00x
LessSubstringSubstringGenericComparable 426 424 -0.5% 1.00x (?)
LinkedList 27704 28232 +1.9% 0.98x
LuhnAlgoEager 4513 4421 -2.0% 1.02x (?)
LuhnAlgoLazy 4649 4545 -2.2% 1.02x (?)
MapReduce 25267 24881 -1.5% 1.02x
MapReduceAnyCollection 25042 25056 +0.1% 1.00x (?)
MapReduceAnyCollectionShort 35991 35616 -1.0% 1.01x (?)
MapReduceClass 28646 28634 -0.0% 1.00x (?)
MapReduceClassShort 38811 38389 -1.1% 1.01x (?)
MapReduceLazyCollection 20649 20664 +0.1% 1.00x (?)
MapReduceLazyCollectionShort 30573 29886 -2.2% 1.02x (?)
MapReduceLazySequence 16320 16329 +0.1% 1.00x (?)
MapReduceSequence 27287 27402 +0.4% 1.00x
MapReduceShort 35270 34380 -2.5% 1.03x
MapReduceShortString 218 215 -1.4% 1.01x (?)
MapReduceString 1728 1724 -0.2% 1.00x (?)
Memset 40336 40324 -0.0% 1.00x (?)
MonteCarloE 801865 798176 -0.5% 1.00x (?)
MonteCarloPi 3482149 3468738 -0.4% 1.00x (?)
NSDictionaryCastToSwift 5690 5823 +2.3% 0.98x (?)
NSError 627 616 -1.8% 1.02x (?)
NSStringConversion 338 341 +0.9% 0.99x
NibbleSort 275326 274905 -0.2% 1.00x (?)
NopDeinit 158141 156945 -0.8% 1.01x
ObjectAllocation 1167 1181 +1.2% 0.99x (?)
ObjectiveCBridgeFromNSArrayAnyObject 22838 21888 -4.2% 1.04x (?)
ObjectiveCBridgeFromNSArrayAnyObjectForced 8035 7714 -4.0% 1.04x (?)
ObjectiveCBridgeFromNSArrayAnyObjectToString 44398 45160 +1.7% 0.98x (?)
ObjectiveCBridgeFromNSArrayAnyObjectToStringForced 39932 41807 +4.7% 0.96x (?)
ObjectiveCBridgeFromNSDictionaryAnyObject 119696 120928 +1.0% 0.99x (?)
ObjectiveCBridgeFromNSSetAnyObject 61504 61325 -0.3% 1.00x (?)
ObjectiveCBridgeFromNSSetAnyObjectToString 81538 82170 +0.8% 0.99x (?)
ObjectiveCBridgeStubDataAppend 4036 4179 +3.5% 0.97x (?)
ObjectiveCBridgeStubDateMutation 593 565 -4.7% 1.05x
ObjectiveCBridgeStubFromArrayOfNSString 31444 30878 -1.8% 1.02x (?)
ObjectiveCBridgeStubFromNSDate 4069 3987 -2.0% 1.02x
ObjectiveCBridgeStubFromNSString 966 948 -1.9% 1.02x
ObjectiveCBridgeStubFromNSStringRef 183 186 +1.6% 0.98x (?)
ObjectiveCBridgeStubNSDataAppend 2811 2820 +0.3% 1.00x (?)
ObjectiveCBridgeStubNSDateMutationRef 13847 13972 +0.9% 0.99x (?)
ObjectiveCBridgeStubToArrayOfNSString 26467 26091 -1.4% 1.01x (?)
ObjectiveCBridgeStubToNSDate 13451 12872 -4.3% 1.04x (?)
ObjectiveCBridgeStubToNSDateRef 3025 3018 -0.2% 1.00x (?)
ObjectiveCBridgeStubToNSString 1330 1324 -0.5% 1.00x (?)
ObjectiveCBridgeStubToNSStringRef 145 147 +1.4% 0.99x
ObjectiveCBridgeStubURLAppendPathRef 310923 316988 +2.0% 0.98x (?)
ObjectiveCBridgeToNSArray 25895 25945 +0.2% 1.00x (?)
ObjectiveCBridgeToNSDictionary 58162 58858 +1.2% 0.99x (?)
ObjectiveCBridgeToNSSet 47750 49377 +3.4% 0.97x (?)
ObjectiveCBridgeToNSString 1115 1131 +1.4% 0.99x
ObserverClosure 5437 5429 -0.1% 1.00x (?)
ObserverForwarderStruct 3923 4038 +2.9% 0.97x
ObserverPartiallyAppliedMethod 6617 6708 +1.4% 0.99x (?)
ObserverUnappliedMethod 6929 7066 +2.0% 0.98x
OpenClose 505 519 +2.8% 0.97x
PartialApplyDynamicType 35278 34945 -0.9% 1.01x (?)
Phonebook 18505 18481 -0.1% 1.00x
PointerArithmetics 102690 102213 -0.5% 1.00x (?)
PopFrontArray 6140 6089 -0.8% 1.01x
PopFrontArrayGeneric 5150 5110 -0.8% 1.01x
PopFrontUnsafePointer 9587 9646 +0.6% 0.99x (?)
PrefixAnyCollection 13074 13185 +0.8% 0.99x
PrefixAnyCollectionLazy 89258 90215 +1.1% 0.99x (?)
PrefixAnySeqCRangeIter 15683 15633 -0.3% 1.00x (?)
PrefixAnySeqCRangeIterLazy 15701 15804 +0.7% 0.99x
PrefixAnySeqCntRange 12897 12937 +0.3% 1.00x (?)
PrefixAnySeqCntRangeLazy 12900 12790 -0.9% 1.01x
PrefixAnySequence 7928 7976 +0.6% 0.99x
PrefixAnySequenceLazy 7981 8108 +1.6% 0.98x
PrefixArray 3355 3332 -0.7% 1.01x
PrefixArrayLazy 22996 22741 -1.1% 1.01x (?)
PrefixCountableRange 293 294 +0.3% 1.00x
PrefixCountableRangeLazy 23832 23998 +0.7% 0.99x (?)
PrefixSequence 7664 7675 +0.1% 1.00x (?)
PrefixSequenceLazy 7692 7863 +2.2% 0.98x
PrefixWhileAnyCollection 23719 23834 +0.5% 1.00x (?)
PrefixWhileAnyCollectionLazy 14776 14800 +0.2% 1.00x (?)
PrefixWhileAnySeqCRangeIter 30588 30496 -0.3% 1.00x (?)
PrefixWhileAnySeqCRangeIterLazy 15043 15048 +0.0% 1.00x (?)
PrefixWhileAnySeqCntRange 23587 23452 -0.6% 1.01x
PrefixWhileAnySeqCntRangeLazy 14783 14668 -0.8% 1.01x (?)
PrefixWhileAnySequence 23785 23870 +0.4% 1.00x (?)
PrefixWhileAnySequenceLazy 8091 8071 -0.2% 1.00x (?)
PrefixWhileArray 10525 10342 -1.7% 1.02x (?)
PrefixWhileArrayLazy 10580 10737 +1.5% 0.99x
PrefixWhileCountableRange 11091 11010 -0.7% 1.01x
PrefixWhileCountableRangeLazy 14579 14489 -0.6% 1.01x (?)
PrefixWhileSequence 23499 23552 +0.2% 1.00x (?)
PrefixWhileSequenceLazy 8011 7827 -2.3% 1.02x
Prims 8905 8880 -0.3% 1.00x (?)
PrimsSplit 9020 8934 -1.0% 1.01x (?)
RC4 14875 15584 +4.8% 0.95x
RGBHistogram 23926 23776 -0.6% 1.01x (?)
RGBHistogramOfObjects 84702 84921 +0.3% 1.00x (?)
RangeAssignment 2443 2500 +2.3% 0.98x
RangeIterationSigned 15129 15125 -0.0% 1.00x (?)
RangeIterationSigned64 36495 36626 +0.4% 1.00x (?)
RangeIterationUnsigned 32393 32258 -0.4% 1.00x (?)
RangeReplaceableCollectionPlusDefault 7466 7338 -1.7% 1.02x (?)
ReversedArray 11677 11730 +0.5% 1.00x
ReversedDictionary 20068 20021 -0.2% 1.00x (?)
RomanNumbers 1070769 1075501 +0.4% 1.00x (?)
SetExclusiveOr 15255 15278 +0.2% 1.00x
SetExclusiveOr_OfObjects 37229 37124 -0.3% 1.00x (?)
SetIntersect 7378 7391 +0.2% 1.00x (?)
SetIntersect_OfObjects 10954 10937 -0.2% 1.00x
SetIsSubsetOf 1190 1195 +0.4% 1.00x (?)
SetIsSubsetOf_OfObjects 1376 1372 -0.3% 1.00x (?)
SetUnion 10474 10557 +0.8% 0.99x
SetUnion_OfObjects 26042 25956 -0.3% 1.00x (?)
SevenBoom 1442 1434 -0.6% 1.01x (?)
Sim2DArray 39275 39285 +0.0% 1.00x (?)
SortLargeExistentials 13959 13951 -0.1% 1.00x (?)
SortLettersInPlace 2555 2549 -0.2% 1.00x (?)
SortSortedStrings 1182 1204 +1.9% 0.98x
SortStrings 2160 2225 +3.0% 0.97x
SortStringsUnicode 14481 14542 +0.4% 1.00x
StackPromo 76585 76832 +0.3% 1.00x (?)
StaticArray 2339 2402 +2.7% 0.97x
StrComplexWalk 5976 5971 -0.1% 1.00x
StrToInt 51456 51772 +0.6% 0.99x (?)
StringAdder 4096 4089 -0.2% 1.00x (?)
StringBuilder 6179 6057 -2.0% 1.02x (?)
StringBuilderLong 2436 2430 -0.2% 1.00x (?)
StringComparison_abnormal 1274 1286 +0.9% 0.99x (?)
StringComparison_emoji 3371 3402 +0.9% 0.99x (?)
StringComparison_fastPrenormal 11926 11992 +0.6% 0.99x (?)
StringComparison_latin1 8567 8557 -0.1% 1.00x (?)
StringComparison_longSharedPrefix 11722 11524 -1.7% 1.02x
StringComparison_nonBMPSlowestPrenormal 6142 6141 -0.0% 1.00x (?)
StringComparison_slowerPrenormal 6140 6111 -0.5% 1.00x (?)
StringComparison_zalgo 2556 2563 +0.3% 1.00x (?)
StringEdits 330723 338652 +2.4% 0.98x (?)
StringEnumRawValueInitialization 18633 18683 +0.3% 1.00x (?)
StringEqualPointerComparison 2837 2902 +2.3% 0.98x
StringFromLongWholeSubstring 20 20 +0.0% 1.00x
StringFromLongWholeSubstringGeneric 177 179 +1.1% 0.99x (?)
StringHasPrefixAscii 2748 2732 -0.6% 1.01x
StringHasPrefixUnicode 27796 27871 +0.3% 1.00x (?)
StringHasSuffixAscii 2820 2866 +1.6% 0.98x
StringHasSuffixUnicode 81556 81953 +0.5% 1.00x (?)
StringMatch 29560 29719 +0.5% 0.99x (?)
StringRemoveDupes 1299 1283 -1.2% 1.01x (?)
StringUTF16Builder 6687 6696 +0.1% 1.00x (?)
StringWalk 12271 12096 -1.4% 1.01x
StringWithCString 43411 43479 +0.2% 1.00x (?)
StringWordBuilder 2352 2256 -4.1% 1.04x
StringWordBuilderReservingCapacity 1899 1843 -2.9% 1.03x
SubstringComparable 3657 3651 -0.2% 1.00x (?)
SubstringEqualString 3107 3155 +1.5% 0.98x (?)
SubstringEquatable 7047 6962 -1.2% 1.01x (?)
SubstringFromLongString 22 22 +0.0% 1.00x
SubstringFromLongStringGeneric 92 92 +0.0% 1.00x
SuffixAnyCollection 4368 4411 +1.0% 0.99x
SuffixAnyCollectionLazy 31115 30904 -0.7% 1.01x (?)
SuffixAnySeqCRangeIter 31204 31249 +0.1% 1.00x (?)
SuffixAnySeqCRangeIterLazy 31190 31294 +0.3% 1.00x (?)
SuffixAnySeqCntRange 4292 4324 +0.7% 0.99x
SuffixAnySeqCntRangeLazy 4318 4303 -0.3% 1.00x
SuffixAnySequence 22390 22516 +0.6% 0.99x (?)
SuffixAnySequenceLazy 22494 22552 +0.3% 1.00x (?)
SuffixCountableRange 101 101 +0.0% 1.00x
SuffixCountableRangeLazy 7982 7974 -0.1% 1.00x (?)
SuffixSequence 22421 22454 +0.1% 1.00x (?)
SuffixSequenceLazy 22479 22440 -0.2% 1.00x
SumUsingReduce 156843 153213 -2.3% 1.02x
SumUsingReduceInto 154641 152960 -1.1% 1.01x
SuperChars 186986 186731 -0.1% 1.00x (?)
TwoSum 3540 3566 +0.7% 0.99x (?)
UTF8Decode 26847 27877 +3.8% 0.96x
Walsh 10864 10867 +0.0% 1.00x (?)
WordCountHistogramASCII 43032 43142 +0.3% 1.00x (?)
WordCountHistogramUTF16 89088 90837 +2.0% 0.98x (?)
WordCountUniqueASCII 7183 7226 +0.6% 0.99x
WordCountUniqueUTF16 28527 29068 +1.9% 0.98x (?)
WordSplitASCII 22847 22389 -2.0% 1.02x (?)
WordSplitUTF16 23636 24305 +2.8% 0.97x (?)
XorLoop 21209 21207 -0.0% 1.00x (?)
Added (1)
TEST MIN MAX MEAN MAX_RSS
DoubleWidthDivision 342104 350009 346171 5204378
Hardware Overview
  Model Name: Mac Pro
  Model Identifier: MacPro6,1
  Processor Name: 8-Core Intel Xeon E5
  Processor Speed: 3 GHz
  Number of Processors: 1
  Total Number of Cores: 8
  L2 Cache (per Core): 256 KB
  L3 Cache: 25 MB
  Memory: 64 GB

@moiseev moiseev merged commit ea38221 into swiftlang:master Jan 22, 2018
@xwu xwu deleted the benchmark-doublewidth-division branch January 22, 2018 21:22
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.

4 participants