Skip to content

String initialization with encoding and C-string interop #9412

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 5 commits into from
May 9, 2017

Conversation

dabrahams
Copy link
Contributor

No description provided.

@dabrahams
Copy link
Contributor Author

@swift-ci Please test and merge

@dabrahams
Copy link
Contributor Author

@swift-ci Please benchmark

@swift-ci
Copy link
Contributor

swift-ci commented May 9, 2017

Build comment file:

Optimized (O)

Regression (5)
TEST OLD NEW DELTA SPEEDUP
MapReduce 303 331 +9.2% 0.92x
ArrayPlusEqualThreeElements 1597 1726 +8.1% 0.93x
PrefixWhileSequence 293 311 +6.1% 0.94x
DropFirstAnySequence 6809 7181 +5.5% 0.95x (?)
ReversedBidirectional 29107 30672 +5.4% 0.95x
Improvement (3)
TEST OLD NEW DELTA SPEEDUP
StrToInt 4651 4121 -11.4% 1.13x
ObjectiveCBridgeStubToNSDate 14326 13395 -6.5% 1.07x (?)
CaptureProp 4851 4599 -5.2% 1.05x
No Changes (261)
TEST OLD NEW DELTA SPEEDUP
AngryPhonebook 2897 2891 -0.2% 1.00x (?)
AnyHashableWithAClass 67182 67776 +0.9% 0.99x
Array2D 2025 2004 -1.0% 1.01x (?)
ArrayAppend 771 769 -0.3% 1.00x (?)
ArrayAppendArrayOfInt 597 596 -0.2% 1.00x
ArrayAppendAscii 22232 22270 +0.2% 1.00x (?)
ArrayAppendFromGeneric 597 596 -0.2% 1.00x (?)
ArrayAppendGenericStructs 1218 1221 +0.2% 1.00x (?)
ArrayAppendLatin1 43356 43325 -0.1% 1.00x (?)
ArrayAppendLazyMap 934 927 -0.7% 1.01x (?)
ArrayAppendOptionals 1221 1226 +0.4% 1.00x (?)
ArrayAppendRepeatCol 838 838 +0.0% 1.00x
ArrayAppendReserved 532 532 +0.0% 1.00x
ArrayAppendSequence 944 943 -0.1% 1.00x (?)
ArrayAppendStrings 13551 13553 +0.0% 1.00x (?)
ArrayAppendToFromGeneric 597 596 -0.2% 1.00x (?)
ArrayAppendToGeneric 597 596 -0.2% 1.00x
ArrayAppendUTF16 40972 41149 +0.4% 1.00x (?)
ArrayInClass 61 61 +0.0% 1.00x
ArrayLiteral 1237 1234 -0.2% 1.00x (?)
ArrayOfGenericPOD 219 219 +0.0% 1.00x
ArrayOfGenericRef 3999 3986 -0.3% 1.00x (?)
ArrayOfPOD 166 166 +0.0% 1.00x
ArrayOfRef 3889 3899 +0.3% 1.00x (?)
ArrayPlusEqualArrayOfInt 597 596 -0.2% 1.00x (?)
ArrayPlusEqualFiveElementCollection 4706 4677 -0.6% 1.01x (?)
ArrayPlusEqualSingleElementCollection 770 770 +0.0% 1.00x
ArraySubscript 1481 1471 -0.7% 1.01x (?)
ArrayValueProp 6 6 +0.0% 1.00x
ArrayValueProp2 6 6 +0.0% 1.00x
ArrayValueProp3 6 6 +0.0% 1.00x
ArrayValueProp4 6 6 +0.0% 1.00x
BitCount 9 9 +0.0% 1.00x
ByteSwap 0 0 +0.0% 1.00x
CStringLongAscii 4998 5036 +0.8% 0.99x (?)
CStringLongNonAscii 2170 2158 -0.6% 1.01x (?)
CStringShortAscii 5261 5288 +0.5% 0.99x (?)
Calculator 33 33 +0.0% 1.00x
CharacterLiteralsLarge 8598 8721 +1.4% 0.99x
CharacterLiteralsSmall 310 310 +0.0% 1.00x
Chars 1839 1839 +0.0% 1.00x
ClassArrayGetter 13 13 +0.0% 1.00x
DeadArray 184 184 +0.0% 1.00x
Dictionary 570 574 +0.7% 0.99x
Dictionary2 1804 1814 +0.6% 0.99x (?)
Dictionary2OfObjects 3321 3343 +0.7% 0.99x (?)
Dictionary3 455 455 +0.0% 1.00x
Dictionary3OfObjects 901 902 +0.1% 1.00x (?)
DictionaryBridge 2619 2618 -0.0% 1.00x (?)
DictionaryLiteral 1491 1487 -0.3% 1.00x (?)
DictionaryOfObjects 2336 2333 -0.1% 1.00x (?)
DictionaryRemove 3309 3319 +0.3% 1.00x (?)
DictionaryRemoveOfObjects 23378 23469 +0.4% 1.00x (?)
DictionarySwap 375 375 +0.0% 1.00x
DictionarySwapOfObjects 6928 7013 +1.2% 0.99x (?)
DropFirstAnyCollection 56 56 +0.0% 1.00x
DropFirstAnyCollectionLazy 44834 46075 +2.8% 0.97x (?)
DropFirstAnySeqCRangeIter 27567 28603 +3.8% 0.96x (?)
DropFirstAnySeqCRangeIterLazy 27415 27914 +1.8% 0.98x (?)
DropFirstAnySeqCntRange 50 50 +0.0% 1.00x
DropFirstAnySeqCntRangeLazy 50 50 +0.0% 1.00x
DropFirstAnySequenceLazy 6825 7167 +5.0% 0.95x
DropFirstArray 24 24 +0.0% 1.00x
DropFirstArrayLazy 24 24 +0.0% 1.00x
DropFirstCountableRange 32 32 +0.0% 1.00x
DropFirstCountableRangeLazy 32 32 +0.0% 1.00x
DropFirstSequence 3064 3065 +0.0% 1.00x (?)
DropFirstSequenceLazy 3026 3029 +0.1% 1.00x
DropLastAnyCollection 22 22 +0.0% 1.00x
DropLastAnyCollectionLazy 15043 15326 +1.9% 0.98x (?)
DropLastAnySeqCRangeIter 4652 4676 +0.5% 0.99x
DropLastAnySeqCRangeIterLazy 4666 4675 +0.2% 1.00x (?)
DropLastAnySeqCntRange 16 16 +0.0% 1.00x
DropLastAnySeqCntRangeLazy 16 16 +0.0% 1.00x
DropLastAnySequence 6897 6936 +0.6% 0.99x (?)
DropLastAnySequenceLazy 6611 6651 +0.6% 0.99x
DropLastArray 8 8 +0.0% 1.00x
DropLastArrayLazy 8 8 +0.0% 1.00x
DropLastCountableRange 10 10 +0.0% 1.00x
DropLastCountableRangeLazy 10 10 +0.0% 1.00x
DropLastSequence 546 566 +3.7% 0.96x
DropLastSequenceLazy 547 565 +3.3% 0.97x (?)
DropWhileAnyCollection 69 69 +0.0% 1.00x
DropWhileAnyCollectionLazy 103 103 +0.0% 1.00x
DropWhileAnySeqCRangeIter 22242 22490 +1.1% 0.99x (?)
DropWhileAnySeqCRangeIterLazy 103 103 +0.0% 1.00x
DropWhileAnySeqCntRange 64 64 +0.0% 1.00x
DropWhileAnySeqCntRangeLazy 103 103 +0.0% 1.00x
DropWhileAnySequence 7602 7470 -1.7% 1.02x
DropWhileAnySequenceLazy 2032 2032 +0.0% 1.00x
DropWhileArray 37 37 +0.0% 1.00x
DropWhileArrayLazy 78 77 -1.3% 1.01x
DropWhileCountableRange 36 36 +0.0% 1.00x
DropWhileCountableRangeLazy 68 68 +0.0% 1.00x
DropWhileSequence 3123 3019 -3.3% 1.03x
DropWhileSequenceLazy 65 65 +0.0% 1.00x
ErrorHandling 2855 2872 +0.6% 0.99x (?)
GlobalClass 0 0 +0.0% 1.00x
Hanoi 3464 3422 -1.2% 1.01x (?)
HashQuadratic 6033300 6025583 -0.1% 1.00x (?)
HashTest 1691 1696 +0.3% 1.00x (?)
Histogram 248 247 -0.4% 1.00x (?)
Integrate 262 262 +0.0% 1.00x
IterateData 755 757 +0.3% 1.00x (?)
Join 442 442 +0.0% 1.00x
LazilyFilteredArrays 64673 64835 +0.3% 1.00x (?)
LazilyFilteredRange 3887 3883 -0.1% 1.00x (?)
LinkedList 7142 7141 -0.0% 1.00x (?)
MapReduceAnyCollection 302 301 -0.3% 1.00x (?)
MapReduceAnyCollectionShort 2006 2017 +0.5% 0.99x (?)
MapReduceClass 3057 3064 +0.2% 1.00x (?)
MapReduceClassShort 4536 4534 -0.0% 1.00x (?)
MapReduceLazyCollection 15 15 +0.0% 1.00x
MapReduceLazyCollectionShort 45 45 +0.0% 1.00x
MapReduceLazySequence 90 90 +0.0% 1.00x
MapReduceSequence 448 447 -0.2% 1.00x (?)
MapReduceShort 1914 1908 -0.3% 1.00x (?)
MapReduceShortString 22 22 +0.0% 1.00x
MapReduceString 108 109 +0.9% 0.99x (?)
Memset 234 234 +0.0% 1.00x
MonteCarloE 10393 10392 -0.0% 1.00x (?)
MonteCarloPi 44055 44044 -0.0% 1.00x (?)
NSDictionaryCastToSwift 5264 5276 +0.2% 1.00x (?)
NSError 291 289 -0.7% 1.01x (?)
NSStringConversion 729 727 -0.3% 1.00x (?)
NopDeinit 27445 27440 -0.0% 1.00x (?)
ObjectAllocation 182 183 +0.5% 0.99x (?)
ObjectiveCBridgeFromNSArrayAnyObject 23379 23609 +1.0% 0.99x (?)
ObjectiveCBridgeFromNSArrayAnyObjectForced 4531 4512 -0.4% 1.00x (?)
ObjectiveCBridgeFromNSArrayAnyObjectToString 43496 43614 +0.3% 1.00x (?)
ObjectiveCBridgeFromNSArrayAnyObjectToStringForced 37175 37947 +2.1% 0.98x (?)
ObjectiveCBridgeFromNSDictionaryAnyObject 118643 119415 +0.7% 0.99x (?)
ObjectiveCBridgeFromNSDictionaryAnyObjectForced 5181 5195 +0.3% 1.00x (?)
ObjectiveCBridgeFromNSDictionaryAnyObjectToString 96166 94846 -1.4% 1.01x (?)
ObjectiveCBridgeFromNSDictionaryAnyObjectToStringForced 89483 89205 -0.3% 1.00x (?)
ObjectiveCBridgeFromNSSetAnyObject 63940 64252 +0.5% 1.00x (?)
ObjectiveCBridgeFromNSSetAnyObjectForced 4174 4190 +0.4% 1.00x (?)
ObjectiveCBridgeFromNSSetAnyObjectToString 71759 71257 -0.7% 1.01x (?)
ObjectiveCBridgeFromNSSetAnyObjectToStringForced 62006 62326 +0.5% 0.99x (?)
ObjectiveCBridgeFromNSString 1404 1427 +1.6% 0.98x
ObjectiveCBridgeFromNSStringForced 2345 2383 +1.6% 0.98x (?)
ObjectiveCBridgeStubDataAppend 3719 3679 -1.1% 1.01x (?)
ObjectiveCBridgeStubDateAccess 181 181 +0.0% 1.00x
ObjectiveCBridgeStubDateMutation 272 272 +0.0% 1.00x
ObjectiveCBridgeStubFromArrayOfNSString 28501 28704 +0.7% 0.99x (?)
ObjectiveCBridgeStubFromNSDate 3613 3610 -0.1% 1.00x (?)
ObjectiveCBridgeStubFromNSDateRef 3761 3761 +0.0% 1.00x
ObjectiveCBridgeStubFromNSString 920 934 +1.5% 0.99x (?)
ObjectiveCBridgeStubFromNSStringRef 177 177 +0.0% 1.00x
ObjectiveCBridgeStubNSDataAppend 2323 2329 +0.3% 1.00x (?)
ObjectiveCBridgeStubNSDateMutationRef 12700 12642 -0.5% 1.00x (?)
ObjectiveCBridgeStubNSDateRefAccess 371 374 +0.8% 0.99x (?)
ObjectiveCBridgeStubToArrayOfNSString 28787 28477 -1.1% 1.01x (?)
ObjectiveCBridgeStubToNSDateRef 3398 3394 -0.1% 1.00x (?)
ObjectiveCBridgeStubToNSString 1519 1518 -0.1% 1.00x (?)
ObjectiveCBridgeStubToNSStringRef 112 112 +0.0% 1.00x
ObjectiveCBridgeStubURLAppendPath 215463 212679 -1.3% 1.01x (?)
ObjectiveCBridgeStubURLAppendPathRef 210716 215329 +2.2% 0.98x (?)
ObjectiveCBridgeToNSArray 29141 28613 -1.8% 1.02x (?)
ObjectiveCBridgeToNSDictionary 45290 44732 -1.2% 1.01x (?)
ObjectiveCBridgeToNSSet 39439 39678 +0.6% 0.99x (?)
ObjectiveCBridgeToNSString 1269 1270 +0.1% 1.00x (?)
ObserverClosure 2300 2295 -0.2% 1.00x (?)
ObserverForwarderStruct 1126 1129 +0.3% 1.00x (?)
ObserverPartiallyAppliedMethod 3816 3814 -0.1% 1.00x (?)
ObserverUnappliedMethod 2649 2646 -0.1% 1.00x (?)
OpenClose 54 54 +0.0% 1.00x
Phonebook 9302 9288 -0.2% 1.00x (?)
PolymorphicCalls 22 22 +0.0% 1.00x
PopFrontArray 1070 1075 +0.5% 1.00x (?)
PopFrontArrayGeneric 1071 1075 +0.4% 1.00x (?)
PopFrontUnsafePointer 8855 8854 -0.0% 1.00x (?)
PrefixAnyCollection 56 56 +0.0% 1.00x
PrefixAnyCollectionLazy 45121 45257 +0.3% 1.00x (?)
PrefixAnySeqCRangeIter 21567 22278 +3.3% 0.97x
PrefixAnySeqCRangeIterLazy 21646 22385 +3.4% 0.97x (?)
PrefixAnySeqCntRange 50 50 +0.0% 1.00x
PrefixAnySeqCntRangeLazy 50 50 +0.0% 1.00x
PrefixAnySequence 6089 6094 +0.1% 1.00x (?)
PrefixAnySequenceLazy 6093 6086 -0.1% 1.00x (?)
PrefixArray 24 24 +0.0% 1.00x
PrefixArrayLazy 24 24 +0.0% 1.00x
PrefixCountableRange 32 32 +0.0% 1.00x
PrefixCountableRangeLazy 32 32 +0.0% 1.00x
PrefixSequence 2523 2524 +0.0% 1.00x (?)
PrefixSequenceLazy 2617 2617 +0.0% 1.00x
PrefixWhileAnyCollection 96 96 +0.0% 1.00x
PrefixWhileAnyCollectionLazy 75 75 +0.0% 1.00x
PrefixWhileAnySeqCRangeIter 12657 12696 +0.3% 1.00x (?)
PrefixWhileAnySeqCRangeIterLazy 75 75 +0.0% 1.00x
PrefixWhileAnySeqCntRange 90 90 +0.0% 1.00x
PrefixWhileAnySeqCntRangeLazy 75 75 +0.0% 1.00x
PrefixWhileAnySequence 14286 14389 +0.7% 0.99x (?)
PrefixWhileAnySequenceLazy 1492 1491 -0.1% 1.00x (?)
PrefixWhileArray 62 62 +0.0% 1.00x
PrefixWhileArrayLazy 49 49 +0.0% 1.00x
PrefixWhileCountableRange 36 36 +0.0% 1.00x
PrefixWhileCountableRangeLazy 32 32 +0.0% 1.00x
PrefixWhileSequenceLazy 28 28 +0.0% 1.00x
Prims 757 761 +0.5% 0.99x (?)
ProtocolDispatch 2727 2727 +0.0% 1.00x
ProtocolDispatch2 160 160 +0.0% 1.00x
RC4 160 160 +0.0% 1.00x
RGBHistogram 2264 2261 -0.1% 1.00x (?)
RGBHistogramOfObjects 24409 24426 +0.1% 1.00x (?)
RangeAssignment 299 298 -0.3% 1.00x (?)
RecursiveOwnedParameter 2326 2329 +0.1% 1.00x (?)
ReversedArray 49 49 +0.0% 1.00x
ReversedDictionary 108 108 +0.0% 1.00x
SetExclusiveOr 2910 2908 -0.1% 1.00x (?)
SetExclusiveOr_OfObjects 9616 9565 -0.5% 1.01x (?)
SetIntersect 281 280 -0.4% 1.00x (?)
SetIntersect_OfObjects 1720 1718 -0.1% 1.00x (?)
SetIsSubsetOf 286 286 +0.0% 1.00x
SetIsSubsetOf_OfObjects 359 359 +0.0% 1.00x
SetUnion 2614 2631 +0.7% 0.99x (?)
SetUnion_OfObjects 8091 8055 -0.4% 1.00x (?)
SevenBoom 1457 1465 +0.5% 0.99x (?)
Sim2DArray 276 276 +0.0% 1.00x
SortLargeExistentials 8316 8326 +0.1% 1.00x (?)
SortLettersInPlace 1143 1143 +0.0% 1.00x
SortSortedStrings 851 840 -1.3% 1.01x (?)
SortStrings 1650 1644 -0.4% 1.00x (?)
SortStringsUnicode 7567 7774 +2.7% 0.97x
StackPromo 22336 22324 -0.1% 1.00x (?)
StaticArray 21 21 +0.0% 1.00x
StrComplexWalk 720 718 -0.3% 1.00x (?)
StringAdder 0 0 +0.0% 1.00x
StringBuilder 1313 1321 +0.6% 0.99x
StringBuilderLong 904 908 +0.4% 1.00x (?)
StringEdits 201410 201604 +0.1% 1.00x (?)
StringEqualPointerComparison 7335 7304 -0.4% 1.00x (?)
StringHasPrefix 33 33 +0.0% 1.00x
StringHasPrefixUnicode 14558 14665 +0.7% 0.99x (?)
StringHasSuffix 16 16 +0.0% 1.00x
StringHasSuffixUnicode 61075 61782 +1.2% 0.99x (?)
StringInterpolation 8338 8379 +0.5% 1.00x (?)
StringMatch 9212 8901 -3.4% 1.03x
StringUTF16Builder 2092 2091 -0.0% 1.00x (?)
StringWalk 6349 6366 +0.3% 1.00x
StringWithCString 125587 126315 +0.6% 0.99x (?)
SuffixAnyCollection 22 22 +0.0% 1.00x
SuffixAnyCollectionLazy 15010 15433 +2.8% 0.97x
SuffixAnySeqCRangeIter 4980 5000 +0.4% 1.00x
SuffixAnySeqCRangeIterLazy 5001 5003 +0.0% 1.00x (?)
SuffixAnySeqCntRange 16 16 +0.0% 1.00x
SuffixAnySeqCntRangeLazy 16 16 +0.0% 1.00x
SuffixAnySequence 6968 6833 -1.9% 1.02x (?)
SuffixAnySequenceLazy 6661 6727 +1.0% 0.99x (?)
SuffixArray 8 8 +0.0% 1.00x
SuffixArrayLazy 8 8 +0.0% 1.00x
SuffixCountableRange 10 10 +0.0% 1.00x
SuffixCountableRangeLazy 10 10 +0.0% 1.00x
SuffixSequence 4446 4552 +2.4% 0.98x
SuffixSequenceLazy 4442 4511 +1.6% 0.98x
SuperChars 296622 296416 -0.1% 1.00x (?)
TwoSum 875 870 -0.6% 1.01x (?)
TypeFlood 0 0 +0.0% 1.00x
UTF8Decode 257 257 +0.0% 1.00x
Walsh 356 356 +0.0% 1.00x
XorLoop 347 347 +0.0% 1.00x
**Unoptimized (Onone)**
Regression (8)
TEST OLD NEW DELTA SPEEDUP
PrefixAnySeqCntRange 19145 20436 +6.7% 0.94x
DropFirstAnySeqCntRange 19172 20426 +6.5% 0.94x
PrefixAnyCollection 19115 20362 +6.5% 0.94x
DropFirstAnyCollection 19103 20288 +6.2% 0.94x
DropLastAnyCollection 6400 6773 +5.8% 0.94x
SuffixAnyCollection 6402 6775 +5.8% 0.94x
DropLastAnySeqCntRange 6416 6786 +5.8% 0.95x
SuffixAnySeqCntRange 6417 6785 +5.7% 0.95x
Improvement (2)
TEST OLD NEW DELTA SPEEDUP
StringAdder 52 48 -7.7% 1.08x
HashQuadratic 52513898 48984939 -6.7% 1.07x
No Changes (259)
TEST OLD NEW DELTA SPEEDUP
AngryPhonebook 3094 3118 +0.8% 0.99x
AnyHashableWithAClass 84875 83577 -1.5% 1.02x
Array2D 605775 606280 +0.1% 1.00x (?)
ArrayAppend 3682 3784 +2.8% 0.97x
ArrayAppendArrayOfInt 652 651 -0.2% 1.00x (?)
ArrayAppendAscii 60578 61061 +0.8% 0.99x
ArrayAppendFromGeneric 656 655 -0.2% 1.00x
ArrayAppendGenericStructs 1299 1291 -0.6% 1.01x (?)
ArrayAppendLatin1 82963 82829 -0.2% 1.00x
ArrayAppendLazyMap 207990 207503 -0.2% 1.00x
ArrayAppendOptionals 1280 1289 +0.7% 0.99x (?)
ArrayAppendRepeatCol 212520 214046 +0.7% 0.99x (?)
ArrayAppendReserved 3325 3429 +3.1% 0.97x
ArrayAppendSequence 74630 74648 +0.0% 1.00x (?)
ArrayAppendStrings 13546 13630 +0.6% 0.99x (?)
ArrayAppendToFromGeneric 654 653 -0.2% 1.00x (?)
ArrayAppendToGeneric 656 654 -0.3% 1.00x
ArrayAppendUTF16 81496 81260 -0.3% 1.00x (?)
ArrayInClass 4734 4734 +0.0% 1.00x
ArrayLiteral 1467 1468 +0.1% 1.00x (?)
ArrayOfGenericPOD 3069 3075 +0.2% 1.00x (?)
ArrayOfGenericRef 9559 9583 +0.3% 1.00x (?)
ArrayOfPOD 1832 1832 +0.0% 1.00x
ArrayOfRef 8725 8733 +0.1% 1.00x (?)
ArrayPlusEqualArrayOfInt 653 651 -0.3% 1.00x
ArrayPlusEqualFiveElementCollection 288070 284931 -1.1% 1.01x (?)
ArrayPlusEqualSingleElementCollection 283381 278465 -1.7% 1.02x
ArrayPlusEqualThreeElements 10106 10126 +0.2% 1.00x (?)
ArraySubscript 4168 4164 -0.1% 1.00x (?)
ArrayValueProp 3028 3017 -0.4% 1.00x (?)
ArrayValueProp2 3644 3649 +0.1% 1.00x
ArrayValueProp3 3431 3430 -0.0% 1.00x
ArrayValueProp4 3321 3321 +0.0% 1.00x
BitCount 888 888 +0.0% 1.00x
ByteSwap 266 265 -0.4% 1.00x (?)
CStringLongAscii 5402 5288 -2.1% 1.02x (?)
CStringLongNonAscii 2400 2366 -1.4% 1.01x
CStringShortAscii 8320 8391 +0.9% 0.99x (?)
Calculator 1175 1173 -0.2% 1.00x (?)
CaptureProp 108739 108912 +0.2% 1.00x (?)
CharacterLiteralsLarge 9989 10058 +0.7% 0.99x
CharacterLiteralsSmall 1002 1001 -0.1% 1.00x (?)
Chars 7471 7472 +0.0% 1.00x (?)
ClassArrayGetter 929 930 +0.1% 1.00x
DeadArray 117879 117257 -0.5% 1.01x (?)
Dictionary 1669 1666 -0.2% 1.00x (?)
Dictionary2 3489 3484 -0.1% 1.00x (?)
Dictionary2OfObjects 5831 5825 -0.1% 1.00x (?)
Dictionary3 1319 1319 +0.0% 1.00x
Dictionary3OfObjects 2220 2202 -0.8% 1.01x (?)
DictionaryBridge 2743 2713 -1.1% 1.01x (?)
DictionaryLiteral 8234 8189 -0.5% 1.01x
DictionaryOfObjects 4600 4535 -1.4% 1.01x
DictionaryRemove 21475 21076 -1.9% 1.02x
DictionaryRemoveOfObjects 55577 55753 +0.3% 1.00x (?)
DictionarySwap 5518 5446 -1.3% 1.01x
DictionarySwapOfObjects 19910 19775 -0.7% 1.01x (?)
DropFirstAnyCollectionLazy 136041 134579 -1.1% 1.01x (?)
DropFirstAnySeqCRangeIter 30296 29876 -1.4% 1.01x (?)
DropFirstAnySeqCRangeIterLazy 30303 29951 -1.2% 1.01x
DropFirstAnySeqCntRangeLazy 19214 19228 +0.1% 1.00x (?)
DropFirstAnySequence 14054 14279 +1.6% 0.98x
DropFirstAnySequenceLazy 14141 14656 +3.6% 0.96x
DropFirstArray 6398 6197 -3.1% 1.03x
DropFirstArrayLazy 44557 44630 +0.2% 1.00x (?)
DropFirstCountableRange 339 339 +0.0% 1.00x
DropFirstCountableRangeLazy 38183 36989 -3.1% 1.03x (?)
DropFirstSequence 12889 13270 +3.0% 0.97x
DropFirstSequenceLazy 13188 13420 +1.8% 0.98x
DropLastAnyCollectionLazy 44937 44947 +0.0% 1.00x (?)
DropLastAnySeqCRangeIter 43757 43747 -0.0% 1.00x (?)
DropLastAnySeqCRangeIterLazy 43912 43458 -1.0% 1.01x (?)
DropLastAnySeqCntRangeLazy 6378 6501 +1.9% 0.98x (?)
DropLastAnySequence 29006 29070 +0.2% 1.00x (?)
DropLastAnySequenceLazy 29025 29074 +0.2% 1.00x (?)
DropLastArray 2114 2076 -1.8% 1.02x
DropLastArrayLazy 14859 14851 -0.1% 1.00x (?)
DropLastCountableRange 116 116 +0.0% 1.00x
DropLastCountableRangeLazy 12740 12514 -1.8% 1.02x (?)
DropLastSequence 28592 28578 -0.0% 1.00x
DropLastSequenceLazy 28637 28654 +0.1% 1.00x (?)
DropWhileAnyCollection 24924 25282 +1.4% 0.99x
DropWhileAnyCollectionLazy 27728 27687 -0.1% 1.00x (?)
DropWhileAnySeqCRangeIter 31958 31890 -0.2% 1.00x (?)
DropWhileAnySeqCRangeIterLazy 27503 27292 -0.8% 1.01x
DropWhileAnySeqCntRange 24932 25445 +2.1% 0.98x
DropWhileAnySeqCntRangeLazy 27573 27499 -0.3% 1.00x
DropWhileAnySequence 16113 16488 +2.3% 0.98x
DropWhileAnySequenceLazy 12463 12562 +0.8% 0.99x
DropWhileArray 9921 9787 -1.4% 1.01x
DropWhileArrayLazy 17194 16901 -1.7% 1.02x
DropWhileCountableRange 6161 6146 -0.2% 1.00x
DropWhileCountableRangeLazy 26717 26214 -1.9% 1.02x (?)
DropWhileSequence 15111 15250 +0.9% 0.99x (?)
DropWhileSequenceLazy 11286 11374 +0.8% 0.99x (?)
ErrorHandling 3766 3820 +1.4% 0.99x (?)
GlobalClass 0 0 +0.0% 1.00x
Hanoi 17505 17551 +0.3% 1.00x
HashTest 18613 18525 -0.5% 1.00x (?)
Histogram 8880 8706 -2.0% 1.02x (?)
Integrate 395 395 +0.0% 1.00x
IterateData 12775 12759 -0.1% 1.00x (?)
Join 1267 1273 +0.5% 1.00x (?)
LazilyFilteredArrays 1699885 1677742 -1.3% 1.01x (?)
LazilyFilteredRange 681364 666655 -2.2% 1.02x
LinkedList 33232 33237 +0.0% 1.00x (?)
MapReduce 37729 37990 +0.7% 0.99x
MapReduceAnyCollection 37899 37682 -0.6% 1.01x
MapReduceAnyCollectionShort 50962 50133 -1.6% 1.02x (?)
MapReduceClass 43111 42991 -0.3% 1.00x
MapReduceClassShort 54440 54228 -0.4% 1.00x (?)
MapReduceLazyCollection 32682 32609 -0.2% 1.00x
MapReduceLazyCollectionShort 44104 44075 -0.1% 1.00x (?)
MapReduceLazySequence 25349 25523 +0.7% 0.99x
MapReduceSequence 41480 41380 -0.2% 1.00x (?)
MapReduceShort 49907 50136 +0.5% 1.00x (?)
MapReduceShortString 278 279 +0.4% 1.00x (?)
MapReduceString 2630 2595 -1.3% 1.01x (?)
Memset 43996 43997 +0.0% 1.00x (?)
MonteCarloE 134985 134813 -0.1% 1.00x (?)
MonteCarloPi 52578 52587 +0.0% 1.00x (?)
NSDictionaryCastToSwift 6395 6358 -0.6% 1.01x (?)
NSError 702 704 +0.3% 1.00x (?)
NSStringConversion 1298 1333 +2.7% 0.97x
NopDeinit 53523 53341 -0.3% 1.00x (?)
ObjectAllocation 634 633 -0.2% 1.00x (?)
ObjectiveCBridgeFromNSArrayAnyObject 25588 25340 -1.0% 1.01x (?)
ObjectiveCBridgeFromNSArrayAnyObjectForced 7844 7921 +1.0% 0.99x (?)
ObjectiveCBridgeFromNSArrayAnyObjectToString 45001 45245 +0.5% 0.99x (?)
ObjectiveCBridgeFromNSArrayAnyObjectToStringForced 38484 38533 +0.1% 1.00x (?)
ObjectiveCBridgeFromNSDictionaryAnyObject 122476 122701 +0.2% 1.00x (?)
ObjectiveCBridgeFromNSDictionaryAnyObjectForced 7779 7971 +2.5% 0.98x (?)
ObjectiveCBridgeFromNSDictionaryAnyObjectToString 102915 98964 -3.8% 1.04x (?)
ObjectiveCBridgeFromNSDictionaryAnyObjectToStringForced 95769 92217 -3.7% 1.04x (?)
ObjectiveCBridgeFromNSSetAnyObject 67694 67705 +0.0% 1.00x (?)
ObjectiveCBridgeFromNSSetAnyObjectForced 7198 7000 -2.8% 1.03x
ObjectiveCBridgeFromNSSetAnyObjectToString 76688 76781 +0.1% 1.00x (?)
ObjectiveCBridgeFromNSSetAnyObjectToStringForced 65685 65792 +0.2% 1.00x (?)
ObjectiveCBridgeFromNSString 3989 4036 +1.2% 0.99x (?)
ObjectiveCBridgeFromNSStringForced 2727 2767 +1.5% 0.99x (?)
ObjectiveCBridgeStubDataAppend 3782 3689 -2.5% 1.03x (?)
ObjectiveCBridgeStubDateAccess 1056 1056 +0.0% 1.00x
ObjectiveCBridgeStubDateMutation 485 485 +0.0% 1.00x
ObjectiveCBridgeStubFromArrayOfNSString 28832 29261 +1.5% 0.99x (?)
ObjectiveCBridgeStubFromNSDate 4035 4035 +0.0% 1.00x
ObjectiveCBridgeStubFromNSDateRef 3945 3947 +0.1% 1.00x
ObjectiveCBridgeStubFromNSString 944 968 +2.5% 0.98x
ObjectiveCBridgeStubFromNSStringRef 202 202 +0.0% 1.00x
ObjectiveCBridgeStubNSDataAppend 2628 2603 -1.0% 1.01x (?)
ObjectiveCBridgeStubNSDateMutationRef 15299 15667 +2.4% 0.98x (?)
ObjectiveCBridgeStubNSDateRefAccess 1210 1211 +0.1% 1.00x (?)
ObjectiveCBridgeStubToArrayOfNSString 29210 28509 -2.4% 1.02x (?)
ObjectiveCBridgeStubToNSDate 15341 15144 -1.3% 1.01x (?)
ObjectiveCBridgeStubToNSDateRef 3391 3402 +0.3% 1.00x (?)
ObjectiveCBridgeStubToNSString 1567 1567 +0.0% 1.00x
ObjectiveCBridgeStubToNSStringRef 149 149 +0.0% 1.00x
ObjectiveCBridgeStubURLAppendPath 214246 216525 +1.1% 0.99x (?)
ObjectiveCBridgeStubURLAppendPathRef 218582 223678 +2.3% 0.98x (?)
ObjectiveCBridgeToNSArray 29203 29102 -0.3% 1.00x (?)
ObjectiveCBridgeToNSDictionary 46374 46056 -0.7% 1.01x (?)
ObjectiveCBridgeToNSSet 40170 40122 -0.1% 1.00x (?)
ObjectiveCBridgeToNSString 1296 1310 +1.1% 0.99x (?)
ObserverClosure 6652 6640 -0.2% 1.00x (?)
ObserverForwarderStruct 4689 4683 -0.1% 1.00x (?)
ObserverPartiallyAppliedMethod 8123 8115 -0.1% 1.00x (?)
ObserverUnappliedMethod 8404 8394 -0.1% 1.00x (?)
OpenClose 394 394 +0.0% 1.00x
Phonebook 24517 24232 -1.2% 1.01x
PolymorphicCalls 2929 2898 -1.1% 1.01x
PopFrontArray 7312 7334 +0.3% 1.00x
PopFrontArrayGeneric 6369 6341 -0.4% 1.00x (?)
PopFrontUnsafePointer 98210 98967 +0.8% 0.99x (?)
PrefixAnyCollectionLazy 134863 137285 +1.8% 0.98x (?)
PrefixAnySeqCRangeIter 24157 24799 +2.7% 0.97x (?)
PrefixAnySeqCRangeIterLazy 24701 24157 -2.2% 1.02x
PrefixAnySeqCntRangeLazy 19229 19272 +0.2% 1.00x
PrefixAnySequence 11837 12098 +2.2% 0.98x
PrefixAnySequenceLazy 12038 12094 +0.5% 1.00x (?)
PrefixArray 6390 6201 -3.0% 1.03x
PrefixArrayLazy 44544 44625 +0.2% 1.00x (?)
PrefixCountableRange 334 334 +0.0% 1.00x
PrefixCountableRangeLazy 38254 36998 -3.3% 1.03x (?)
PrefixSequence 10758 11140 +3.6% 0.97x
PrefixSequenceLazy 11147 10921 -2.0% 1.02x
PrefixWhileAnyCollection 36627 36589 -0.1% 1.00x (?)
PrefixWhileAnyCollectionLazy 23099 22300 -3.5% 1.04x (?)
PrefixWhileAnySeqCRangeIter 40560 40415 -0.4% 1.00x (?)
PrefixWhileAnySeqCRangeIterLazy 22823 22369 -2.0% 1.02x
PrefixWhileAnySeqCntRange 36667 36799 +0.4% 1.00x (?)
PrefixWhileAnySeqCntRangeLazy 22844 22284 -2.5% 1.03x
PrefixWhileAnySequence 29573 29801 +0.8% 0.99x
PrefixWhileAnySequenceLazy 11530 11735 +1.8% 0.98x
PrefixWhileArray 16986 16808 -1.0% 1.01x
PrefixWhileArrayLazy 14691 14687 -0.0% 1.00x (?)
PrefixWhileCountableRange 17650 17589 -0.3% 1.00x (?)
PrefixWhileCountableRangeLazy 22465 22477 +0.1% 1.00x (?)
PrefixWhileSequence 28358 28539 +0.6% 0.99x
PrefixWhileSequenceLazy 10713 10805 +0.9% 0.99x
Prims 8887 8880 -0.1% 1.00x (?)
ProtocolDispatch 6983 7054 +1.0% 0.99x (?)
ProtocolDispatch2 490 489 -0.2% 1.00x (?)
RC4 19585 19347 -1.2% 1.01x
RGBHistogram 34034 33828 -0.6% 1.01x (?)
RGBHistogramOfObjects 99365 98740 -0.6% 1.01x (?)
RangeAssignment 5680 5702 +0.4% 1.00x (?)
RecursiveOwnedParameter 9655 9620 -0.4% 1.00x
ReversedArray 587 587 +0.0% 1.00x
ReversedBidirectional 73562 73599 +0.1% 1.00x (?)
ReversedDictionary 26582 26554 -0.1% 1.00x (?)
SetExclusiveOr 21058 21134 +0.4% 1.00x (?)
SetExclusiveOr_OfObjects 41260 41222 -0.1% 1.00x (?)
SetIntersect 10720 10637 -0.8% 1.01x
SetIntersect_OfObjects 11480 11213 -2.3% 1.02x
SetIsSubsetOf 1634 1621 -0.8% 1.01x (?)
SetIsSubsetOf_OfObjects 1520 1521 +0.1% 1.00x (?)
SetUnion 12169 12297 +1.1% 0.99x
SetUnion_OfObjects 29577 29511 -0.2% 1.00x (?)
SevenBoom 1618 1620 +0.1% 1.00x (?)
Sim2DArray 30016 30020 +0.0% 1.00x (?)
SortLargeExistentials 17916 17775 -0.8% 1.01x
SortLettersInPlace 2866 2836 -1.0% 1.01x
SortSortedStrings 1406 1405 -0.1% 1.00x (?)
SortStrings 2480 2494 +0.6% 0.99x
SortStringsUnicode 8836 8941 +1.2% 0.99x
StackPromo 102917 103196 +0.3% 1.00x (?)
StaticArray 4595 4568 -0.6% 1.01x
StrComplexWalk 6926 6941 +0.2% 1.00x (?)
StrToInt 5392 5150 -4.5% 1.05x
StringBuilder 2770 2758 -0.4% 1.00x (?)
StringBuilderLong 1086 1107 +1.9% 0.98x
StringEdits 492572 488156 -0.9% 1.01x (?)
StringEqualPointerComparison 9737 9577 -1.6% 1.02x
StringHasPrefix 1747 1767 +1.1% 0.99x (?)
StringHasPrefixUnicode 16413 16488 +0.5% 1.00x (?)
StringHasSuffix 1960 1910 -2.6% 1.03x
StringHasSuffixUnicode 63223 63583 +0.6% 0.99x
StringInterpolation 12006 12026 +0.2% 1.00x (?)
StringMatch 31198 31153 -0.1% 1.00x
StringUTF16Builder 3553 3565 +0.3% 1.00x (?)
StringWalk 22404 21547 -3.8% 1.04x
StringWithCString 135978 135472 -0.4% 1.00x (?)
SuffixAnyCollectionLazy 45067 44974 -0.2% 1.00x (?)
SuffixAnySeqCRangeIter 41465 41474 +0.0% 1.00x (?)
SuffixAnySeqCRangeIterLazy 41472 41321 -0.4% 1.00x (?)
SuffixAnySeqCntRangeLazy 6376 6512 +2.1% 0.98x
SuffixAnySequence 26881 26906 +0.1% 1.00x (?)
SuffixAnySequenceLazy 27161 27215 +0.2% 1.00x (?)
SuffixArray 2115 2077 -1.8% 1.02x
SuffixArrayLazy 14862 14865 +0.0% 1.00x (?)
SuffixCountableRange 118 118 +0.0% 1.00x
SuffixCountableRangeLazy 12793 12522 -2.1% 1.02x (?)
SuffixSequence 26400 26382 -0.1% 1.00x (?)
SuffixSequenceLazy 26420 26424 +0.0% 1.00x (?)
SuperChars 315779 316876 +0.3% 1.00x (?)
TwoSum 4326 4319 -0.2% 1.00x (?)
TypeFlood 163 159 -2.5% 1.03x (?)
UTF8Decode 37315 37337 +0.1% 1.00x (?)
Walsh 11858 11864 +0.1% 1.00x (?)
XorLoop 23705 23705 +0.0% 1.00x
**Hardware Overview** Model Name: Mac mini Model Identifier: Macmini7,1 Processor Name: Intel Core i5 Processor Speed: 2.8 GHz Number of Processors: 1 Total Number of Cores: 2 L2 Cache (per Core): 256 KB L3 Cache: 3 MB Memory: 16 GB

@dabrahams
Copy link
Contributor Author

@swift-ci Please smoke test and merge

@swift-ci swift-ci merged commit e04e7ce into master May 9, 2017
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