Skip to content

[stdlib] Correct UnsafeBufferPointer's Collection.makeIterator, add _copyContents #8902

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
Apr 21, 2017

Conversation

airspeedswift
Copy link
Member

UnsafeBuffer's Iterator typealias was giving it a different makeIterator() for when it was being used generically as a Sequence to the one available concretely. This doesn't seem to be relied on anywhere.

Discovered while giving UnsafeBuffer a _copyContents implementation, which it lacked.

@airspeedswift
Copy link
Member Author

@swift-ci Please test

@airspeedswift
Copy link
Member Author

@swift-ci Please smoke benchmark

@swift-ci
Copy link
Contributor

Build comment file:

Optimized (O)

Regression (1)
TEST OLD_MIN NEW_MIN DELTA (%) SPEEDUP
CaptureProp 4712 5003 +6.2% 0.94x
Improvement (9)
TEST OLD_MIN NEW_MIN DELTA (%) SPEEDUP
ReversedArray 50 47 -6.0% 1.06x(?)
ClassArrayGetter 14 13 -7.1% 1.08x
ExistentialTestTwoMethodCalls_IntValueBuffer4 38496 35723 -7.2% 1.08x
ExistentialTestArrayOneMethodCall_ClassValueBuffer1 15535 14239 -8.3% 1.09x
Array2D 2491 2284 -8.3% 1.09x
ExistentialTestArrayConditionalShift_IntValueBuffer1 32710 30059 -8.1% 1.09x
ExistentialTestTwoMethodCalls_IntValueBuffer2 35779 32270 -9.8% 1.11x
ExistentialTestOneMethodCall_IntValueBuffer2 18297 16287 -11.0% 1.12x
StringInterpolation 11328 8617 -23.9% 1.31x
No Changes (357)
TEST OLD_MIN NEW_MIN DELTA (%) SPEEDUP
PrefixCountableRange 23 22 -4.3% 1.05x
Phonebook 7779 7423 -4.6% 1.05x
Dictionary2OfObjects 4487 4291 -4.4% 1.05x(?)
ObjectiveCBridgeStubNSDateMutationRef 12978 12333 -5.0% 1.05x(?)
CharacterLiteralsLarge 11041 10650 -3.5% 1.04x
SortStringsUnicode 8417 8094 -3.8% 1.04x
ArrayPlusEqualFiveElementCollection 4744 4575 -3.6% 1.04x
Hanoi 3613 3481 -3.6% 1.04x
ExistentialTestArrayOneMethodCall_IntValueBuffer2 5964 5725 -4.0% 1.04x
DropFirstArray 53 51 -3.8% 1.04x
ExistentialTestPassExistentialOneMethodCall_IntValueBuffer2 79723 77171 -3.2% 1.03x
NopDeinit 30311 29490 -2.7% 1.03x
CStringShortAscii 6197 6015 -2.9% 1.03x(?)
ExistentialTestArrayTwoMethodCalls_IntValueBuffer2 8178 7906 -3.3% 1.03x
Dictionary3OfObjects 1419 1373 -3.2% 1.03x(?)
SuperChars 298676 289638 -3.0% 1.03x(?)
ArrayPlusEqualSingleElementCollection 774 750 -3.1% 1.03x
ExistentialTestOneMethodCall_IntValueBuffer4 17185 16673 -3.0% 1.03x(?)
PrefixAnySeqCRangeIterLazy 23295 22530 -3.3% 1.03x
ObjectiveCBridgeFromNSString 1452 1412 -2.8% 1.03x
ExistentialTestArrayMutating_ClassValueBuffer1 13770 13400 -2.7% 1.03x
StringEqualPointerComparison 7513 7325 -2.5% 1.03x
PrefixWhileAnySeqCntRange 155 150 -3.2% 1.03x
ObjectiveCBridgeFromNSSetAnyObjectToStringForced 80603 78352 -2.8% 1.03x(?)
ExistentialTestPassExistentialOneMethodCall_IntValueBuffer4 224372 217694 -3.0% 1.03x(?)
PrefixWhileAnyCollection 156 151 -3.2% 1.03x
SevenBoom 1471 1429 -2.9% 1.03x(?)
ArraySubscript 1493 1460 -2.2% 1.02x(?)
Histogram 250 246 -1.6% 1.02x
ExistentialTestPassExistentialOneMethodCall_IntValueBuffer0 76861 75274 -2.1% 1.02x(?)
ExistentialTestMutating_ClassValueBuffer3 19432 19024 -2.1% 1.02x(?)
StrToInt 6111 5992 -1.9% 1.02x(?)
StringHasSuffix 823 810 -1.6% 1.02x
ArrayAppendAscii 58954 57932 -1.7% 1.02x(?)
ExistentialTestMutatingAndNonMutating_IntValueBuffer2 49556 48593 -1.9% 1.02x(?)
DropFirstAnyCollection 127 124 -2.4% 1.02x
StringUTF16Builder 2220 2174 -2.1% 1.02x(?)
LazilyFilteredRange 6703 6568 -2.0% 1.02x(?)
Join 448 439 -2.0% 1.02x(?)
ObserverUnappliedMethod 2806 2749 -2.0% 1.02x
ExistentialTestMutating_IntValueBuffer4 54743 53682 -1.9% 1.02x(?)
Calculator 46 45 -2.2% 1.02x
Dictionary 942 926 -1.7% 1.02x(?)
NSDictionaryCastToSwift 5200 5092 -2.1% 1.02x(?)
ExistentialTestTwoMethodCalls_IntValueBuffer0 32255 31675 -1.8% 1.02x(?)
ExistentialTestArrayMutating_IntValueBuffer4 17731 17346 -2.2% 1.02x
DropFirstAnySeqCRangeIterLazy 28693 28183 -1.8% 1.02x(?)
ExistentialTestPassExistentialOneMethodCall_ClassValueBuffer4 208770 204614 -2.0% 1.02x
ReversedDictionary 109 107 -1.8% 1.02x
StrComplexWalk 982 963 -1.9% 1.02x(?)
ExistentialTestArrayMutating_ClassValueBuffer2 13774 13439 -2.4% 1.02x(?)
StringMatch 44959 44244 -1.6% 1.02x
DictionaryRemoveOfObjects 23140 22670 -2.0% 1.02x(?)
ExistentialTestTwoMethodCalls_ClassValueBuffer2 35928 35346 -1.6% 1.02x(?)
ExistentialTestArrayOneMethodCall_ClassValueBuffer3 33631 33094 -1.6% 1.02x(?)
ObjectiveCBridgeFromNSArrayAnyObjectForced 4534 4455 -1.7% 1.02x
ExistentialTestArrayTwoMethodCalls_IntValueBuffer1 7828 7692 -1.7% 1.02x(?)
ExistentialTestArrayConditionalShift_IntValueBuffer0 29662 29111 -1.9% 1.02x
ObjectiveCBridgeFromNSSetAnyObject 66659 65350 -2.0% 1.02x
RGBHistogramOfObjects 24642 24089 -2.2% 1.02x(?)
ObjectiveCBridgeStubToNSDate 14716 14528 -1.3% 1.01x(?)
ObjectiveCBridgeStubURLAppendPathRef 248353 245478 -1.2% 1.01x(?)
ObjectiveCBridgeStubURLAppendPath 240861 238162 -1.1% 1.01x(?)
ObjectiveCBridgeStubToArrayOfNSString 29805 29531 -0.9% 1.01x(?)
ExistentialTestMutating_ClassValueBuffer2 18807 18617 -1.0% 1.01x(?)
ObjectiveCBridgeStubNSDateRefAccess 321 318 -0.9% 1.01x(?)
ArrayOfGenericRef 4036 4006 -0.7% 1.01x(?)
CStringLongAscii 13718 13621 -0.7% 1.01x(?)
SetUnion_OfObjects 7604 7508 -1.3% 1.01x(?)
ReversedBidirectional 47265 46931 -0.7% 1.01x
ObjectiveCBridgeStubFromNSDateRef 3672 3622 -1.4% 1.01x(?)
ExistentialTestOneMethodCall_ClassValueBuffer4 18333 18190 -0.8% 1.01x(?)
ObserverPartiallyAppliedMethod 3686 3655 -0.8% 1.01x(?)
SortStrings 1724 1705 -1.1% 1.01x(?)
ExistentialTestMutatingAndNonMutating_ClassValueBuffer4 137427 136241 -0.9% 1.01x(?)
ExistentialTestMutating_IntValueBuffer1 17162 16993 -1.0% 1.01x
SetExclusiveOr 2784 2758 -0.9% 1.01x(?)
ExistentialTestArrayMutating_IntValueBuffer3 15348 15261 -0.6% 1.01x
DictionaryRemove 3189 3159 -0.9% 1.01x(?)
Prims 768 762 -0.8% 1.01x(?)
DropFirstAnySeqCRangeIter 27685 27424 -0.9% 1.01x(?)
ArrayAppendOptionals 1290 1282 -0.6% 1.01x
ExistentialTestPassExistentialTwoMethodCalls_ClassValueBuffer3 520312 516505 -0.7% 1.01x
ExistentialTestPassExistentialTwoMethodCalls_ClassValueBuffer2 368517 364036 -1.2% 1.01x(?)
DropFirstAnyCollectionLazy 43837 43611 -0.5% 1.01x(?)
StringWalk 5903 5825 -1.3% 1.01x(?)
RC4 160 159 -0.6% 1.01x(?)
Integrate 265 262 -1.1% 1.01x(?)
ExistentialTestArrayOneMethodCall_IntValueBuffer3 5911 5849 -1.1% 1.01x(?)
ObjectiveCBridgeFromNSStringForced 2418 2392 -1.1% 1.01x
ExistentialTestArrayConditionalShift_IntValueBuffer4 58902 58223 -1.1% 1.01x
DropWhileAnyCollection 138 137 -0.7% 1.01x
DropFirstAnySeqCntRangeLazy 113 112 -0.9% 1.01x(?)
ArrayAppendStrings 13647 13574 -0.5% 1.01x(?)
ProtocolDispatch2 174 173 -0.6% 1.01x
PopFrontUnsafePointer 9419 9341 -0.8% 1.01x(?)
Sim2DArray 280 276 -1.4% 1.01x(?)
SetUnion 2303 2274 -1.3% 1.01x(?)
DropFirstAnySeqCntRange 117 116 -0.8% 1.01x(?)
ExistentialTestPassExistentialTwoMethodCalls_IntValueBuffer2 109668 108175 -1.4% 1.01x(?)
DropFirstCountableRangeLazy 22 22 +0.0% 1.00x
ObjectiveCBridgeStubToNSString 1487 1488 +0.1% 1.00x(?)
DropWhileAnySeqCntRange 127 127 +0.0% 1.00x
PrefixWhileArray 69 69 +0.0% 1.00x
SuffixAnySeqCntRange 39 39 +0.0% 1.00x
SortLettersInPlace 1302 1300 -0.1% 1.00x(?)
ExistentialTestArrayConditionalShift_ClassValueBuffer1 59094 59087 -0.0% 1.00x(?)
ExistentialTestArrayConditionalShift_ClassValueBuffer3 114317 114458 +0.1% 1.00x
ExistentialTestArrayConditionalShift_ClassValueBuffer2 85640 85604 -0.0% 1.00x(?)
ExistentialTestArrayConditionalShift_ClassValueBuffer4 57686 57967 +0.5% 1.00x(?)
PrefixWhileAnyCollectionLazy 73 73 +0.0% 1.00x
PrefixAnyCollection 123 123 +0.0% 1.00x
PrefixAnySequenceLazy 6095 6088 -0.1% 1.00x(?)
TypeFlood 0 0 +0.0% 1.00x
SetIntersect_OfObjects 1683 1684 +0.1% 1.00x(?)
SuffixCountableRangeLazy 8 8 +0.0% 1.00x
PrefixSequence 2487 2492 +0.2% 1.00x
DictionaryOfObjects 2983 2986 +0.1% 1.00x(?)
ObjectiveCBridgeStubToNSDateRef 3454 3439 -0.4% 1.00x(?)
IterateData 787 786 -0.1% 1.00x
OpenClose 53 53 +0.0% 1.00x
SuffixAnySequence 6520 6498 -0.3% 1.00x(?)
SetIsSubsetOf 299 299 +0.0% 1.00x
SuffixAnySequenceLazy 6538 6542 +0.1% 1.00x(?)
PrefixWhileArrayLazy 58 58 +0.0% 1.00x
ExistentialTestMutating_IntValueBuffer0 14064 14066 +0.0% 1.00x(?)
ExistentialTestMutating_ClassValueBuffer4 41984 41968 -0.0% 1.00x(?)
ArrayAppendRepeatCol 864 864 +0.0% 1.00x
DropWhileArrayLazy 80 80 +0.0% 1.00x
MonteCarloE 9739 9749 +0.1% 1.00x(?)
PrefixWhileSequence 412 411 -0.2% 1.00x(?)
ArrayAppendToGeneric 596 596 +0.0% 1.00x
HashQuadratic 6433562 6457163 +0.4% 1.00x(?)
SuffixCountableRange 8 8 +0.0% 1.00x
DropLastCountableRangeLazy 8 8 +0.0% 1.00x
ArrayAppendSequence 998 996 -0.2% 1.00x
SuffixSequenceLazy 4441 4426 -0.3% 1.00x(?)
PrefixWhileAnySequence 13648 13595 -0.4% 1.00x(?)
BitCount 0 0 +0.0% 1.00x
AngryPhonebook 2951 2948 -0.1% 1.00x(?)
ExistentialTestOneMethodCall_ClassValueBuffer3 15158 15162 +0.0% 1.00x(?)
ExistentialTestOneMethodCall_ClassValueBuffer2 16670 16671 +0.0% 1.00x(?)
ArrayValueProp 5 5 +0.0% 1.00x
SuffixArrayLazy 10 10 +0.0% 1.00x
GlobalClass 0 0 +0.0% 1.00x
DropWhileSequenceLazy 72 72 +0.0% 1.00x
MonteCarloPi 41599 41599 +0.0% 1.00x
DropLastAnySequence 6661 6669 +0.1% 1.00x(?)
StringAdder 0 0 +0.0% 1.00x
DictionarySwap 370 369 -0.3% 1.00x(?)
MapReduceString 71 71 +0.0% 1.00x
ExistentialTestMutatingAndNonMutating_ClassValueBuffer2 191928 191779 -0.1% 1.00x(?)
ExistentialTestMutatingAndNonMutating_ClassValueBuffer1 117704 117675 -0.0% 1.00x(?)
ExistentialTestArrayTwoMethodCalls_IntValueBuffer3 8075 8084 +0.1% 1.00x(?)
PrefixCountableRangeLazy 22 22 +0.0% 1.00x
SuffixAnySeqCRangeIter 4790 4800 +0.2% 1.00x
ByteSwap 0 0 +0.0% 1.00x
ArrayAppendLazyMap 1059 1062 +0.3% 1.00x(?)
DropLastAnySeqCntRange 40 40 +0.0% 1.00x
DropWhileAnyCollectionLazy 87 87 +0.0% 1.00x
DropLastAnySeqCntRangeLazy 39 39 +0.0% 1.00x
ObserverClosure 2229 2232 +0.1% 1.00x(?)
CharacterLiteralsSmall 779 779 +0.0% 1.00x
ExistentialTestOneMethodCall_IntValueBuffer0 15157 15153 -0.0% 1.00x
ArrayPlusEqualArrayOfInt 595 595 +0.0% 1.00x
PopFrontArrayGeneric 1219 1215 -0.3% 1.00x(?)
ExistentialTestMutating_IntValueBuffer3 21950 21965 +0.1% 1.00x(?)
PolymorphicCalls 22 22 +0.0% 1.00x
PrefixWhileSequenceLazy 33 33 +0.0% 1.00x
MapReduceLazySequence 85 85 +0.0% 1.00x
MapReduceShortString 19 19 +0.0% 1.00x
DropFirstArrayLazy 29 29 +0.0% 1.00x
ExistentialTestArrayMutating_IntValueBuffer2 13413 13391 -0.2% 1.00x(?)
ExistentialTestArrayMutating_IntValueBuffer1 13946 13931 -0.1% 1.00x(?)
ExistentialTestArrayMutating_IntValueBuffer0 14139 14158 +0.1% 1.00x(?)
ObjectiveCBridgeFromNSDictionaryAnyObjectToString 111933 111586 -0.3% 1.00x(?)
RGBHistogram 2514 2502 -0.5% 1.00x
ExistentialTestPassExistentialOneMethodCall_ClassValueBuffer2 344972 345292 +0.1% 1.00x(?)
DropWhileAnySeqCRangeIterLazy 89 89 +0.0% 1.00x
CStringLongNonAscii 4222 4225 +0.1% 1.00x(?)
DropLastCountableRange 8 8 +0.0% 1.00x
SuffixAnySeqCRangeIterLazy 4796 4787 -0.2% 1.00x(?)
ObjectiveCBridgeStubFromNSDate 3930 3941 +0.3% 1.00x(?)
ExistentialTestArrayShift_IntValueBuffer2 3534 3550 +0.5% 1.00x(?)
ExistentialTestArrayShift_IntValueBuffer1 3423 3413 -0.3% 1.00x(?)
ExistentialTestArrayShift_IntValueBuffer0 3439 3427 -0.3% 1.00x(?)
SuffixAnyCollection 49 49 +0.0% 1.00x
DictionaryBridge 2683 2674 -0.3% 1.00x(?)
StringWithCString 306571 306840 +0.1% 1.00x(?)
PrefixAnyCollectionLazy 43770 43697 -0.2% 1.00x
DropFirstCountableRange 23 23 +0.0% 1.00x
ArrayAppendToFromGeneric 596 596 +0.0% 1.00x
PrefixWhileAnySequenceLazy 1587 1587 +0.0% 1.00x
MapReduceLazyCollectionShort 43 43 +0.0% 1.00x
ProtocolDispatch 3030 3031 +0.0% 1.00x(?)
366 17013148 17040411 +0.2% 1.00x
Dictionary3 835 835 +0.0% 1.00x
ExistentialTestArrayMutating_ClassValueBuffer4 16432 16417 -0.1% 1.00x(?)
DropLastArray 11 11 +0.0% 1.00x
DropFirstSequence 2976 2976 +0.0% 1.00x
DictionaryLiteral 1488 1487 -0.1% 1.00x(?)
ExistentialTestPassExistentialTwoMethodCalls_ClassValueBuffer1 242701 242716 +0.0% 1.00x(?)
LazilyFilteredArrays 72171 72192 +0.0% 1.00x(?)
ExistentialTestPassExistentialTwoMethodCalls_ClassValueBuffer4 235509 234909 -0.2% 1.00x(?)
DropLastAnySeqCRangeIter 4472 4482 +0.2% 1.00x(?)
DropWhileAnySeqCntRangeLazy 84 84 +0.0% 1.00x
ExistentialTestTwoMethodCalls_ClassValueBuffer3 31258 31261 +0.0% 1.00x(?)
ExistentialTestTwoMethodCalls_ClassValueBuffer4 39725 39537 -0.5% 1.00x(?)
ExistentialTestArrayOneMethodCall_ClassValueBuffer4 13898 13866 -0.2% 1.00x(?)
ExistentialTestArrayOneMethodCall_ClassValueBuffer2 24200 24214 +0.1% 1.00x(?)
SetIsSubsetOf_OfObjects 377 377 +0.0% 1.00x
SuffixAnySeqCntRangeLazy 39 39 +0.0% 1.00x
DropWhileAnySequence 7382 7398 +0.2% 1.00x(?)
LinkedList 6664 6663 -0.0% 1.00x(?)
MapReduce 343 343 +0.0% 1.00x
DropLastArrayLazy 10 10 +0.0% 1.00x
MapReduceLazyCollection 15 15 +0.0% 1.00x
Chars 1382 1382 +0.0% 1.00x
DropWhileCountableRangeLazy 75 75 +0.0% 1.00x
DropWhileSequence 2951 2950 -0.0% 1.00x(?)
AnyHashableWithAClass 69580 69387 -0.3% 1.00x(?)
ExistentialTestArrayOneMethodCall_IntValueBuffer1 5697 5703 +0.1% 1.00x(?)
ArrayValueProp4 5 5 +0.0% 1.00x
ArrayValueProp2 5 5 +0.0% 1.00x
ArrayValueProp3 5 5 +0.0% 1.00x
ObjectiveCBridgeToNSString 1295 1301 +0.5% 1.00x(?)
DictionarySwapOfObjects 7014 6989 -0.4% 1.00x(?)
PopFrontArray 1212 1214 +0.2% 1.00x(?)
ExistentialTestArrayTwoMethodCalls_ClassValueBuffer4 15341 15341 +0.0% 1.00x
ExistentialTestArrayTwoMethodCalls_ClassValueBuffer3 34377 34512 +0.4% 1.00x(?)
ExistentialTestArrayTwoMethodCalls_ClassValueBuffer2 25904 25902 -0.0% 1.00x(?)
ExistentialTestArrayTwoMethodCalls_ClassValueBuffer1 17170 17179 +0.1% 1.00x(?)
ExistentialTestMutatingAndNonMutating_ClassValueBuffer3 264572 264557 -0.0% 1.00x(?)
ExistentialTestArrayOneMethodCall_IntValueBuffer4 14348 14328 -0.1% 1.00x(?)
DropWhileAnySequenceLazy 2108 2109 +0.1% 1.00x
ExistentialTestArrayConditionalShift_IntValueBuffer2 31616 31645 +0.1% 1.00x
DropFirstSequenceLazy 2942 2941 -0.0% 1.00x
ExistentialTestArrayConditionalShift_IntValueBuffer3 31499 31534 +0.1% 1.00x(?)
ObjectAllocation 179 179 +0.0% 1.00x
PrefixWhileAnySeqCRangeIterLazy 77 77 +0.0% 1.00x
MapReduceAnyCollectionShort 2083 2089 +0.3% 1.00x(?)
ObjectiveCBridgeStubToNSStringRef 107 107 +0.0% 1.00x
ExistentialTestMutatingAndNonMutating_IntValueBuffer4 156109 156096 -0.0% 1.00x(?)
ExistentialTestMutatingAndNonMutating_IntValueBuffer3 50212 50087 -0.2% 1.00x(?)
MapReduceShort 1936 1944 +0.4% 1.00x
ArrayAppendUTF16 72596 72316 -0.4% 1.00x(?)
ExistentialTestArrayShift_ClassValueBuffer2 3430 3437 +0.2% 1.00x(?)
ExistentialTestArrayShift_ClassValueBuffer1 3320 3330 +0.3% 1.00x(?)
MapReduceClassShort 4437 4429 -0.2% 1.00x
StringHasSuffixUnicode 62077 62328 +0.4% 1.00x(?)
SuffixAnyCollectionLazy 14610 14595 -0.1% 1.00x(?)
ArrayAppendArrayOfInt 562 562 +0.0% 1.00x
DropLastAnySequenceLazy 6532 6535 +0.1% 1.00x(?)
DropWhileArray 64 64 +0.0% 1.00x
SuffixArray 18 18 +0.0% 1.00x
DropFirstAnySequence 6613 6617 +0.1% 1.00x(?)
PrefixWhileAnySeqCntRangeLazy 75 75 +0.0% 1.00x
Memset 231 231 +0.0% 1.00x
ArrayAppendReserved 533 534 +0.2% 1.00x(?)
ObjectiveCBridgeStubNSDataAppend 2282 2286 +0.2% 1.00x(?)
DropFirstAnySequenceLazy 6799 6832 +0.5% 1.00x(?)
ExistentialTestMutating_ClassValueBuffer1 18310 18550 +1.3% 0.99x(?)
ObjectiveCBridgeFromNSSetAnyObjectToString 85572 86810 +1.4% 0.99x(?)
StringHasPrefixUnicode 15128 15326 +1.3% 0.99x(?)
SuffixSequence 4309 4352 +1.0% 0.99x(?)
MapReduceClass 2930 2953 +0.8% 0.99x(?)
PrefixAnySeqCntRange 114 115 +0.9% 0.99x
ObjectiveCBridgeFromNSDictionaryAnyObject 122791 124281 +1.2% 0.99x(?)
ObjectiveCBridgeFromNSArrayAnyObjectToString 44482 44901 +0.9% 0.99x(?)
ObjectiveCBridgeFromNSDictionaryAnyObjectForced 4968 4997 +0.6% 0.99x(?)
ExistentialTestArrayTwoMethodCalls_IntValueBuffer0 7512 7565 +0.7% 0.99x(?)
ExistentialTestOneMethodCall_IntValueBuffer1 15154 15305 +1.0% 0.99x(?)
ArrayAppendLatin1 74503 75128 +0.8% 0.99x(?)
ObjectiveCBridgeToNSDictionary 62257 62616 +0.6% 0.99x(?)
ArrayAppend 752 757 +0.7% 0.99x(?)
TwoSum 962 971 +0.9% 0.99x
PrefixWhileAnySeqCRangeIter 11947 12017 +0.6% 0.99x(?)
StaticArray 153 154 +0.7% 0.99x
StringEdits 418399 420996 +0.6% 0.99x(?)
Dictionary2 2382 2413 +1.3% 0.99x(?)
StringBuilder 1343 1360 +1.3% 0.99x
ExistentialTestTwoMethodCalls_ClassValueBuffer1 29947 30319 +1.2% 0.99x(?)
StackPromo 21947 22085 +0.6% 0.99x(?)
PrefixAnySequence 5852 5906 +0.9% 0.99x(?)
DropLastAnyCollectionLazy 14699 14794 +0.7% 0.99x(?)
PrefixAnySeqCRangeIter 21517 21631 +0.5% 0.99x(?)
ExistentialTestArrayOneMethodCall_IntValueBuffer0 5457 5513 +1.0% 0.99x(?)
ExistentialTestArrayTwoMethodCalls_IntValueBuffer4 15887 16042 +1.0% 0.99x(?)
SortSortedStrings 833 844 +1.3% 0.99x(?)
ErrorHandling 2226 2258 +1.4% 0.99x(?)
NSError 290 292 +0.7% 0.99x(?)
ExistentialTestMutatingAndNonMutating_IntValueBuffer0 43954 44461 +1.1% 0.99x
ExistentialTestMutatingAndNonMutating_IntValueBuffer1 46523 46887 +0.8% 0.99x(?)
MapReduceSequence 440 446 +1.4% 0.99x(?)
ObjectiveCBridgeStubDataAppend 3764 3812 +1.3% 0.99x
DropWhileAnySeqCRangeIter 22033 22168 +0.6% 0.99x(?)
HashTest 1751 1770 +1.1% 0.99x(?)
ObjectiveCBridgeToNSSet 37545 38104 +1.5% 0.99x(?)
NSStringConversion 754 765 +1.5% 0.99x
ObserverForwarderStruct 1052 1058 +0.6% 0.99x(?)
Walsh 353 359 +1.7% 0.98x(?)
ExistentialTestOneMethodCall_ClassValueBuffer1 15156 15452 +1.9% 0.98x(?)
DropLastAnySeqCRangeIterLazy 4471 4571 +2.2% 0.98x(?)
ExistentialTestOneMethodCall_IntValueBuffer3 15156 15392 +1.6% 0.98x
ExistentialTestPassExistentialOneMethodCall_ClassValueBuffer3 497428 505015 +1.5% 0.98x
RecursiveOwnedParameter 2319 2359 +1.7% 0.98x
ExistentialTestArrayShift_IntValueBuffer4 3423 3509 +2.5% 0.98x(?)
ExistentialTestArrayShift_IntValueBuffer3 3793 3854 +1.6% 0.98x(?)
ArrayOfRef 3831 3907 +2.0% 0.98x
MapReduceAnyCollection 347 353 +1.7% 0.98x(?)
ObjectiveCBridgeFromNSSetAnyObjectForced 4128 4203 +1.8% 0.98x(?)
ExistentialTestPassExistentialOneMethodCall_ClassValueBuffer1 220670 225288 +2.1% 0.98x(?)
StringBuilderLong 965 982 +1.8% 0.98x(?)
ArrayAppendFromGeneric 566 578 +2.1% 0.98x
ObjectiveCBridgeFromNSArrayAnyObject 23552 23980 +1.8% 0.98x
ExistentialTestArrayShift_ClassValueBuffer3 3916 3986 +1.8% 0.98x
ObjectiveCBridgeStubFromArrayOfNSString 28556 29254 +2.4% 0.98x
ObjectiveCBridgeFromNSArrayAnyObjectToStringForced 38159 38855 +1.8% 0.98x(?)
ExistentialTestPassExistentialTwoMethodCalls_IntValueBuffer0 105375 107302 +1.8% 0.98x(?)
ExistentialTestPassExistentialTwoMethodCalls_IntValueBuffer1 106052 108210 +2.0% 0.98x(?)
ExistentialTestPassExistentialTwoMethodCalls_IntValueBuffer3 107742 109820 +1.9% 0.98x(?)
ObjectiveCBridgeStubDateAccess 177 181 +2.3% 0.98x(?)
PrefixSequenceLazy 2456 2524 +2.8% 0.97x(?)
ObjectiveCBridgeStubFromNSString 931 960 +3.1% 0.97x
ExistentialTestPassExistentialOneMethodCall_IntValueBuffer3 77963 80147 +2.8% 0.97x(?)
ExistentialTestPassExistentialOneMethodCall_IntValueBuffer1 77318 79691 +3.1% 0.97x
PrefixWhileCountableRange 35 36 +2.9% 0.97x
UTF8Decode 280 289 +3.2% 0.97x
SetExclusiveOr_OfObjects 9124 9387 +2.9% 0.97x
DropWhileCountableRange 34 35 +2.9% 0.97x
DropLastSequenceLazy 526 540 +2.7% 0.97x
ArrayOfGenericPOD 219 226 +3.2% 0.97x
ArrayInClass 64 66 +3.1% 0.97x(?)
ExistentialTestTwoMethodCalls_IntValueBuffer3 30347 31219 +2.9% 0.97x(?)
ArrayAppendGenericStructs 1171 1203 +2.7% 0.97x(?)
ObjectiveCBridgeStubFromNSStringRef 177 183 +3.4% 0.97x
ExistentialTestArrayMutating_ClassValueBuffer3 13411 13770 +2.7% 0.97x
PrefixArrayLazy 29 30 +3.5% 0.97x
SetIntersect 275 284 +3.3% 0.97x
ArrayOfPOD 161 166 +3.1% 0.97x
XorLoop 348 359 +3.2% 0.97x
PrefixArray 32 33 +3.1% 0.97x
ObjectiveCBridgeStubDateMutation 264 272 +3.0% 0.97x
ExistentialTestArrayShift_ClassValueBuffer4 3423 3527 +3.0% 0.97x
DeadArray 182 188 +3.3% 0.97x
StringHasPrefix 704 733 +4.1% 0.96x(?)
DropLastAnyCollection 50 52 +4.0% 0.96x
ExistentialTestMutating_IntValueBuffer2 19012 19853 +4.4% 0.96x
ExistentialTestTwoMethodCalls_IntValueBuffer1 28954 30082 +3.9% 0.96x
ArrayLiteral 1217 1264 +3.9% 0.96x
PrefixAnySeqCntRangeLazy 108 112 +3.7% 0.96x
ExistentialTestPassExistentialTwoMethodCalls_IntValueBuffer4 241389 251666 +4.3% 0.96x
PrefixWhileCountableRangeLazy 21 22 +4.8% 0.95x
ObjectiveCBridgeFromNSDictionaryAnyObjectToStringForced 101137 106837 +5.6% 0.95x(?)
ObjectiveCBridgeToNSArray 28999 30440 +5.0% 0.95x(?)
DropLastSequence 496 520 +4.8% 0.95x
RangeAssignment 296 313 +5.7% 0.95x
**Unoptimized (Onone)**
Regression (3)
TEST OLD_MIN NEW_MIN DELTA (%) SPEEDUP
ObjectiveCBridgeStubURLAppendPath 234688 255653 +8.9% 0.92x
ObjectiveCBridgeFromNSDictionaryAnyObjectToStringForced 102672 109034 +6.2% 0.94x(?)
PrefixWhileAnySeqCRangeIter 40588 43297 +6.7% 0.94x
Improvement (12)
TEST OLD_MIN NEW_MIN DELTA (%) SPEEDUP
SuffixAnySeqCntRange 6755 6351 -6.0% 1.06x
ObjectiveCBridgeStubToNSDate 15562 14733 -5.3% 1.06x
DropWhileAnySeqCRangeIterLazy 29746 28035 -5.8% 1.06x
DeadArray 125961 118345 -6.0% 1.06x
Dictionary2OfObjects 6454 6116 -5.2% 1.06x
CStringShortAscii 9483 8845 -6.7% 1.07x
Join 1317 1229 -6.7% 1.07x
CStringLongNonAscii 4434 4059 -8.5% 1.09x
Dictionary2 4179 3785 -9.4% 1.10x
StringInterpolation 15159 12020 -20.7% 1.26x
CStringLongAscii 16033 12454 -22.3% 1.29x
CharacterLiteralsLarge 14829 11042 -25.5% 1.34x
No Changes (352)
TEST OLD_MIN NEW_MIN DELTA (%) SPEEDUP
ExistentialTestPassExistentialOneMethodCall_IntValueBuffer1 149290 142687 -4.4% 1.05x
StringHasSuffix 1670 1598 -4.3% 1.05x
LinkedList 32930 31498 -4.3% 1.05x(?)
ExistentialTestArrayConditionalShift_IntValueBuffer4 312943 298572 -4.6% 1.05x
ExistentialTestArrayConditionalShift_ClassValueBuffer3 418067 400878 -4.1% 1.04x
ExistentialTestArrayConditionalShift_ClassValueBuffer4 352824 337899 -4.2% 1.04x
PrefixAnyCollection 20636 19856 -3.8% 1.04x
DropLastAnyCollection 6627 6368 -3.9% 1.04x(?)
ObserverUnappliedMethod 8528 8217 -3.6% 1.04x
ExistentialTestArrayTwoMethodCalls_IntValueBuffer4 147102 141043 -4.1% 1.04x(?)
StringBuilder 2929 2820 -3.7% 1.04x
ExistentialTestArrayOneMethodCall_ClassValueBuffer2 179554 172606 -3.9% 1.04x
ObjectiveCBridgeFromNSSetAnyObject 71303 68260 -4.3% 1.04x
DropFirstAnySeqCntRange 20460 19584 -4.3% 1.04x
ObjectiveCBridgeStubToNSString 1614 1561 -3.3% 1.03x
PrefixSequenceLazy 11039 10708 -3.0% 1.03x
TypeFlood 165 160 -3.0% 1.03x(?)
SuffixCountableRangeLazy 12965 12559 -3.1% 1.03x(?)
PrefixCountableRange 351 341 -2.9% 1.03x
PrefixWhileArrayLazy 14664 14243 -2.9% 1.03x
ArrayAppendAscii 82093 79704 -2.9% 1.03x
MonteCarloE 131490 127942 -2.7% 1.03x
PrefixWhileSequence 29357 28558 -2.7% 1.03x(?)
DropFirstAnyCollection 19799 19260 -2.7% 1.03x(?)
ExistentialTestOneMethodCall_ClassValueBuffer4 348503 339069 -2.7% 1.03x
SuffixSequence 27230 26445 -2.9% 1.03x
DropWhileSequenceLazy 11524 11239 -2.5% 1.03x(?)
ObjectiveCBridgeFromNSDictionaryAnyObject 131356 127301 -3.1% 1.03x(?)
ExistentialTestOneMethodCall_IntValueBuffer3 47629 46274 -2.8% 1.03x(?)
NSDictionaryCastToSwift 6426 6235 -3.0% 1.03x(?)
ExistentialTestTwoMethodCalls_IntValueBuffer2 93556 90672 -3.1% 1.03x
ExistentialTestTwoMethodCalls_IntValueBuffer3 101692 98753 -2.9% 1.03x
DropFirstAnySeqCRangeIter 30842 29883 -3.1% 1.03x
StringEqualPointerComparison 10034 9728 -3.0% 1.03x
MapReduce 37254 36320 -2.5% 1.03x
ObjectiveCBridgeFromNSArrayAnyObject 25495 24814 -2.7% 1.03x(?)
ArrayValueProp4 3339 3229 -3.3% 1.03x(?)
DropLastSequence 29598 28714 -3.0% 1.03x(?)
StringBuilderLong 1146 1111 -3.0% 1.03x(?)
ExistentialTestArrayTwoMethodCalls_ClassValueBuffer4 231469 225422 -2.6% 1.03x(?)
ExistentialTestArrayOneMethodCall_IntValueBuffer0 127823 124244 -2.8% 1.03x(?)
ExistentialTestArrayOneMethodCall_IntValueBuffer2 128479 124724 -2.9% 1.03x(?)
PrefixWhileAnySeqCRangeIterLazy 23131 22462 -2.9% 1.03x(?)
ObjectiveCBridgeStubToNSStringRef 149 145 -2.7% 1.03x
ObjectiveCBridgeStubDataAppend 3942 3844 -2.5% 1.03x(?)
MapReduceClassShort 54754 53175 -2.9% 1.03x(?)
Memset 42749 41497 -2.9% 1.03x(?)
PrefixWhileArray 17293 16912 -2.2% 1.02x
ExistentialTestArrayConditionalShift_ClassValueBuffer1 340085 333713 -1.9% 1.02x(?)
SetIntersect_OfObjects 11248 11046 -1.8% 1.02x
PrefixSequence 11106 10921 -1.7% 1.02x
DictionaryOfObjects 4989 4883 -2.1% 1.02x(?)
PrefixWhileCountableRange 18362 17944 -2.3% 1.02x
SetIsSubsetOf 1688 1659 -1.7% 1.02x
ExistentialTestMutating_ClassValueBuffer2 225999 222045 -1.8% 1.02x(?)
ExistentialTestMutating_ClassValueBuffer3 226463 222095 -1.9% 1.02x(?)
ExistentialTestMutating_ClassValueBuffer1 228268 224002 -1.9% 1.02x(?)
StringHasPrefixUnicode 16951 16581 -2.2% 1.02x
ExistentialTestOneMethodCall_ClassValueBuffer1 213616 210409 -1.5% 1.02x(?)
ExistentialTestOneMethodCall_IntValueBuffer4 48332 47184 -2.4% 1.02x(?)
DropFirstArrayLazy 46782 45913 -1.9% 1.02x
ExistentialTestArrayShift_IntValueBuffer0 175864 172192 -2.1% 1.02x
ExistentialTestArrayMutating_ClassValueBuffer2 121045 119088 -1.6% 1.02x
CaptureProp 113421 110687 -2.4% 1.02x(?)
DictionaryLiteral 13204 12919 -2.2% 1.02x(?)
SetIntersect 10857 10643 -2.0% 1.02x
StringMatch 100711 98329 -2.4% 1.02x(?)
DropWhileCountableRangeLazy 27628 27034 -2.1% 1.02x(?)
StringWalk 22688 22187 -2.2% 1.02x(?)
RC4 19926 19563 -1.8% 1.02x(?)
ExistentialTestArrayTwoMethodCalls_ClassValueBuffer3 254241 248495 -2.3% 1.02x(?)
ExistentialTestArrayTwoMethodCalls_ClassValueBuffer2 229559 224681 -2.1% 1.02x(?)
ObjectiveCBridgeFromNSStringForced 2832 2780 -1.8% 1.02x
ExistentialTestArrayConditionalShift_IntValueBuffer0 284544 279378 -1.8% 1.02x
ExistentialTestArrayConditionalShift_IntValueBuffer1 286038 281157 -1.7% 1.02x
ExistentialTestArrayConditionalShift_IntValueBuffer2 285183 279962 -1.8% 1.02x(?)
XorLoop 22883 22414 -2.0% 1.02x
ExistentialTestArrayConditionalShift_IntValueBuffer3 286057 281047 -1.8% 1.02x
ObjectiveCBridgeStubDateMutation 543 531 -2.2% 1.02x
MapReduceAnyCollectionShort 50045 49118 -1.9% 1.02x(?)
ExistentialTestMutatingAndNonMutating_IntValueBuffer4 420062 410289 -2.3% 1.02x(?)
ExistentialTestArrayShift_ClassValueBuffer2 176153 173055 -1.8% 1.02x
ExistentialTestArrayShift_ClassValueBuffer1 176059 173363 -1.5% 1.02x(?)
RGBHistogramOfObjects 99952 98291 -1.7% 1.02x(?)
ArrayAppendArrayOfInt 684 669 -2.2% 1.02x
ObjectiveCBridgeFromNSArrayAnyObjectToStringForced 40630 39849 -1.9% 1.02x(?)
ObjectiveCBridgeStubNSDateMutationRef 15451 15089 -2.3% 1.02x(?)
DropWhileAnySeqCntRange 25982 25776 -0.8% 1.01x(?)
ExistentialTestArrayConditionalShift_ClassValueBuffer2 367547 362135 -1.5% 1.01x(?)
StringHasPrefix 1703 1693 -0.6% 1.01x
ExistentialTestPassExistentialOneMethodCall_IntValueBuffer3 146353 145301 -0.7% 1.01x(?)
ExistentialTestPassExistentialOneMethodCall_IntValueBuffer0 133853 133033 -0.6% 1.01x(?)
OpenClose 412 406 -1.5% 1.01x
SortStringsUnicode 9692 9579 -1.2% 1.01x
NopDeinit 52173 51899 -0.5% 1.01x
ObjectiveCBridgeStubToArrayOfNSString 30170 30011 -0.5% 1.01x(?)
ExistentialTestMutating_ClassValueBuffer4 250010 247396 -1.1% 1.01x(?)
PolymorphicCalls 3001 2966 -1.2% 1.01x
ArrayAppendRepeatCol 213477 211893 -0.7% 1.01x(?)
DropLastCountableRangeLazy 13077 12996 -0.6% 1.01x(?)
ArrayAppendSequence 78715 77757 -1.2% 1.01x(?)
PrefixWhileAnySequence 29978 29772 -0.7% 1.01x(?)
BitCount 878 871 -0.8% 1.01x
PrefixAnySeqCntRange 19514 19396 -0.6% 1.01x(?)
MonteCarloPi 51121 50366 -1.5% 1.01x(?)
SortStrings 2825 2803 -0.8% 1.01x(?)
DropLastAnySeqCRangeIterLazy 45148 44521 -1.4% 1.01x(?)
DropLastSequenceLazy 29072 28696 -1.3% 1.01x
ExistentialTestArrayTwoMethodCalls_IntValueBuffer3 134481 133332 -0.8% 1.01x(?)
PrefixCountableRangeLazy 38956 38544 -1.1% 1.01x(?)
ByteSwap 273 271 -0.7% 1.01x(?)
DropLastAnySeqCntRange 6622 6533 -1.3% 1.01x(?)
DropWhileAnyCollectionLazy 28182 27942 -0.8% 1.01x(?)
ArrayPlusEqualSingleElementCollection 276642 273151 -1.3% 1.01x(?)
PrefixWhileSequenceLazy 10555 10440 -1.1% 1.01x(?)
Dictionary 2013 1996 -0.8% 1.01x(?)
Phonebook 22846 22727 -0.5% 1.01x(?)
ExistentialTestArrayMutating_IntValueBuffer4 129441 127981 -1.1% 1.01x(?)
ExistentialTestArrayMutating_IntValueBuffer3 117751 116130 -1.4% 1.01x(?)
ExistentialTestArrayMutating_IntValueBuffer2 109313 108221 -1.0% 1.01x
ExistentialTestArrayMutating_IntValueBuffer1 104145 102883 -1.2% 1.01x
ExistentialTestArrayMutating_IntValueBuffer0 99137 97883 -1.3% 1.01x
DropFirstAnySeqCRangeIterLazy 30798 30606 -0.6% 1.01x
ExistentialTestPassExistentialOneMethodCall_ClassValueBuffer2 897557 885151 -1.4% 1.01x(?)
ExistentialTestPassExistentialOneMethodCall_ClassValueBuffer1 656292 651895 -0.7% 1.01x(?)
ExistentialTestArrayShift_IntValueBuffer4 173641 171123 -1.4% 1.01x
ExistentialTestArrayShift_IntValueBuffer1 179661 178687 -0.5% 1.01x(?)
PopFrontArray 10222 10111 -1.1% 1.01x
PrefixAnySequence 11839 11735 -0.9% 1.01x(?)
StrComplexWalk 6100 6038 -1.0% 1.01x
ExistentialTestArrayMutating_ClassValueBuffer3 120297 119069 -1.0% 1.01x(?)
ExistentialTestArrayMutating_ClassValueBuffer1 120388 119076 -1.1% 1.01x
ExistentialTestArrayMutating_ClassValueBuffer4 122229 120951 -1.1% 1.01x
PrefixWhileAnySeqCntRange 38558 38197 -0.9% 1.01x(?)
ExistentialTestPassExistentialTwoMethodCalls_ClassValueBuffer1 1264009 1248402 -1.2% 1.01x(?)
ExistentialTestPassExistentialTwoMethodCalls_ClassValueBuffer2 1661695 1649908 -0.7% 1.01x
LazilyFilteredArrays 2738103 2700276 -1.4% 1.01x(?)
DropWhileAnySeqCntRangeLazy 28183 28027 -0.6% 1.01x(?)
ExistentialTestTwoMethodCalls_ClassValueBuffer2 669252 660269 -1.3% 1.01x(?)
ExistentialTestTwoMethodCalls_ClassValueBuffer4 818303 814146 -0.5% 1.01x
ExistentialTestArrayOneMethodCall_ClassValueBuffer3 193858 192299 -0.8% 1.01x(?)
MapReduceAnyCollection 37208 36972 -0.6% 1.01x(?)
ObjectiveCBridgeFromNSSetAnyObjectToStringForced 81240 80183 -1.3% 1.01x(?)
DropFirstAnyCollectionLazy 144327 142235 -1.4% 1.01x(?)
DropLastAnyCollectionLazy 48668 48389 -0.6% 1.01x
ExistentialTestArrayTwoMethodCalls_ClassValueBuffer1 197816 196355 -0.7% 1.01x(?)
ExistentialTestArrayOneMethodCall_IntValueBuffer3 129822 128273 -1.2% 1.01x
ExistentialTestMutatingAndNonMutating_ClassValueBuffer4 649800 644396 -0.8% 1.01x
PrefixAnySeqCntRangeLazy 20137 19848 -1.4% 1.01x
PopFrontUnsafePointer 100156 99352 -0.8% 1.01x(?)
ExistentialTestMutatingAndNonMutating_IntValueBuffer3 294047 291304 -0.9% 1.01x
MapReduceSequence 42060 41473 -1.4% 1.01x(?)
ArrayAppendUTF16 95061 94096 -1.0% 1.01x(?)
ExistentialTestArrayShift_ClassValueBuffer4 168981 167335 -1.0% 1.01x(?)
ExistentialTestArrayShift_ClassValueBuffer3 176375 173803 -1.5% 1.01x
SuffixAnyCollectionLazy 47359 47097 -0.6% 1.01x(?)
ObserverForwarderStruct 4699 4639 -1.3% 1.01x
SuffixArray 2074 2053 -1.0% 1.01x
ObjectiveCBridgeStubDateAccess 1044 1035 -0.9% 1.01x(?)
DropFirstCountableRangeLazy 39017 38892 -0.3% 1.00x(?)
ObjectiveCBridgeStubFromNSDateRef 3975 3975 +0.0% 1.00x
SortLettersInPlace 2749 2738 -0.4% 1.00x(?)
PrefixAnySequenceLazy 11752 11756 +0.0% 1.00x(?)
ExistentialTestPassExistentialOneMethodCall_IntValueBuffer2 143542 143161 -0.3% 1.00x(?)
UTF8Decode 35933 35958 +0.1% 1.00x(?)
SetExclusiveOr_OfObjects 41166 41129 -0.1% 1.00x(?)
ArrayAppendToGeneric 661 661 +0.0% 1.00x
ExistentialTestMutatingAndNonMutating_IntValueBuffer2 221367 221336 -0.0% 1.00x(?)
SuffixCountableRange 119 119 +0.0% 1.00x
ReversedBidirectional 140144 140695 +0.4% 1.00x(?)
SuffixSequenceLazy 26473 26485 +0.1% 1.00x(?)
PrefixWhileCountableRangeLazy 22617 22623 +0.0% 1.00x(?)
AngryPhonebook 3076 3077 +0.0% 1.00x(?)
ExistentialTestOneMethodCall_ClassValueBuffer3 354632 354171 -0.1% 1.00x
ExistentialTestOneMethodCall_ClassValueBuffer2 283348 283444 +0.0% 1.00x(?)
ArrayValueProp 2933 2939 +0.2% 1.00x(?)
SuffixArrayLazy 15278 15285 +0.1% 1.00x(?)
GlobalClass 0 0 +0.0% 1.00x
DropWhileCountableRange 6220 6222 +0.0% 1.00x(?)
DropLastAnySequence 29092 29238 +0.5% 1.00x(?)
ObjectiveCBridgeFromNSArrayAnyObjectToString 45281 45129 -0.3% 1.00x(?)
ObjectiveCBridgeFromNSDictionaryAnyObjectForced 7762 7772 +0.1% 1.00x(?)
ReversedArray 596 596 +0.0% 1.00x
DictionarySwap 5546 5535 -0.2% 1.00x
MapReduceString 2607 2596 -0.4% 1.00x
ExistentialTestMutatingAndNonMutating_ClassValueBuffer2 628494 630286 +0.3% 1.00x(?)
ExistentialTestMutatingAndNonMutating_ClassValueBuffer1 507575 509069 +0.3% 1.00x
ExistentialTestArrayTwoMethodCalls_IntValueBuffer2 132420 132807 +0.3% 1.00x(?)
ExistentialTestArrayTwoMethodCalls_IntValueBuffer0 128036 128591 +0.4% 1.00x(?)
ExistentialTestArrayTwoMethodCalls_IntValueBuffer1 132076 132428 +0.3% 1.00x(?)
SuperChars 318649 319629 +0.3% 1.00x(?)
DropLastAnySeqCntRangeLazy 6645 6646 +0.0% 1.00x(?)
ObserverClosure 6561 6533 -0.4% 1.00x(?)
CharacterLiteralsSmall 970 970 +0.0% 1.00x
LazilyFilteredRange 1274547 1280145 +0.4% 1.00x(?)
ExistentialTestOneMethodCall_IntValueBuffer0 43384 43538 +0.3% 1.00x(?)
ExistentialTestOneMethodCall_IntValueBuffer1 42581 42445 -0.3% 1.00x(?)
ArrayAppendLatin1 97149 96765 -0.4% 1.00x(?)
PrefixAnySeqCRangeIterLazy 24697 24773 +0.3% 1.00x
ObjectiveCBridgeToNSArray 30085 30181 +0.3% 1.00x(?)
PopFrontArrayGeneric 8882 8895 +0.1% 1.00x(?)
ExistentialTestMutating_IntValueBuffer3 231779 230889 -0.4% 1.00x(?)
ExistentialTestMutating_IntValueBuffer2 167367 167374 +0.0% 1.00x(?)
ExistentialTestMutating_IntValueBuffer0 42447 42549 +0.2% 1.00x(?)
ExistentialTestMutating_IntValueBuffer4 326273 326893 +0.2% 1.00x
ArrayOfGenericPOD 3080 3087 +0.2% 1.00x(?)
MapReduceLazySequence 25382 25402 +0.1% 1.00x
ArrayInClass 4695 4682 -0.3% 1.00x(?)
ExistentialTestTwoMethodCalls_IntValueBuffer1 81838 81812 -0.0% 1.00x(?)
ObjectiveCBridgeToNSDictionary 61243 60967 -0.5% 1.00x(?)
DictionaryRemove 21277 21246 -0.1% 1.00x(?)
RGBHistogram 33867 33713 -0.5% 1.00x(?)
TwoSum 4327 4343 +0.4% 1.00x(?)
ExistentialTestPassExistentialOneMethodCall_ClassValueBuffer4 880808 879674 -0.1% 1.00x
ExistentialTestPassExistentialOneMethodCall_ClassValueBuffer3 1190553 1184927 -0.5% 1.00x
ArrayLiteral 1438 1437 -0.1% 1.00x
SuffixAnySeqCRangeIterLazy 42525 42328 -0.5% 1.00x(?)
ExistentialTestTwoMethodCalls_IntValueBuffer4 113551 113895 +0.3% 1.00x(?)
RecursiveOwnedParameter 9253 9241 -0.1% 1.00x(?)
ExistentialTestArrayShift_IntValueBuffer3 172716 173483 +0.4% 1.00x(?)
SuffixAnyCollection 6327 6354 +0.4% 1.00x(?)
ReversedDictionary 25264 25231 -0.1% 1.00x
ArrayAppendToFromGeneric 661 660 -0.1% 1.00x(?)
ArrayAppendGenericStructs 1274 1270 -0.3% 1.00x(?)
ArrayPlusEqualFiveElementCollection 277270 277254 -0.0% 1.00x(?)
ObjectiveCBridgeStubFromNSStringRef 214 213 -0.5% 1.00x(?)
StaticArray 4564 4581 +0.4% 1.00x(?)
ProtocolDispatch 6984 6970 -0.2% 1.00x(?)
366 99522266 99245529 -0.3% 1.00x
Dictionary3 1503 1501 -0.1% 1.00x(?)
ArrayAppendOptionals 1275 1271 -0.3% 1.00x
DropFirstSequence 13543 13525 -0.1% 1.00x
ClassArrayGetter 932 931 -0.1% 1.00x
PrefixArrayLazy 45794 45947 +0.3% 1.00x(?)
Hanoi 16823 16754 -0.4% 1.00x(?)
DictionaryRemoveOfObjects 55050 55145 +0.2% 1.00x(?)
ExistentialTestPassExistentialTwoMethodCalls_ClassValueBuffer3 2096388 2089998 -0.3% 1.00x
ExistentialTestPassExistentialTwoMethodCalls_ClassValueBuffer4 1797465 1793395 -0.2% 1.00x
ExistentialTestTwoMethodCalls_ClassValueBuffer3 811512 809508 -0.2% 1.00x
SuffixAnySeqCntRangeLazy 6656 6624 -0.5% 1.00x(?)
DropWhileAnySequence 16370 16368 -0.0% 1.00x(?)
Chars 7378 7358 -0.3% 1.00x(?)
DropWhileSequence 15737 15724 -0.1% 1.00x(?)
ExistentialTestPassExistentialOneMethodCall_IntValueBuffer4 250852 250945 +0.0% 1.00x(?)
ArrayValueProp2 3728 3742 +0.4% 1.00x(?)
ObjectiveCBridgeToNSString 1308 1303 -0.4% 1.00x(?)
DictionarySwapOfObjects 19259 19309 +0.3% 1.00x(?)
PrefixWhileAnySequenceLazy 11250 11222 -0.2% 1.00x
Integrate 398 399 +0.2% 1.00x(?)
Array2D 605390 605670 +0.1% 1.00x(?)
PrefixAnySeqCRangeIter 24128 24104 -0.1% 1.00x(?)
ExistentialTestMutatingAndNonMutating_ClassValueBuffer3 776783 776556 -0.0% 1.00x(?)
PrefixWhileAnyCollection 37880 37884 +0.0% 1.00x(?)
ExistentialTestArrayOneMethodCall_IntValueBuffer4 133795 133404 -0.3% 1.00x
ExistentialTestArrayOneMethodCall_IntValueBuffer1 128125 128266 +0.1% 1.00x(?)
ObjectiveCBridgeFromNSArrayAnyObjectForced 7997 7997 +0.0% 1.00x
DropWhileAnySequenceLazy 12482 12468 -0.1% 1.00x(?)
DropWhileAnyCollection 25053 24986 -0.3% 1.00x(?)
RangeAssignment 5780 5775 -0.1% 1.00x(?)
Dictionary3OfObjects 2369 2371 +0.1% 1.00x(?)
DropFirstSequenceLazy 12927 12887 -0.3% 1.00x
ObjectAllocation 656 655 -0.1% 1.00x(?)
SortSortedStrings 1398 1401 +0.2% 1.00x(?)
ProtocolDispatch2 505 507 +0.4% 1.00x(?)
NSError 735 738 +0.4% 1.00x(?)
ArrayAppendFromGeneric 682 681 -0.1% 1.00x
ExistentialTestMutatingAndNonMutating_IntValueBuffer1 149032 149032 +0.0% 1.00x
MapReduceShort 50595 50719 +0.2% 1.00x(?)
DropWhileAnySeqCRangeIter 32948 32990 +0.1% 1.00x(?)
Sim2DArray 29148 29011 -0.5% 1.00x(?)
HashTest 18445 18481 +0.2% 1.00x(?)
SetUnion 11978 12012 +0.3% 1.00x
DropLastAnySequenceLazy 29194 29314 +0.4% 1.00x(?)
DropFirstAnySequence 14049 14005 -0.3% 1.00x(?)
ExistentialTestPassExistentialTwoMethodCalls_IntValueBuffer4 391666 391883 +0.1% 1.00x(?)
ExistentialTestPassExistentialTwoMethodCalls_IntValueBuffer0 197657 196901 -0.4% 1.00x(?)
ExistentialTestPassExistentialTwoMethodCalls_IntValueBuffer1 200047 199425 -0.3% 1.00x(?)
ExistentialTestPassExistentialTwoMethodCalls_IntValueBuffer3 249448 249192 -0.1% 1.00x(?)
SevenBoom 1585 1585 +0.0% 1.00x
DropFirstAnySequenceLazy 14049 14024 -0.2% 1.00x(?)
ArraySubscript 4097 4142 +1.1% 0.99x(?)
Histogram 8646 8716 +0.8% 0.99x(?)
PrefixWhileAnyCollectionLazy 23587 23865 +1.2% 0.99x(?)
ObjectiveCBridgeStubFromNSString 990 1005 +1.5% 0.99x
ObjectiveCBridgeStubURLAppendPathRef 245426 248715 +1.3% 0.99x(?)
ObjectiveCBridgeStubToNSDateRef 3361 3380 +0.6% 0.99x(?)
IterateData 12879 12944 +0.5% 0.99x(?)
ObjectiveCBridgeStubNSDateRefAccess 1205 1212 +0.6% 0.99x(?)
StrToInt 8361 8448 +1.0% 0.99x(?)
DropWhileArrayLazy 16757 16863 +0.6% 0.99x
SetUnion_OfObjects 28878 29172 +1.0% 0.99x(?)
HashQuadratic 53468553 53801818 +0.6% 0.99x(?)
ObserverPartiallyAppliedMethod 7935 8049 +1.4% 0.99x
StringUTF16Builder 3675 3723 +1.3% 0.99x(?)
ArrayAppendLazyMap 210553 212107 +0.7% 0.99x
ExistentialTestOneMethodCall_IntValueBuffer2 44226 44700 +1.1% 0.99x(?)
ExistentialTestTwoMethodCalls_IntValueBuffer0 79029 79969 +1.2% 0.99x(?)
ExistentialTestArrayShift_IntValueBuffer2 176191 178608 +1.4% 0.99x(?)
DictionaryBridge 2777 2808 +1.1% 0.99x(?)
PrefixAnyCollectionLazy 141913 143237 +0.9% 0.99x(?)
Prims 9022 9117 +1.1% 0.99x(?)
ExistentialTestTwoMethodCalls_ClassValueBuffer1 547330 554546 +1.3% 0.99x(?)
ExistentialTestArrayOneMethodCall_ClassValueBuffer1 154944 155868 +0.6% 0.99x(?)
SetIsSubsetOf_OfObjects 1554 1565 +0.7% 0.99x
DropLastArrayLazy 15121 15327 +1.4% 0.99x
MapReduceLazyCollection 32569 32924 +1.1% 0.99x(?)
AnyHashableWithAClass 84997 85482 +0.6% 0.99x(?)
StackPromo 101668 103206 +1.5% 0.99x(?)
DropFirstAnySeqCntRangeLazy 19954 20115 +0.8% 0.99x(?)
ErrorHandling 3846 3899 +1.4% 0.99x(?)
ExistentialTestMutatingAndNonMutating_IntValueBuffer0 89299 90234 +1.1% 0.99x(?)
DropLastAnySeqCRangeIter 43972 44444 +1.1% 0.99x(?)
StringHasSuffixUnicode 65124 65640 +0.8% 0.99x
ObjectiveCBridgeToNSSet 38267 38758 +1.3% 0.99x(?)
ObjectiveCBridgeStubNSDataAppend 2625 2657 +1.2% 0.99x(?)
ArrayOfGenericRef 9670 9823 +1.6% 0.98x
Walsh 11351 11574 +2.0% 0.98x
DropFirstArray 6194 6340 +2.4% 0.98x
ExistentialTestMutating_IntValueBuffer1 100542 102987 +2.4% 0.98x(?)
ObjectiveCBridgeFromNSString 4029 4096 +1.7% 0.98x(?)
MapReduceShortString 275 281 +2.2% 0.98x(?)
DropLastCountableRange 120 122 +1.7% 0.98x
SuffixAnySequence 26499 27042 +2.0% 0.98x(?)
StringWithCString 322338 328352 +1.9% 0.98x(?)
MapReduceLazyCollectionShort 43421 44264 +1.9% 0.98x
DropLastArray 2074 2114 +1.9% 0.98x
ExistentialTestArrayOneMethodCall_ClassValueBuffer4 171920 175219 +1.9% 0.98x(?)
PrefixArray 6169 6320 +2.5% 0.98x(?)
ObjectiveCBridgeStubFromArrayOfNSString 30574 31120 +1.8% 0.98x(?)
NSStringConversion 1342 1369 +2.0% 0.98x(?)
SuffixAnySequenceLazy 26148 26863 +2.7% 0.97x(?)
MapReduceClass 42022 43289 +3.0% 0.97x(?)
SuffixAnySeqCRangeIter 41528 42751 +3.0% 0.97x(?)
ArrayPlusEqualArrayOfInt 659 678 +2.9% 0.97x
SetExclusiveOr 20745 21280 +2.6% 0.97x
ArrayAppend 3690 3790 +2.7% 0.97x
ObjectiveCBridgeStubFromNSDate 4158 4272 +2.7% 0.97x(?)
DropFirstCountableRange 341 352 +3.2% 0.97x
ArrayOfRef 8617 8872 +3.0% 0.97x
ObjectiveCBridgeFromNSSetAnyObjectForced 7036 7288 +3.6% 0.97x(?)
ArrayOfPOD 1833 1889 +3.1% 0.97x
ArrayValueProp3 3346 3445 +3.0% 0.97x
ArrayAppendStrings 13708 14103 +2.9% 0.97x(?)
DropWhileArray 9803 10143 +3.5% 0.97x
PrefixWhileAnySeqCntRangeLazy 23495 24109 +2.6% 0.97x(?)
ExistentialTestPassExistentialTwoMethodCalls_IntValueBuffer2 219380 225853 +3.0% 0.97x
ArrayAppendReserved 3634 3737 +2.8% 0.97x
ObjectiveCBridgeFromNSSetAnyObjectToString 88522 92480 +4.5% 0.96x(?)
StringAdder 46 48 +4.3% 0.96x
Calculator 989 1027 +3.8% 0.96x
StringEdits 835754 866345 +3.7% 0.96x(?)
ObjectiveCBridgeFromNSDictionaryAnyObjectToString 110069 114299 +3.8% 0.96x(?)
**Hardware Overview** Model Name: Mac mini Model Identifier: Macmini7,1 Processor Name: Intel Core i7 Processor Speed: 3 GHz Number of Processors: 1 Total Number of Cores: 2 L2 Cache (per Core): 256 KB L3 Cache: 4 MB Memory: 16 GB

@airspeedswift airspeedswift merged commit 5494424 into swiftlang:master Apr 21, 2017
@airspeedswift airspeedswift deleted the unsafe-buffer branch April 21, 2017 22:53
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