Skip to content

stdlib: change Collection._copyToNativeArrayBuffer() to be defined in terms of public types #3435

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 2 commits into from
Jul 11, 2016

Conversation

gribozavr
Copy link
Contributor

This PR will allow us to hide _ContiguousArrayBuffer in future.


Before merging this pull request to apple/swift repository:

  • Test pull request on Swift continuous integration.

Triggering Swift CI

The swift-ci is triggered by writing a comment on this PR addressed to the GitHub user @swift-ci. Different tests will run depending on the specific comment that you use. The currently available comments are:

Smoke Testing

Platform Comment
All supported platforms @swift-ci Please smoke test
All supported platforms @swift-ci Please smoke test and merge
OS X platform @swift-ci Please smoke test OS X platform
Linux platform @swift-ci Please smoke test Linux platform

Validation Testing

Platform Comment
All supported platforms @swift-ci Please test
All supported platforms @swift-ci Please test and merge
OS X platform @swift-ci Please test OS X platform
OS X platform @swift-ci Please benchmark
Linux platform @swift-ci Please test Linux platform

Lint Testing

Language Comment
Python @swift-ci Please Python lint

Note: Only members of the Apple organization can trigger swift-ci.

@gribozavr
Copy link
Contributor Author

@swift-ci Please test

@gribozavr
Copy link
Contributor Author

@swift-ci Please benchmark

@swift-ci
Copy link
Contributor

Build comment file:

Optimized (O)

Regression (0)

Improvement (2)

TEST OLD_MIN NEW_MIN DELTA (%) SPEEDUP
StaticArray 2829 2676 -5.4% 1.06x(?)
ClassArrayGetter 13 12 -7.7% 1.08x(?)

No Changes (132)

TEST OLD_MIN NEW_MIN DELTA (%) SPEEDUP
ObjectiveCBridgeFromNSArrayAnyObjectToString 179989 172396 -4.2% 1.04x
ObjectiveCBridgeFromNSDictionaryAnyObject 254953 247172 -3.0% 1.03x(?)
ObjectiveCBridgeStubToNSDate 13668 13313 -2.6% 1.03x(?)
ObjectiveCBridgeToNSArray 32443 31626 -2.5% 1.03x(?)
PopFrontUnsafePointer 9419 9133 -3.0% 1.03x(?)
ObjectiveCBridgeStubToArrayOfNSString 31871 30955 -2.9% 1.03x(?)
ObjectiveCBridgeStubNSDateMutationRef 12269 11898 -3.0% 1.03x(?)
StringHasPrefixUnicode 15617 15111 -3.2% 1.03x
ObjectiveCBridgeStubFromArrayOfNSString 115159 111606 -3.1% 1.03x(?)
ObjectiveCBridgeStubToNSDateRef 3438 3384 -1.6% 1.02x(?)
DictionaryLiteral 4440 4369 -1.6% 1.02x(?)
NSDictionaryCastToSwift 13421 13162 -1.9% 1.02x
ObjectiveCBridgeToNSDictionary 16325 16016 -1.9% 1.02x(?)
ArraySubscript 1422 1414 -0.6% 1.01x(?)
133 3766043 3734698 -0.8% 1.01x
SuperChars 369329 366563 -0.8% 1.01x(?)
StringInterpolation 11742 11603 -1.2% 1.01x(?)
ErrorHandling 3140 3120 -0.6% 1.01x(?)
SortStringsUnicode 9393 9273 -1.3% 1.01x
ObjectiveCBridgeFromNSDictionaryAnyObjectToStringForced 135694 134428 -0.9% 1.01x(?)
Dictionary 763 759 -0.5% 1.01x
SetIntersect 1205 1199 -0.5% 1.01x(?)
ArrayOfGenericRef 3651 3628 -0.6% 1.01x
ObjectiveCBridgeFromNSSetAnyObjectToString 162133 160359 -1.1% 1.01x(?)
RGBHistogram 3203 3178 -0.8% 1.01x
ObjectiveCBridgeToNSString 1078 1077 -0.1% 1.00x(?)
DictionarySwapOfObjects 6828 6836 +0.1% 1.00x(?)
StackPromo 19837 19833 -0.0% 1.00x(?)
PopFrontArray 1157 1154 -0.3% 1.00x(?)
RecursiveOwnedParameter 1938 1938 +0.0% 1.00x
ObjectiveCBridgeStubToNSString 1299 1298 -0.1% 1.00x(?)
ObjectiveCBridgeFromNSDictionaryAnyObjectToString 214545 214580 +0.0% 1.00x(?)
Array2D 1973 1979 +0.3% 1.00x(?)
Histogram 682 681 -0.1% 1.00x(?)
SortStrings 1830 1826 -0.2% 1.00x(?)
DictionaryBridge 3894 3891 -0.1% 1.00x(?)
ObjectiveCBridgeStubFromNSDateRef 3713 3714 +0.0% 1.00x(?)
MonteCarloPi 45014 45058 +0.1% 1.00x
StringWithCString 622624 622623 -0.0% 1.00x(?)
ObjectiveCBridgeFromNSArrayAnyObjectForced 3825 3840 +0.4% 1.00x(?)
ObjectiveCBridgeFromNSStringForced 2319 2310 -0.4% 1.00x(?)
SortLettersInPlace 999 996 -0.3% 1.00x(?)
DictionarySwap 801 801 +0.0% 1.00x
ArrayOfGenericPOD 220 220 +0.0% 1.00x
Dictionary3OfObjects 908 909 +0.1% 1.00x(?)
StringHasPrefix 701 701 +0.0% 1.00x
ByteSwap 1 1 +0.0% 1.00x
XorLoop 381 381 +0.0% 1.00x
Integrate 238 238 +0.0% 1.00x
ObjectiveCBridgeStubFromNSStringRef 136 136 +0.0% 1.00x
ObjectiveCBridgeStubFromNSString 666 668 +0.3% 1.00x(?)
ProtocolDispatch 3040 3039 -0.0% 1.00x(?)
ObjectAllocation 149 149 +0.0% 1.00x
TypeFlood 0 0 +0.0% 1.00x
ObjectiveCBridgeFromNSSetAnyObject 112271 112451 +0.2% 1.00x(?)
AngryPhonebook 2845 2832 -0.5% 1.00x(?)
ProtocolDispatch2 156 156 +0.0% 1.00x
HashTest 2075 2069 -0.3% 1.00x(?)
Dictionary3 547 546 -0.2% 1.00x(?)
Dictionary2 1949 1949 +0.0% 1.00x
StrComplexWalk 3087 3082 -0.2% 1.00x(?)
SetIntersect_OfObjects 2479 2481 +0.1% 1.00x(?)
Join 464 465 +0.2% 1.00x(?)
ArrayOfRef 3549 3552 +0.1% 1.00x(?)
ObjectiveCBridgeStubDateMutation 273 273 +0.0% 1.00x
NSError 338 338 +0.0% 1.00x
DictionaryOfObjects 2297 2293 -0.2% 1.00x(?)
PopFrontArrayGeneric 1146 1144 -0.2% 1.00x(?)
StringEqualPointerComparison 7311 7312 +0.0% 1.00x(?)
CaptureProp 4195 4195 +0.0% 1.00x
PolymorphicCalls 62 62 +0.0% 1.00x
RC4 267 267 +0.0% 1.00x
ObjectiveCBridgeStubToNSStringRef 124 124 +0.0% 1.00x
Calculator 35 35 +0.0% 1.00x
MapReduce 373 374 +0.3% 1.00x(?)
Hanoi 3317 3316 -0.0% 1.00x(?)
OpenClose 57 57 +0.0% 1.00x
UTF8Decode 319 319 +0.0% 1.00x
ObjectiveCBridgeStubURLAppendPath 203645 204564 +0.5% 1.00x(?)
SetIsSubsetOf 516 516 +0.0% 1.00x
NopDeinit 36659 36650 -0.0% 1.00x(?)
ObjectiveCBridgeFromNSArrayAnyObject 67358 67105 -0.4% 1.00x(?)
ObjectiveCBridgeStubDataAppend 2868 2854 -0.5% 1.00x(?)
SetExclusiveOr 3865 3877 +0.3% 1.00x(?)
RGBHistogramOfObjects 22827 22882 +0.2% 1.00x(?)
ObjectiveCBridgeStubNSDateRefAccess 308 308 +0.0% 1.00x
StrToInt 5093 5089 -0.1% 1.00x(?)
ArrayInClass 86 86 +0.0% 1.00x
StringHasSuffix 767 768 +0.1% 1.00x(?)
Phonebook 7496 7493 -0.0% 1.00x(?)
ObjectiveCBridgeStubDateAccess 182 182 +0.0% 1.00x
Sim2DArray 435 435 +0.0% 1.00x
SetExclusiveOr_OfObjects 8729 8760 +0.4% 1.00x(?)
MonteCarloE 10535 10530 -0.1% 1.00x(?)
SetUnion_OfObjects 7332 7352 +0.3% 1.00x(?)
StringHasSuffixUnicode 65134 65256 +0.2% 1.00x(?)
Walsh 330 330 +0.0% 1.00x
SetIsSubsetOf_OfObjects 647 649 +0.3% 1.00x
ArrayAppend 772 772 +0.0% 1.00x
LinkedList 7267 7265 -0.0% 1.00x(?)
ObjectiveCBridgeFromNSSetAnyObjectForced 4179 4196 +0.4% 1.00x(?)
ArrayValueProp4 6 6 +0.0% 1.00x
ArrayOfPOD 182 182 +0.0% 1.00x
SetUnion 3428 3419 -0.3% 1.00x(?)
Chars 652 652 +0.0% 1.00x
StringBuilder 1590 1592 +0.1% 1.00x(?)
DeadArray 182 182 +0.0% 1.00x
ArrayValueProp2 6 6 +0.0% 1.00x
BitCount 1 1 +0.0% 1.00x
ArrayLiteral 1032 1029 -0.3% 1.00x
SevenBoom 1360 1356 -0.3% 1.00x(?)
StringWalk 5847 5849 +0.0% 1.00x(?)
ArrayValueProp 6 6 +0.0% 1.00x
GlobalClass 0 0 +0.0% 1.00x
Memset 236 235 -0.4% 1.00x
Dictionary2OfObjects 3410 3411 +0.0% 1.00x(?)
ArrayAppendReserved 536 536 +0.0% 1.00x
TwoSum 1955 1954 -0.1% 1.00x(?)
ObjectiveCBridgeStubNSDataAppend 2369 2364 -0.2% 1.00x(?)
ArrayValueProp3 6 6 +0.0% 1.00x
ObjectiveCBridgeFromNSDictionaryAnyObjectForced 4829 4855 +0.5% 0.99x
Prims 787 794 +0.9% 0.99x
DictionaryRemoveOfObjects 20557 20769 +1.0% 0.99x(?)
DictionaryRemove 5199 5258 +1.1% 0.99x
NSStringConversion 587 590 +0.5% 0.99x
ObjectiveCBridgeFromNSArrayAnyObjectToStringForced 170029 172504 +1.5% 0.99x(?)
ObjectiveCBridgeFromNSString 1611 1624 +0.8% 0.99x
ObjectiveCBridgeToNSSet 16357 16648 +1.8% 0.98x(?)
ObjectiveCBridgeFromNSSetAnyObjectToStringForced 116492 118977 +2.1% 0.98x(?)
RangeAssignment 326 335 +2.8% 0.97x(?)
ObjectiveCBridgeStubURLAppendPathRef 206481 212421 +2.9% 0.97x
ObjectiveCBridgeStubFromNSDate 3507 3626 +3.4% 0.97x
**Unoptimized (Onone)**

Regression (1)

TEST OLD_MIN NEW_MIN DELTA (%) SPEEDUP
PopFrontUnsafePointer 243000 258714 +6.5% 0.94x

Improvement (1)

TEST OLD_MIN NEW_MIN DELTA (%) SPEEDUP
StringWalk 47083 39427 -16.3% 1.19x

No Changes (132)

TEST OLD_MIN NEW_MIN DELTA (%) SPEEDUP
NSDictionaryCastToSwift 15040 14365 -4.5% 1.05x
ObjectiveCBridgeStubToNSDate 14186 13698 -3.4% 1.04x(?)
PolymorphicCalls 1180 1150 -2.5% 1.03x
Phonebook 64096 62186 -3.0% 1.03x(?)
SortStrings 2679 2626 -2.0% 1.02x
StringInterpolation 16562 16179 -2.3% 1.02x
StringHasSuffix 1643 1606 -2.2% 1.02x(?)
ErrorHandling 4019 3943 -1.9% 1.02x(?)
ObjectiveCBridgeStubURLAppendPathRef 211860 208671 -1.5% 1.02x(?)
ObjectiveCBridgeToNSSet 16080 15768 -1.9% 1.02x(?)
ObjectiveCBridgeFromNSArrayAnyObjectToStringForced 175696 172574 -1.8% 1.02x
ObjectiveCBridgeFromNSArrayAnyObjectToString 170627 168897 -1.0% 1.01x(?)
SortLettersInPlace 2635 2618 -0.7% 1.01x(?)
ObjectiveCBridgeFromNSDictionaryAnyObject 258938 256206 -1.1% 1.01x(?)
StringHasPrefix 1636 1623 -0.8% 1.01x
ObjectiveCBridgeStubToNSDateRef 3340 3317 -0.7% 1.01x
DictionaryLiteral 25267 24920 -1.4% 1.01x(?)
ObjectiveCBridgeStubDataAppend 3214 3196 -0.6% 1.01x(?)
StringHasPrefixUnicode 17142 17038 -0.6% 1.01x
NSStringConversion 2833 2797 -1.3% 1.01x
ObjectiveCBridgeFromNSSetAnyObjectForced 7657 7610 -0.6% 1.01x(?)
133 6638139 6585695 -0.8% 1.01x
ObjectiveCBridgeStubFromArrayOfNSString 114569 113555 -0.9% 1.01x(?)
ArraySubscript 5790 5804 +0.2% 1.00x(?)
ObjectiveCBridgeToNSString 1109 1109 +0.0% 1.00x
PopFrontArray 24543 24605 +0.2% 1.00x(?)
RecursiveOwnedParameter 7992 8003 +0.1% 1.00x
ObjectiveCBridgeStubToNSString 1372 1371 -0.1% 1.00x(?)
ObjectiveCBridgeFromNSDictionaryAnyObjectToString 225982 225651 -0.1% 1.00x(?)
ClassArrayGetter 1336 1334 -0.1% 1.00x(?)
Array2D 843211 842549 -0.1% 1.00x(?)
Histogram 14440 14386 -0.4% 1.00x(?)
DictionaryBridge 3965 3960 -0.1% 1.00x(?)
ObjectiveCBridgeFromNSDictionaryAnyObjectForced 7300 7287 -0.2% 1.00x(?)
ObjectiveCBridgeStubFromNSDateRef 4126 4131 +0.1% 1.00x
OpenClose 448 448 +0.0% 1.00x
StringWithCString 773239 773936 +0.1% 1.00x(?)
ObjectiveCBridgeFromNSArrayAnyObjectForced 7320 7329 +0.1% 1.00x(?)
ObjectiveCBridgeFromNSStringForced 2712 2699 -0.5% 1.00x
Prims 15154 15170 +0.1% 1.00x(?)
DictionarySwap 11505 11486 -0.2% 1.00x(?)
Dictionary3OfObjects 2799 2803 +0.1% 1.00x(?)
RangeAssignment 24298 24203 -0.4% 1.00x
ByteSwap 10 10 +0.0% 1.00x
SuperChars 538869 539111 +0.0% 1.00x(?)
XorLoop 20667 20669 +0.0% 1.00x(?)
Integrate 358 358 +0.0% 1.00x
ObjectiveCBridgeStubFromNSStringRef 168 168 +0.0% 1.00x
StaticArray 27812 27860 +0.2% 1.00x(?)
ProtocolDispatch 5873 5854 -0.3% 1.00x(?)
ObjectAllocation 553 553 +0.0% 1.00x
ObjectiveCBridgeFromNSSetAnyObject 117593 117228 -0.3% 1.00x(?)
AngryPhonebook 3773 3776 +0.1% 1.00x(?)
ProtocolDispatch2 441 441 +0.0% 1.00x
HashTest 5639 5627 -0.2% 1.00x(?)
Dictionary3 2158 2166 +0.4% 1.00x(?)
Dictionary2 5324 5337 +0.2% 1.00x(?)
SetIntersect_OfObjects 19997 20020 +0.1% 1.00x(?)
Join 1540 1537 -0.2% 1.00x
ArrayOfRef 9339 9328 -0.1% 1.00x(?)
ObjectiveCBridgeStubDateMutation 487 486 -0.2% 1.00x
NSError 697 695 -0.3% 1.00x(?)
DictionaryOfObjects 5778 5797 +0.3% 1.00x
StringEqualPointerComparison 9653 9630 -0.2% 1.00x(?)
CaptureProp 118422 118613 +0.2% 1.00x
RC4 8980 8985 +0.1% 1.00x(?)
ObjectiveCBridgeStubToNSStringRef 164 164 +0.0% 1.00x
Calculator 1012 1017 +0.5% 1.00x
MapReduce 46853 46793 -0.1% 1.00x(?)
Hanoi 20317 20315 -0.0% 1.00x(?)
DictionaryRemoveOfObjects 64475 64419 -0.1% 1.00x(?)
UTF8Decode 44996 45034 +0.1% 1.00x(?)
ObjectiveCBridgeStubURLAppendPath 205833 205251 -0.3% 1.00x(?)
SetIsSubsetOf 3153 3138 -0.5% 1.00x(?)
Dictionary 2867 2866 -0.0% 1.00x(?)
NopDeinit 56716 56725 +0.0% 1.00x(?)
ObjectiveCBridgeFromNSArrayAnyObject 71284 71074 -0.3% 1.00x(?)
SetIntersect 20201 20213 +0.1% 1.00x(?)
SetExclusiveOr 48362 48279 -0.2% 1.00x(?)
ObjectiveCBridgeFromNSSetAnyObjectToString 172725 173377 +0.4% 1.00x(?)
ObjectiveCBridgeStubNSDateRefAccess 1276 1278 +0.2% 1.00x(?)
StrToInt 5581 5571 -0.2% 1.00x(?)
ArrayInClass 4168 4171 +0.1% 1.00x(?)
ArrayOfGenericRef 10017 10008 -0.1% 1.00x(?)
ObjectiveCBridgeStubDateAccess 1125 1125 +0.0% 1.00x
Sim2DArray 14620 14624 +0.0% 1.00x
SetExclusiveOr_OfObjects 69031 68769 -0.4% 1.00x(?)
MonteCarloPi 53482 53494 +0.0% 1.00x(?)
MonteCarloE 112451 112187 -0.2% 1.00x(?)
SetUnion_OfObjects 51953 51907 -0.1% 1.00x(?)
StringHasSuffixUnicode 67045 67225 +0.3% 1.00x
Walsh 12974 12998 +0.2% 1.00x(?)
SetIsSubsetOf_OfObjects 3011 3003 -0.3% 1.00x(?)
ArrayAppend 3464 3464 +0.0% 1.00x
DictionaryRemove 32430 32517 +0.3% 1.00x(?)
LinkedList 27678 27640 -0.1% 1.00x(?)
RGBHistogramOfObjects 104645 104773 +0.1% 1.00x(?)
RGBHistogram 53396 53358 -0.1% 1.00x(?)
ArrayValueProp4 2684 2683 -0.0% 1.00x(?)
SetUnion 33542 33595 +0.2% 1.00x(?)
Chars 5339 5351 +0.2% 1.00x
StringBuilder 2893 2905 +0.4% 1.00x(?)
DeadArray 134662 134849 +0.1% 1.00x(?)
ArrayValueProp2 2890 2881 -0.3% 1.00x(?)
BitCount 92 92 +0.0% 1.00x
ArrayLiteral 1110 1111 +0.1% 1.00x(?)
SevenBoom 1518 1513 -0.3% 1.00x
ArrayValueProp 2317 2313 -0.2% 1.00x
ObjectiveCBridgeStubNSDateMutationRef 14529 14553 +0.2% 1.00x(?)
GlobalClass 0 0 +0.0% 1.00x
Memset 20659 20645 -0.1% 1.00x(?)
Dictionary2OfObjects 7208 7224 +0.2% 1.00x(?)
ArrayAppendReserved 3084 3085 +0.0% 1.00x(?)
TwoSum 9896 9855 -0.4% 1.00x(?)
ObjectiveCBridgeStubNSDataAppend 5346 5357 +0.2% 1.00x(?)
ArrayValueProp3 2745 2746 +0.0% 1.00x(?)
DictionarySwapOfObjects 26624 26851 +0.8% 0.99x
PopFrontArrayGeneric 11409 11513 +0.9% 0.99x
ArrayOfGenericPOD 3490 3523 +0.9% 0.99x
SortStringsUnicode 10375 10441 +0.6% 0.99x(?)
ObjectiveCBridgeStubToArrayOfNSString 31423 31860 +1.4% 0.99x(?)
ObjectiveCBridgeFromNSString 4826 4863 +0.8% 0.99x
ObjectiveCBridgeFromNSSetAnyObjectToStringForced 126846 128057 +0.9% 0.99x(?)
StackPromo 130101 132146 +1.6% 0.98x(?)
TypeFlood 161 165 +2.5% 0.98x(?)
ObjectiveCBridgeToNSArray 31975 32576 +1.9% 0.98x(?)
ObjectiveCBridgeFromNSDictionaryAnyObjectToStringForced 142326 145680 +2.4% 0.98x(?)
ObjectiveCBridgeToNSDictionary 16236 16564 +2.0% 0.98x(?)
ObjectiveCBridgeStubFromNSString 684 705 +3.1% 0.97x
StrComplexWalk 7884 8119 +3.0% 0.97x
ObjectiveCBridgeStubFromNSDate 3794 3912 +3.1% 0.97x
ArrayOfPOD 2392 2516 +5.2% 0.95x
**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: 8 GB

@gribozavr gribozavr force-pushed the stdlib-fix-type-of-copyToNativeArrayBuffer branch from bc0a4a6 to a09dc1b Compare July 10, 2016 06:57
@gribozavr
Copy link
Contributor Author

@swift-ci Please test

@gribozavr
Copy link
Contributor Author

@swift-ci Please benchmark

@swift-ci
Copy link
Contributor

Build comment file:

Optimized (O)

Regression (2)

TEST OLD_MIN NEW_MIN DELTA (%) SPEEDUP
Array2D 1996 2121 +6.3% 0.94x
ObjectiveCBridgeFromNSSetAnyObjectToString 157461 168154 +6.8% 0.94x(?)

Improvement (1)

TEST OLD_MIN NEW_MIN DELTA (%) SPEEDUP
ObjectiveCBridgeFromNSSetAnyObjectToStringForced 119844 112125 -6.4% 1.07x(?)

No Changes (131)

TEST OLD_MIN NEW_MIN DELTA (%) SPEEDUP
SortStringsUnicode 9543 9049 -5.2% 1.05x
StringHasPrefixUnicode 15280 14513 -5.0% 1.05x
ObjectiveCBridgeFromNSArrayAnyObjectToString 173899 167740 -3.5% 1.04x
ObjectiveCBridgeFromNSDictionaryAnyObjectToStringForced 140601 134823 -4.1% 1.04x(?)
Dictionary 755 726 -3.8% 1.04x(?)
StaticArray 2816 2747 -2.5% 1.03x(?)
ObjectiveCBridgeToNSArray 31985 31000 -3.1% 1.03x(?)
PolymorphicCalls 62 60 -3.2% 1.03x
ObjectiveCBridgeStubDataAppend 2912 2836 -2.6% 1.03x(?)
NSDictionaryCastToSwift 12978 12620 -2.8% 1.03x
ObjectiveCBridgeFromNSStringForced 2353 2297 -2.4% 1.02x(?)
ObjectiveCBridgeFromNSString 1615 1578 -2.3% 1.02x(?)
Dictionary3OfObjects 884 868 -1.8% 1.02x
ErrorHandling 3040 2995 -1.5% 1.02x(?)
StringHasSuffixUnicode 64827 63312 -2.3% 1.02x(?)
ObjectiveCBridgeToNSSet 17280 16905 -2.2% 1.02x(?)
ArrayOfGenericRef 3542 3476 -1.9% 1.02x
ObjectiveCBridgeToNSDictionary 16944 16612 -2.0% 1.02x(?)
SevenBoom 1340 1308 -2.4% 1.02x
ObjectiveCBridgeFromNSArrayAnyObjectToStringForced 171974 167832 -2.4% 1.02x(?)
ObjectiveCBridgeToNSString 1058 1046 -1.1% 1.01x(?)
SortStrings 1766 1749 -1.0% 1.01x(?)
ObjectiveCBridgeStubFromNSDateRef 3655 3601 -1.5% 1.01x(?)
SortLettersInPlace 961 953 -0.8% 1.01x(?)
StringInterpolation 11445 11283 -1.4% 1.01x(?)
ObjectAllocation 144 143 -0.7% 1.01x(?)
HashTest 2013 1999 -0.7% 1.01x(?)
Dictionary2 1891 1881 -0.5% 1.01x(?)
NSError 327 324 -0.9% 1.01x(?)
DictionaryLiteral 4463 4401 -1.4% 1.01x(?)
UTF8Decode 307 305 -0.7% 1.01x(?)
ObjectiveCBridgeStubURLAppendPath 196628 194934 -0.9% 1.01x(?)
SetIntersect 1154 1140 -1.2% 1.01x
RGBHistogramOfObjects 21801 21638 -0.8% 1.01x(?)
PopFrontArray 1139 1131 -0.7% 1.01x(?)
ArrayAppendReserved 520 516 -0.8% 1.01x
Chars 638 632 -0.9% 1.01x(?)
StrToInt 5023 4961 -1.2% 1.01x(?)
ObjectiveCBridgeStubNSDataAppend 2356 2341 -0.6% 1.01x(?)
TwoSum 1920 1903 -0.9% 1.01x(?)
StackPromo 18779 18745 -0.2% 1.00x
RecursiveOwnedParameter 1828 1829 +0.1% 1.00x(?)
ObjectiveCBridgeStubToNSString 1271 1274 +0.2% 1.00x(?)
ClassArrayGetter 12 12 +0.0% 1.00x
Histogram 651 653 +0.3% 1.00x(?)
DictionaryBridge 3817 3827 +0.3% 1.00x(?)
MonteCarloPi 42490 42481 -0.0% 1.00x(?)
StringWithCString 587784 586582 -0.2% 1.00x
DictionarySwap 795 792 -0.4% 1.00x
ArrayOfGenericPOD 208 208 +0.0% 1.00x
StrComplexWalk 2998 2998 +0.0% 1.00x
ByteSwap 1 1 +0.0% 1.00x
SuperChars 349742 349187 -0.2% 1.00x(?)
XorLoop 359 359 +0.0% 1.00x
ProtocolDispatch 2941 2946 +0.2% 1.00x(?)
TypeFlood 0 0 +0.0% 1.00x
ArrayLiteral 1013 1014 +0.1% 1.00x(?)
Dictionary3 523 523 +0.0% 1.00x
SetIntersect_OfObjects 2340 2340 +0.0% 1.00x
Join 448 447 -0.2% 1.00x(?)
ObjectiveCBridgeStubURLAppendPathRef 204964 205550 +0.3% 1.00x(?)
ObjectiveCBridgeStubDateMutation 266 265 -0.4% 1.00x(?)
DictionaryOfObjects 2214 2217 +0.1% 1.00x(?)
PopFrontArrayGeneric 1122 1121 -0.1% 1.00x(?)
PopFrontUnsafePointer 8704 8703 -0.0% 1.00x(?)
Calculator 33 33 +0.0% 1.00x
Hanoi 3189 3200 +0.3% 1.00x(?)
OpenClose 55 55 +0.0% 1.00x
DictionaryRemoveOfObjects 19844 19767 -0.4% 1.00x(?)
SetIsSubsetOf 487 487 +0.0% 1.00x
NopDeinit 35452 35309 -0.4% 1.00x(?)
ObjectiveCBridgeFromNSArrayAnyObject 63775 63965 +0.3% 1.00x(?)
SetExclusiveOr 3758 3768 +0.3% 1.00x(?)
ObjectiveCBridgeStubNSDateRefAccess 307 308 +0.3% 1.00x(?)
StringBuilder 1520 1516 -0.3% 1.00x(?)
Phonebook 7149 7126 -0.3% 1.00x(?)
Sim2DArray 436 434 -0.5% 1.00x(?)
MonteCarloE 9948 9942 -0.1% 1.00x(?)
SetUnion_OfObjects 6979 7006 +0.4% 1.00x(?)
RC4 252 252 +0.0% 1.00x
Walsh 323 323 +0.0% 1.00x
SetIsSubsetOf_OfObjects 611 612 +0.2% 1.00x
ArrayAppend 740 737 -0.4% 1.00x(?)
DictionaryRemove 5066 5091 +0.5% 1.00x(?)
LinkedList 6845 6859 +0.2% 1.00x(?)
RGBHistogram 3104 3099 -0.2% 1.00x(?)
ObjectiveCBridgeFromNSSetAnyObjectForced 4130 4133 +0.1% 1.00x(?)
SetUnion 3294 3300 +0.2% 1.00x(?)
BitCount 1 1 +0.0% 1.00x
AngryPhonebook 2837 2835 -0.1% 1.00x(?)
StringWalk 5563 5537 -0.5% 1.00x(?)
ArrayValueProp 5 5 +0.0% 1.00x
ObjectiveCBridgeStubFromArrayOfNSString 109551 109456 -0.1% 1.00x(?)
GlobalClass 0 0 +0.0% 1.00x
Memset 222 222 +0.0% 1.00x
ArrayValueProp4 5 5 +0.0% 1.00x
ArrayValueProp2 5 5 +0.0% 1.00x
ArrayValueProp3 5 5 +0.0% 1.00x
ArraySubscript 1345 1352 +0.5% 0.99x(?)
DictionarySwapOfObjects 6709 6792 +1.2% 0.99x(?)
ObjectiveCBridgeFromNSDictionaryAnyObjectForced 4690 4729 +0.8% 0.99x(?)
ObjectiveCBridgeFromNSArrayAnyObjectForced 3687 3725 +1.0% 0.99x(?)
Prims 754 763 +1.2% 0.99x(?)
133 3585312 3631033 +1.3% 0.99x
ObjectiveCBridgeStubToNSDate 12575 12766 +1.5% 0.99x(?)
ObjectiveCBridgeStubFromNSStringRef 131 132 +0.8% 0.99x(?)
ObjectiveCBridgeStubFromNSString 654 658 +0.6% 0.99x(?)
ObjectiveCBridgeFromNSSetAnyObject 110429 111509 +1.0% 0.99x(?)
ProtocolDispatch2 153 154 +0.7% 0.99x(?)
StringHasPrefix 670 675 +0.8% 0.99x(?)
ArrayOfRef 3497 3535 +1.1% 0.99x(?)
StringEqualPointerComparison 7251 7348 +1.3% 0.99x(?)
CaptureProp 4135 4184 +1.2% 0.99x
MapReduce 368 372 +1.1% 0.99x(?)
ArrayInClass 86 87 +1.2% 0.99x(?)
StringHasSuffix 750 755 +0.7% 0.99x(?)
ObjectiveCBridgeStubDateAccess 176 177 +0.6% 0.99x
SetExclusiveOr_OfObjects 8276 8351 +0.9% 0.99x
NSStringConversion 565 571 +1.1% 0.99x
ArrayOfPOD 171 172 +0.6% 0.99x
DeadArray 175 177 +1.1% 0.99x
Dictionary2OfObjects 3308 3329 +0.6% 0.99x(?)
RangeAssignment 321 327 +1.9% 0.98x(?)
ObjectiveCBridgeStubToNSDateRef 3221 3283 +1.9% 0.98x(?)
ObjectiveCBridgeStubNSDateMutationRef 11968 12203 +2.0% 0.98x
ObjectiveCBridgeFromNSDictionaryAnyObjectToString 211016 217046 +2.9% 0.97x(?)
ObjectiveCBridgeStubFromNSDate 3370 3475 +3.1% 0.97x(?)
ObjectiveCBridgeFromNSDictionaryAnyObject 239651 248567 +3.7% 0.96x(?)
Integrate 231 241 +4.3% 0.96x(?)
ObjectiveCBridgeStubToArrayOfNSString 30064 31339 +4.2% 0.96x(?)
ObjectiveCBridgeStubToNSStringRef 117 123 +5.1% 0.95x
**Unoptimized (Onone)**

Regression (1)

TEST OLD_MIN NEW_MIN DELTA (%) SPEEDUP
PopFrontUnsafePointer 239688 256341 +7.0% 0.94x

Improvement (4)

TEST OLD_MIN NEW_MIN DELTA (%) SPEEDUP
NSDictionaryCastToSwift 14866 14083 -5.3% 1.06x
ObjectiveCBridgeStubToNSDate 13663 12496 -8.5% 1.09x(?)
TypeFlood 160 145 -9.4% 1.10x(?)
StringWalk 46213 33869 -26.7% 1.36x

No Changes (129)

TEST OLD_MIN NEW_MIN DELTA (%) SPEEDUP
StringHasSuffix 1620 1547 -4.5% 1.05x(?)
ObjectiveCBridgeStubURLAppendPath 203364 195314 -4.0% 1.04x
ObjectiveCBridgeToNSDictionary 17128 16527 -3.5% 1.04x(?)
ErrorHandling 3921 3796 -3.2% 1.03x(?)
ObjectiveCBridgeStubURLAppendPathRef 209148 202648 -3.1% 1.03x(?)
PolymorphicCalls 1182 1150 -2.7% 1.03x(?)
ObjectiveCBridgeFromNSArrayAnyObjectToStringForced 171164 165681 -3.2% 1.03x(?)
SortStrings 2617 2572 -1.7% 1.02x(?)
ObjectiveCBridgeFromNSDictionaryAnyObjectForced 7236 7122 -1.6% 1.02x
StringHasPrefix 1604 1577 -1.7% 1.02x
HashTest 5475 5376 -1.8% 1.02x
ArrayAppend 3453 3393 -1.7% 1.02x(?)
ObjectiveCBridgeFromNSDictionaryAnyObjectToStringForced 143473 141326 -1.5% 1.02x(?)
NopDeinit 56512 55316 -2.1% 1.02x(?)
StringHasPrefixUnicode 16868 16500 -2.2% 1.02x(?)
ObjectiveCBridgeFromNSSetAnyObjectToString 171936 168268 -2.1% 1.02x(?)
StringBuilder 2938 2875 -2.1% 1.02x(?)
Dictionary2OfObjects 7001 6877 -1.8% 1.02x(?)
Integrate 356 354 -0.6% 1.01x(?)
ObjectiveCBridgeFromNSStringForced 2737 2702 -1.3% 1.01x(?)
DictionarySwap 11039 10971 -0.6% 1.01x(?)
RangeAssignment 23742 23415 -1.4% 1.01x
SuperChars 517056 511843 -1.0% 1.01x(?)
ObjectiveCBridgeStubToNSString 1341 1329 -0.9% 1.01x(?)
StaticArray 27929 27632 -1.1% 1.01x(?)
ProtocolDispatch 5864 5818 -0.8% 1.01x(?)
AngryPhonebook 3641 3612 -0.8% 1.01x(?)
ObjectiveCBridgeStubDateMutation 486 481 -1.0% 1.01x(?)
StringEqualPointerComparison 9558 9503 -0.6% 1.01x(?)
DictionaryLiteral 24836 24497 -1.4% 1.01x(?)
SetExclusiveOr 46391 45860 -1.1% 1.01x(?)
Phonebook 63619 62942 -1.1% 1.01x(?)
SetExclusiveOr_OfObjects 65548 64919 -1.0% 1.01x
RGBHistogram 52147 51460 -1.3% 1.01x
ObjectiveCBridgeFromNSSetAnyObjectForced 7538 7471 -0.9% 1.01x(?)
ArrayValueProp4 2695 2668 -1.0% 1.01x(?)
Chars 5407 5329 -1.4% 1.01x(?)
133 6567606 6528762 -0.6% 1.01x
DeadArray 130813 129782 -0.8% 1.01x(?)
BitCount 92 91 -1.1% 1.01x(?)
ArrayValueProp3 2718 2699 -0.7% 1.01x(?)
ArraySubscript 5505 5522 +0.3% 1.00x(?)
ObjectiveCBridgeToNSString 1095 1091 -0.4% 1.00x(?)
PopFrontArray 23983 24064 +0.3% 1.00x(?)
ClassArrayGetter 1259 1260 +0.1% 1.00x(?)
Array2D 796450 796239 -0.0% 1.00x(?)
MonteCarloPi 50534 50520 -0.0% 1.00x(?)
StringWithCString 729751 730191 +0.1% 1.00x(?)
ObjectiveCBridgeFromNSArrayAnyObjectForced 7185 7152 -0.5% 1.00x(?)
Prims 14412 14374 -0.3% 1.00x(?)
SortLettersInPlace 2519 2521 +0.1% 1.00x(?)
ObjectiveCBridgeFromNSDictionaryAnyObject 252083 251835 -0.1% 1.00x(?)
ArrayOfGenericPOD 3363 3347 -0.5% 1.00x(?)
Dictionary3OfObjects 2663 2672 +0.3% 1.00x(?)
ByteSwap 10 10 +0.0% 1.00x
XorLoop 19500 19506 +0.0% 1.00x(?)
StringInterpolation 15929 15880 -0.3% 1.00x(?)
ObjectAllocation 537 538 +0.2% 1.00x(?)
Dictionary3 2068 2064 -0.2% 1.00x(?)
Dictionary2 5156 5155 -0.0% 1.00x(?)
Join 1471 1468 -0.2% 1.00x(?)
ArrayOfRef 8841 8873 +0.4% 1.00x(?)
DictionaryOfObjects 5622 5624 +0.0% 1.00x(?)
ObjectiveCBridgeStubToNSDateRef 3202 3198 -0.1% 1.00x(?)
MapReduce 44368 44463 +0.2% 1.00x(?)
Hanoi 19674 19720 +0.2% 1.00x(?)
OpenClose 455 454 -0.2% 1.00x(?)
UTF8Decode 42720 42676 -0.1% 1.00x
SetIsSubsetOf 3001 3006 +0.2% 1.00x(?)
ObjectiveCBridgeStubToArrayOfNSString 30763 30843 +0.3% 1.00x(?)
ObjectiveCBridgeFromNSArrayAnyObject 68843 69087 +0.3% 1.00x(?)
SetIntersect 19384 19319 -0.3% 1.00x(?)
ObjectiveCBridgeStubDataAppend 3169 3170 +0.0% 1.00x(?)
GlobalClass 0 0 +0.0% 1.00x
StrToInt 5464 5475 +0.2% 1.00x(?)
ArrayInClass 3937 3935 -0.1% 1.00x(?)
ArrayOfGenericRef 9560 9545 -0.2% 1.00x(?)
ObjectiveCBridgeFromNSString 4816 4796 -0.4% 1.00x(?)
ObjectiveCBridgeStubDateAccess 1118 1122 +0.4% 1.00x(?)
Sim2DArray 13985 13975 -0.1% 1.00x(?)
MonteCarloE 106184 106699 +0.5% 1.00x(?)
SetUnion_OfObjects 49012 48989 -0.1% 1.00x(?)
StringHasSuffixUnicode 66621 66302 -0.5% 1.00x(?)
Walsh 12331 12286 -0.4% 1.00x
LinkedList 26367 26362 -0.0% 1.00x(?)
SetUnion 31715 31700 -0.1% 1.00x(?)
ArrayLiteral 1072 1076 +0.4% 1.00x(?)
ArrayValueProp 2262 2257 -0.2% 1.00x(?)
ObjectiveCBridgeStubFromArrayOfNSString 111463 111986 +0.5% 1.00x(?)
ObjectiveCBridgeStubNSDateMutationRef 14172 14224 +0.4% 1.00x(?)
RC4 8491 8505 +0.2% 1.00x(?)
Memset 19554 19586 +0.2% 1.00x(?)
ArrayAppendReserved 3114 3127 +0.4% 1.00x(?)
TwoSum 9457 9445 -0.1% 1.00x(?)
ObjectiveCBridgeStubNSDataAppend 5125 5135 +0.2% 1.00x(?)
SevenBoom 1478 1473 -0.3% 1.00x(?)
ObjectiveCBridgeStubFromNSDate 3743 3758 +0.4% 1.00x(?)
DictionarySwapOfObjects 25606 25979 +1.5% 0.99x(?)
StackPromo 131102 132630 +1.2% 0.99x(?)
RecursiveOwnedParameter 7535 7602 +0.9% 0.99x(?)
Histogram 13885 14073 +1.4% 0.99x(?)
DictionaryBridge 3964 3984 +0.5% 0.99x(?)
ObjectiveCBridgeStubFromNSDateRef 4009 4050 +1.0% 0.99x(?)
ObjectiveCBridgeFromNSSetAnyObject 115179 116319 +1.0% 0.99x(?)
SetIntersect_OfObjects 19071 19195 +0.7% 0.99x
ObjectiveCBridgeToNSArray 31591 31940 +1.1% 0.99x(?)
PopFrontArrayGeneric 11168 11271 +0.9% 0.99x
CaptureProp 114352 115580 +1.1% 0.99x(?)
ObjectiveCBridgeStubToNSStringRef 154 156 +1.3% 0.99x(?)
Calculator 966 978 +1.2% 0.99x
DictionaryRemoveOfObjects 61121 61564 +0.7% 0.99x(?)
SortStringsUnicode 10134 10262 +1.3% 0.99x(?)
Dictionary 2761 2778 +0.6% 0.99x(?)
RGBHistogramOfObjects 99752 100256 +0.5% 0.99x(?)
ObjectiveCBridgeStubNSDateRefAccess 1258 1275 +1.4% 0.99x(?)
SetIsSubsetOf_OfObjects 2852 2869 +0.6% 0.99x(?)
ObjectiveCBridgeToNSSet 16767 16871 +0.6% 0.99x(?)
DictionaryRemove 30961 31182 +0.7% 0.99x(?)
NSStringConversion 2726 2751 +0.9% 0.99x(?)
ArrayValueProp2 2802 2818 +0.6% 0.99x(?)
ObjectiveCBridgeFromNSArrayAnyObjectToString 167902 171890 +2.4% 0.98x(?)
ObjectiveCBridgeStubFromNSStringRef 158 162 +2.5% 0.98x(?)
ProtocolDispatch2 438 445 +1.6% 0.98x(?)
ObjectiveCBridgeFromNSSetAnyObjectToStringForced 127184 129923 +2.1% 0.98x(?)
ObjectiveCBridgeFromNSDictionaryAnyObjectToString 217464 224581 +3.3% 0.97x(?)
StrComplexWalk 7781 7993 +2.7% 0.97x(?)
NSError 662 682 +3.0% 0.97x(?)
ArrayOfPOD 2379 2443 +2.7% 0.97x
ObjectiveCBridgeStubFromNSString 667 692 +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

@gribozavr
Copy link
Contributor Author

@swift-ci Please test OS X platform

@gribozavr
Copy link
Contributor Author

@swift-ci Please benchmark

@swift-ci
Copy link
Contributor

Build comment file:

Optimized (O)

Regression (1)

TEST OLD_MIN NEW_MIN DELTA (%) SPEEDUP
133 3602477 3851358 +6.9% 0.94x

Improvement (2)

TEST OLD_MIN NEW_MIN DELTA (%) SPEEDUP
StringHasPrefixUnicode 15523 14636 -5.7% 1.06x
DictionaryLiteral 4895 4399 -10.1% 1.11x(?)

No Changes (131)

TEST OLD_MIN NEW_MIN DELTA (%) SPEEDUP
ObjectiveCBridgeStubToNSStringRef 126 120 -4.8% 1.05x(?)
Walsh 336 324 -3.6% 1.04x(?)
ObjectiveCBridgeStubToNSDate 13394 13045 -2.6% 1.03x(?)
ProtocolDispatch2 155 151 -2.6% 1.03x(?)
SortStringsUnicode 9310 9080 -2.5% 1.03x(?)
ObjectiveCBridgeFromNSSetAnyObjectToString 163965 158763 -3.2% 1.03x(?)
RGBHistogram 3168 3080 -2.8% 1.03x
ObjectiveCBridgeFromNSDictionaryAnyObjectForced 4845 4768 -1.6% 1.02x(?)
ObjectiveCBridgeFromNSStringForced 2360 2316 -1.9% 1.02x(?)
SortLettersInPlace 969 954 -1.6% 1.02x(?)
StringHasPrefix 684 672 -1.8% 1.02x(?)
StringHasSuffix 756 742 -1.9% 1.02x
ObjectiveCBridgeFromNSSetAnyObject 112919 110864 -1.8% 1.02x(?)
ArrayInClass 87 85 -2.3% 1.02x(?)
ArrayOfGenericRef 3509 3448 -1.7% 1.02x(?)
ObjectiveCBridgeFromNSArrayAnyObjectToStringForced 169371 166596 -1.6% 1.02x(?)
TwoSum 1929 1899 -1.6% 1.02x
ArraySubscript 1378 1365 -0.9% 1.01x
Array2D 2051 2024 -1.3% 1.01x(?)
ObjectiveCBridgeStubFromNSDateRef 3679 3646 -0.9% 1.01x(?)
ObjectiveCBridgeFromNSArrayAnyObjectForced 3764 3724 -1.1% 1.01x(?)
Dictionary3OfObjects 881 874 -0.8% 1.01x(?)
ObjectAllocation 146 144 -1.4% 1.01x(?)
AngryPhonebook 2872 2850 -0.8% 1.01x(?)
Dictionary2 1921 1894 -1.4% 1.01x(?)
StrComplexWalk 3063 3029 -1.1% 1.01x
ArrayAppend 744 738 -0.8% 1.01x(?)
ObjectiveCBridgeStubDateMutation 266 263 -1.1% 1.01x(?)
NSError 325 321 -1.2% 1.01x(?)
StringEqualPointerComparison 7487 7441 -0.6% 1.01x(?)
CaptureProp 4197 4167 -0.7% 1.01x
ObjectiveCBridgeFromNSDictionaryAnyObjectToStringForced 140924 140074 -0.6% 1.01x(?)
NSDictionaryCastToSwift 12868 12767 -0.8% 1.01x(?)
RGBHistogramOfObjects 21870 21749 -0.6% 1.01x(?)
ObjectiveCBridgeStubNSDateRefAccess 310 307 -1.0% 1.01x(?)
ObjectiveCBridgeStubDateAccess 178 177 -0.6% 1.01x
Sim2DArray 442 437 -1.1% 1.01x(?)
MonteCarloE 9996 9943 -0.5% 1.01x(?)
ObjectiveCBridgeToNSSet 17525 17331 -1.1% 1.01x(?)
ObjectiveCBridgeFromNSSetAnyObjectForced 4184 4146 -0.9% 1.01x(?)
SetUnion 3331 3301 -0.9% 1.01x(?)
Chars 649 642 -1.1% 1.01x(?)
ArrayLiteral 1017 1002 -1.5% 1.01x(?)
StackPromo 18853 18805 -0.2% 1.00x(?)
ObjectiveCBridgeFromNSDictionaryAnyObject 247503 247126 -0.1% 1.00x(?)
RecursiveOwnedParameter 1829 1829 +0.0% 1.00x
ObjectiveCBridgeStubToNSString 1262 1267 +0.4% 1.00x(?)
ObjectiveCBridgeFromNSDictionaryAnyObjectToString 216863 216458 -0.2% 1.00x(?)
ClassArrayGetter 12 12 +0.0% 1.00x
MonteCarloPi 42588 42521 -0.2% 1.00x(?)
StringWithCString 587040 587099 +0.0% 1.00x(?)
DictionarySwap 790 791 +0.1% 1.00x(?)
PopFrontArray 1133 1137 +0.3% 1.00x(?)
ArrayOfGenericPOD 208 207 -0.5% 1.00x
ByteSwap 1 1 +0.0% 1.00x
XorLoop 359 360 +0.3% 1.00x
ErrorHandling 3024 3027 +0.1% 1.00x(?)
ObjectiveCBridgeStubFromNSString 670 670 +0.0% 1.00x
StaticArray 2817 2811 -0.2% 1.00x(?)
ProtocolDispatch 2997 2987 -0.3% 1.00x(?)
TypeFlood 0 0 +0.0% 1.00x
SetIntersect_OfObjects 2350 2348 -0.1% 1.00x(?)
Join 452 451 -0.2% 1.00x(?)
ObjectiveCBridgeToNSArray 32238 32150 -0.3% 1.00x(?)
DictionaryOfObjects 2250 2254 +0.2% 1.00x(?)
PopFrontArrayGeneric 1132 1135 +0.3% 1.00x(?)
Calculator 34 34 +0.0% 1.00x
MapReduce 377 376 -0.3% 1.00x(?)
OpenClose 56 56 +0.0% 1.00x
DictionaryRemoveOfObjects 20023 20093 +0.3% 1.00x(?)
UTF8Decode 313 312 -0.3% 1.00x
SetIsSubsetOf 487 487 +0.0% 1.00x
Dictionary 747 746 -0.1% 1.00x(?)
NopDeinit 35462 35606 +0.4% 1.00x(?)
ObjectiveCBridgeFromNSString 1611 1606 -0.3% 1.00x(?)
Phonebook 7214 7221 +0.1% 1.00x(?)
SetUnion_OfObjects 7035 7000 -0.5% 1.00x(?)
GlobalClass 0 0 +0.0% 1.00x
HashTest 2005 1999 -0.3% 1.00x(?)
SetIsSubsetOf_OfObjects 611 611 +0.0% 1.00x
LinkedList 6857 6846 -0.2% 1.00x
ObjectiveCBridgeFromNSSetAnyObjectToStringForced 120916 120665 -0.2% 1.00x(?)
ArrayAppendReserved 515 517 +0.4% 1.00x
ArrayOfPOD 172 172 +0.0% 1.00x
StringBuilder 1524 1523 -0.1% 1.00x(?)
ArrayValueProp2 5 5 +0.0% 1.00x
BitCount 1 1 +0.0% 1.00x
SevenBoom 1319 1321 +0.1% 1.00x(?)
StringWalk 5591 5604 +0.2% 1.00x(?)
ArrayValueProp 5 5 +0.0% 1.00x
ObjectiveCBridgeStubNSDateMutationRef 12026 12009 -0.1% 1.00x(?)
RC4 253 252 -0.4% 1.00x(?)
Memset 222 222 +0.0% 1.00x
ArrayValueProp4 5 5 +0.0% 1.00x
ArrayValueProp3 5 5 +0.0% 1.00x
ObjectiveCBridgeToNSString 1056 1063 +0.7% 0.99x(?)
DictionarySwapOfObjects 6695 6729 +0.5% 0.99x(?)
ObjectiveCBridgeFromNSArrayAnyObjectToString 173925 175232 +0.8% 0.99x(?)
Histogram 652 658 +0.9% 0.99x(?)
SortStrings 1763 1774 +0.6% 0.99x(?)
DictionaryBridge 3881 3915 +0.9% 0.99x(?)
RangeAssignment 326 330 +1.2% 0.99x(?)
SuperChars 351845 354703 +0.8% 0.99x(?)
StringInterpolation 11281 11379 +0.9% 0.99x(?)
ObjectiveCBridgeStubFromNSStringRef 135 137 +1.5% 0.99x(?)
StringHasSuffixUnicode 64836 65469 +1.0% 0.99x(?)
Dictionary3 527 532 +0.9% 0.99x(?)
ObjectiveCBridgeStubURLAppendPathRef 208598 210395 +0.9% 0.99x(?)
SetIntersect 1142 1158 +1.4% 0.99x(?)
ObjectiveCBridgeStubDataAppend 2901 2936 +1.2% 0.99x(?)
SetExclusiveOr 3780 3813 +0.9% 0.99x(?)
StrToInt 5019 5051 +0.6% 0.99x(?)
SetExclusiveOr_OfObjects 8370 8421 +0.6% 0.99x(?)
DictionaryRemove 5108 5171 +1.2% 0.99x(?)
NSStringConversion 571 578 +1.2% 0.99x
DeadArray 177 178 +0.6% 0.99x(?)
ObjectiveCBridgeStubFromArrayOfNSString 116671 117740 +0.9% 0.99x(?)
Dictionary2OfObjects 3297 3346 +1.5% 0.99x(?)
ObjectiveCBridgeStubNSDataAppend 2390 2406 +0.7% 0.99x
Prims 748 767 +2.5% 0.98x(?)
Integrate 237 241 +1.7% 0.98x(?)
ObjectiveCBridgeStubToNSDateRef 3251 3308 +1.8% 0.98x(?)
PolymorphicCalls 61 62 +1.6% 0.98x
Hanoi 3207 3283 +2.4% 0.98x
ObjectiveCBridgeStubToArrayOfNSString 31313 31973 +2.1% 0.98x(?)
ObjectiveCBridgeFromNSArrayAnyObject 64810 66302 +2.3% 0.98x(?)
ObjectiveCBridgeStubFromNSDate 3518 3585 +1.9% 0.98x(?)
ArrayOfRef 3448 3568 +3.5% 0.97x(?)
PopFrontUnsafePointer 8752 9020 +3.1% 0.97x(?)
ObjectiveCBridgeStubURLAppendPath 194710 201540 +3.5% 0.97x(?)
ObjectiveCBridgeToNSDictionary 17194 17971 +4.5% 0.96x(?)
**Unoptimized (Onone)**

Regression (3)

TEST OLD_MIN NEW_MIN DELTA (%) SPEEDUP
ObjectiveCBridgeFromNSStringForced 2625 2958 +12.7% 0.89x(?)
PopFrontUnsafePointer 238522 257060 +7.8% 0.93x(?)
ObjectiveCBridgeToNSDictionary 16975 18164 +7.0% 0.93x

Improvement (4)

TEST OLD_MIN NEW_MIN DELTA (%) SPEEDUP
ObjectiveCBridgeStubURLAppendPath 200298 188758 -5.8% 1.06x(?)
NSDictionaryCastToSwift 14770 13998 -5.2% 1.06x(?)
StringWalk 46353 43610 -5.9% 1.06x(?)
ObjectiveCBridgeFromNSSetAnyObjectForced 8115 7525 -7.3% 1.08x

No Changes (127)

TEST OLD_MIN NEW_MIN DELTA (%) SPEEDUP
StringHasSuffix 1661 1589 -4.3% 1.05x(?)
OpenClose 464 445 -4.1% 1.04x(?)
DictionaryLiteral 24912 23841 -4.3% 1.04x(?)
ObjectiveCBridgeFromNSSetAnyObjectToStringForced 132225 126975 -4.0% 1.04x
ObjectiveCBridgeToNSString 1119 1083 -3.2% 1.03x(?)
StaticArray 27641 26756 -3.2% 1.03x(?)
NSError 681 660 -3.1% 1.03x(?)
PolymorphicCalls 1186 1152 -2.9% 1.03x(?)
PopFrontArray 24683 24017 -2.7% 1.03x(?)
ObjectiveCBridgeFromNSArrayAnyObjectToStringForced 170724 165240 -3.2% 1.03x(?)
ObjectiveCBridgeFromNSDictionaryAnyObjectToString 227823 223928 -1.7% 1.02x(?)
ObjectiveCBridgeFromNSSetAnyObject 117201 115339 -1.6% 1.02x(?)
ObjectiveCBridgeStubURLAppendPathRef 210208 205663 -2.2% 1.02x(?)
ObjectiveCBridgeToNSArray 32178 31665 -1.6% 1.02x(?)
SetIntersect 19858 19453 -2.0% 1.02x
ArrayOfGenericRef 9633 9487 -1.5% 1.02x(?)
ObjectiveCBridgeStubDateAccess 1147 1126 -1.8% 1.02x(?)
NSStringConversion 2756 2698 -2.1% 1.02x(?)
ArraySubscript 5562 5532 -0.5% 1.01x(?)
SortStrings 2585 2551 -1.3% 1.01x(?)
SortLettersInPlace 2559 2541 -0.7% 1.01x(?)
Dictionary3OfObjects 2722 2691 -1.1% 1.01x(?)
StringHasPrefix 1624 1608 -1.0% 1.01x(?)
Integrate 355 353 -0.6% 1.01x(?)
Join 1476 1464 -0.8% 1.01x(?)
ObjectiveCBridgeStubFromNSStringRef 173 172 -0.6% 1.01x(?)
ArrayLiteral 1092 1084 -0.7% 1.01x(?)
HashTest 5438 5384 -1.0% 1.01x(?)
ArrayAppend 3485 3450 -1.0% 1.01x(?)
PopFrontArrayGeneric 11211 11133 -0.7% 1.01x(?)
StringEqualPointerComparison 9742 9634 -1.1% 1.01x(?)
ObjectiveCBridgeFromNSDictionaryAnyObjectToStringForced 140615 139260 -1.0% 1.01x(?)
ObjectiveCBridgeStubToArrayOfNSString 31180 30797 -1.2% 1.01x(?)
Phonebook 64131 63232 -1.4% 1.01x(?)
Sim2DArray 14225 14085 -1.0% 1.01x(?)
MonteCarloE 107581 106991 -0.6% 1.01x(?)
ObjectiveCBridgeToNSSet 17169 17034 -0.8% 1.01x(?)
StringHasPrefixUnicode 17042 16919 -0.7% 1.01x(?)
RGBHistogramOfObjects 101993 100695 -1.3% 1.01x(?)
ArrayAppendReserved 3493 3451 -1.2% 1.01x(?)
ArrayValueProp2 2850 2826 -0.8% 1.01x
TwoSum 9579 9485 -1.0% 1.01x(?)
RecursiveOwnedParameter 7594 7565 -0.4% 1.00x(?)
ClassArrayGetter 1258 1257 -0.1% 1.00x(?)
Array2D 797186 797662 +0.1% 1.00x(?)
Histogram 13994 14017 +0.2% 1.00x(?)
MonteCarloPi 50532 50764 +0.5% 1.00x
StringWithCString 729746 730315 +0.1% 1.00x(?)
Prims 14509 14535 +0.2% 1.00x(?)
ObjectiveCBridgeFromNSDictionaryAnyObject 253057 251954 -0.4% 1.00x(?)
RangeAssignment 23770 23744 -0.1% 1.00x(?)
ByteSwap 10 10 +0.0% 1.00x
SuperChars 514439 514758 +0.1% 1.00x(?)
XorLoop 19534 19524 -0.1% 1.00x(?)
ProtocolDispatch 5950 5955 +0.1% 1.00x(?)
ObjectAllocation 540 538 -0.4% 1.00x(?)
ProtocolDispatch2 438 437 -0.2% 1.00x
Dictionary3 2085 2090 +0.2% 1.00x(?)
Dictionary2 5263 5269 +0.1% 1.00x(?)
SetIntersect_OfObjects 19234 19240 +0.0% 1.00x(?)
CaptureProp 117343 117422 +0.1% 1.00x(?)
MapReduce 44510 44530 +0.0% 1.00x(?)
DictionaryRemoveOfObjects 62353 62094 -0.4% 1.00x(?)
UTF8Decode 42868 42970 +0.2% 1.00x(?)
SetIsSubsetOf 3018 3026 +0.3% 1.00x(?)
ObjectiveCBridgeFromNSArrayAnyObject 70408 70205 -0.3% 1.00x(?)
ObjectiveCBridgeStubDataAppend 3148 3162 +0.4% 1.00x(?)
SetExclusiveOr 46337 46177 -0.3% 1.00x(?)
ObjectiveCBridgeStubNSDateRefAccess 1279 1278 -0.1% 1.00x(?)
StrToInt 5524 5546 +0.4% 1.00x(?)
ArrayInClass 3944 3936 -0.2% 1.00x(?)
SetExclusiveOr_OfObjects 65150 65175 +0.0% 1.00x(?)
RC4 8566 8555 -0.1% 1.00x(?)
Walsh 12433 12384 -0.4% 1.00x(?)
SetIsSubsetOf_OfObjects 2911 2900 -0.4% 1.00x(?)
DictionaryRemove 31321 31358 +0.1% 1.00x(?)
LinkedList 26380 26383 +0.0% 1.00x(?)
RGBHistogram 52382 52125 -0.5% 1.00x
SetUnion 31944 31998 +0.2% 1.00x(?)
BitCount 93 93 +0.0% 1.00x
ObjectiveCBridgeStubFromArrayOfNSString 111014 110592 -0.4% 1.00x(?)
GlobalClass 0 0 +0.0% 1.00x
Memset 19699 19629 -0.4% 1.00x(?)
ArrayValueProp4 2647 2639 -0.3% 1.00x(?)
ObjectiveCBridgeStubNSDataAppend 5098 5108 +0.2% 1.00x(?)
DictionarySwapOfObjects 25571 25811 +0.9% 0.99x(?)
StackPromo 131342 132684 +1.0% 0.99x(?)
133 6600191 6636426 +0.6% 0.99x
ObjectiveCBridgeStubToNSString 1312 1330 +1.4% 0.99x(?)
ObjectiveCBridgeFromNSArrayAnyObjectToString 166534 168389 +1.1% 0.99x(?)
DictionaryBridge 3922 3948 +0.7% 0.99x(?)
ObjectiveCBridgeFromNSArrayAnyObjectForced 7157 7221 +0.9% 0.99x(?)
DictionarySwap 11089 11248 +1.4% 0.99x(?)
StringInterpolation 15956 16176 +1.4% 0.99x(?)
ObjectiveCBridgeStubFromNSString 696 700 +0.6% 0.99x(?)
TypeFlood 151 153 +1.3% 0.99x(?)
StringHasSuffixUnicode 65503 66112 +0.9% 0.99x(?)
ErrorHandling 3879 3907 +0.7% 0.99x(?)
ArrayOfRef 8833 8942 +1.2% 0.99x(?)
DictionaryOfObjects 5642 5672 +0.5% 0.99x(?)
ObjectiveCBridgeStubToNSDateRef 3218 3247 +0.9% 0.99x(?)
ObjectiveCBridgeStubToNSStringRef 156 158 +1.3% 0.99x(?)
Calculator 976 983 +0.7% 0.99x(?)
Hanoi 19803 19946 +0.7% 0.99x(?)
ArrayOfGenericPOD 3438 3457 +0.6% 0.99x(?)
Dictionary 2779 2820 +1.5% 0.99x(?)
ObjectiveCBridgeFromNSSetAnyObjectToString 169726 170874 +0.7% 0.99x(?)
SetUnion_OfObjects 49006 49264 +0.5% 0.99x
Chars 5272 5348 +1.4% 0.99x(?)
StringBuilder 2820 2842 +0.8% 0.99x(?)
DeadArray 130092 130939 +0.7% 0.99x(?)
ArrayValueProp 2263 2283 +0.9% 0.99x(?)
SevenBoom 1487 1501 +0.9% 0.99x(?)
ObjectiveCBridgeStubFromNSDate 3760 3809 +1.3% 0.99x(?)
ObjectiveCBridgeStubDateMutation 485 494 +1.9% 0.98x(?)
SortStringsUnicode 10267 10486 +2.1% 0.98x
NopDeinit 57008 58172 +2.0% 0.98x(?)
AngryPhonebook 3600 3659 +1.6% 0.98x(?)
ArrayValueProp3 2704 2753 +1.8% 0.98x(?)
ObjectiveCBridgeStubNSDateMutationRef 14545 14795 +1.7% 0.98x(?)
Dictionary2OfObjects 6906 7014 +1.6% 0.98x(?)
ObjectiveCBridgeStubFromNSDateRef 3930 4038 +2.8% 0.97x(?)
StrComplexWalk 7786 8040 +3.3% 0.97x(?)
ArrayOfPOD 2310 2382 +3.1% 0.97x(?)
ObjectiveCBridgeFromNSDictionaryAnyObjectForced 7264 7602 +4.7% 0.96x(?)
ObjectiveCBridgeFromNSString 4844 5049 +4.2% 0.96x
ObjectiveCBridgeStubToNSDate 12959 13610 +5.0% 0.95x(?)
**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

@gribozavr
Copy link
Contributor Author

@swift-ci Please test OS X platform

@gribozavr
Copy link
Contributor Author

@slavapestov I tried building with:

./utils/build-script -R --distcc --swift-stdlib-enable-resilience=1 --build-subdir=resilient

I'm getting:

SIL verification failed: function_ref inside fragile function cannot reference a private or hidden symbol: (SingleFunction && RefF->isExternalDeclaration()) || RefF->hasValidLinkageForFragileRef()
->   // function_ref _extractOrCopyToNativeArrayBuffer<A where ...> (A) -> _ContiguousArrayBuffer<A.Iterator.Element>
  %42 = function_ref @_TFs33_extractOrCopyToNativeArrayBufferuRxs20_ArrayBufferProtocolwx7ElementzWx8Iterator7Element_rFxGVs22_ContiguousArrayBufferWxS1_S2___

Seems like this is because _convertConstArrayToPointerArgument and friends are marked @_transparent -- do they need to?

@gribozavr gribozavr force-pushed the stdlib-fix-type-of-copyToNativeArrayBuffer branch from a09dc1b to 455d139 Compare July 11, 2016 18:21
@gribozavr
Copy link
Contributor Author

@swift-ci Please test

@gribozavr
Copy link
Contributor Author

@swift-ci Please benchmark

@swift-ci
Copy link
Contributor

Build comment file:

Optimized (O)

Regression (1)

TEST OLD_MIN NEW_MIN DELTA (%) SPEEDUP
StringHasSuffixUnicode 65251 70629 +8.2% 0.92x

Improvement (3)

TEST OLD_MIN NEW_MIN DELTA (%) SPEEDUP
DictionaryBridge 4039 3821 -5.4% 1.06x(?)
NSDictionaryCastToSwift 13669 12746 -6.8% 1.07x(?)
StringEqualPointerComparison 7915 7330 -7.4% 1.08x

No Changes (130)

TEST OLD_MIN NEW_MIN DELTA (%) SPEEDUP
ObjectiveCBridgeFromNSDictionaryAnyObjectToString 223554 214785 -3.9% 1.04x
Array2D 2081 2005 -3.6% 1.04x(?)
ObjectiveCBridgeToNSSet 16253 15559 -4.3% 1.04x(?)
ObjectiveCBridgeFromNSDictionaryAnyObjectToStringForced 138299 133567 -3.4% 1.04x(?)
ObjectiveCBridgeStubFromNSDateRef 3729 3612 -3.1% 1.03x
RangeAssignment 328 318 -3.0% 1.03x(?)
Dictionary3 548 534 -2.5% 1.03x
PopFrontUnsafePointer 9078 8793 -3.1% 1.03x
PolymorphicCalls 62 60 -3.2% 1.03x(?)
SortStringsUnicode 9333 9032 -3.2% 1.03x(?)
Dictionary 742 723 -2.6% 1.03x
Dictionary3OfObjects 903 882 -2.3% 1.02x(?)
StringHasSuffix 784 767 -2.2% 1.02x
ObjectiveCBridgeFromNSArrayAnyObject 65405 63954 -2.2% 1.02x
ObjectiveCBridgeStubNSDateRefAccess 310 304 -1.9% 1.02x(?)
ArrayInClass 87 85 -2.3% 1.02x(?)
ArraySubscript 1366 1355 -0.8% 1.01x(?)
PopFrontArray 1136 1120 -1.4% 1.01x
SuperChars 349167 347353 -0.5% 1.01x(?)
ObjectiveCBridgeStubToNSDate 13729 13542 -1.4% 1.01x(?)
Integrate 239 237 -0.8% 1.01x(?)
ObjectiveCBridgeStubFromNSStringRef 135 134 -0.7% 1.01x(?)
ObjectiveCBridgeStubFromNSString 687 679 -1.2% 1.01x(?)
StaticArray 2848 2827 -0.7% 1.01x(?)
ProtocolDispatch 3379 3360 -0.6% 1.01x(?)
Dictionary2 1900 1889 -0.6% 1.01x(?)
ArrayOfRef 3486 3444 -1.2% 1.01x
ObjectiveCBridgeStubURLAppendPathRef 208827 206298 -1.2% 1.01x(?)
MapReduce 376 373 -0.8% 1.01x(?)
ObjectiveCBridgeStubURLAppendPath 201553 198980 -1.3% 1.01x(?)
SetIntersect 1156 1143 -1.1% 1.01x(?)
Sim2DArray 441 437 -0.9% 1.01x(?)
DictionaryRemove 5019 4981 -0.8% 1.01x(?)
ObjectiveCBridgeFromNSSetAnyObjectToString 157980 157026 -0.6% 1.01x(?)
ArrayAppendReserved 518 515 -0.6% 1.01x(?)
Chars 643 638 -0.8% 1.01x(?)
133 3580614 3553158 -0.8% 1.01x
StrToInt 4859 4823 -0.7% 1.01x(?)
DeadArray 177 176 -0.6% 1.01x(?)
ObjectiveCBridgeStubNSDataAppend 2396 2374 -0.9% 1.01x(?)
StringWalk 5608 5558 -0.9% 1.01x(?)
Dictionary2OfObjects 3405 3360 -1.3% 1.01x(?)
StackPromo 18762 18790 +0.1% 1.00x(?)
RecursiveOwnedParameter 1846 1855 +0.5% 1.00x(?)
ObjectiveCBridgeStubToNSString 1264 1263 -0.1% 1.00x(?)
ObjectiveCBridgeFromNSArrayAnyObjectToString 167408 168013 +0.4% 1.00x(?)
ClassArrayGetter 12 12 +0.0% 1.00x
Histogram 661 661 +0.0% 1.00x
SortStrings 1666 1672 +0.4% 1.00x(?)
ArrayOfGenericPOD 208 208 +0.0% 1.00x
StringWithCString 586143 587289 +0.2% 1.00x(?)
ObjectiveCBridgeFromNSArrayAnyObjectForced 3753 3751 -0.1% 1.00x(?)
ObjectiveCBridgeFromNSStringForced 2304 2312 +0.3% 1.00x(?)
Prims 758 756 -0.3% 1.00x(?)
SortLettersInPlace 949 951 +0.2% 1.00x(?)
StringHasPrefix 618 619 +0.2% 1.00x(?)
ByteSwap 1 1 +0.0% 1.00x
StringInterpolation 11442 11410 -0.3% 1.00x(?)
TypeFlood 0 0 +0.0% 1.00x
ObjectiveCBridgeFromNSSetAnyObject 112649 112986 +0.3% 1.00x(?)
ProtocolDispatch2 157 157 +0.0% 1.00x
SetIntersect_OfObjects 2347 2343 -0.2% 1.00x(?)
ObjectiveCBridgeStubDateMutation 266 266 +0.0% 1.00x
ObjectiveCBridgeToNSArray 32090 32078 -0.0% 1.00x(?)
CaptureProp 4355 4348 -0.2% 1.00x(?)
ObjectiveCBridgeStubToNSStringRef 121 121 +0.0% 1.00x
Calculator 30 30 +0.0% 1.00x
DictionaryLiteral 4543 4555 +0.3% 1.00x(?)
Hanoi 3065 3063 -0.1% 1.00x(?)
OpenClose 50 50 +0.0% 1.00x
DictionaryRemoveOfObjects 19970 20032 +0.3% 1.00x(?)
SetIsSubsetOf 487 487 +0.0% 1.00x
NopDeinit 35460 35347 -0.3% 1.00x(?)
ObjectiveCBridgeStubDataAppend 2946 2941 -0.2% 1.00x(?)
SetExclusiveOr 3718 3709 -0.2% 1.00x(?)
RGBHistogramOfObjects 22206 22133 -0.3% 1.00x
StringBuilder 1519 1522 +0.2% 1.00x(?)
ObjectiveCBridgeFromNSString 1604 1612 +0.5% 1.00x(?)
SetExclusiveOr_OfObjects 8301 8310 +0.1% 1.00x(?)
MonteCarloPi 42491 42519 +0.1% 1.00x(?)
MonteCarloE 9919 9925 +0.1% 1.00x
RC4 255 254 -0.4% 1.00x(?)
HashTest 2034 2036 +0.1% 1.00x(?)
SetIsSubsetOf_OfObjects 612 612 +0.0% 1.00x
LinkedList 6856 6870 +0.2% 1.00x(?)
ObjectiveCBridgeFromNSSetAnyObjectToStringForced 117259 117730 +0.4% 1.00x(?)
ObjectiveCBridgeFromNSSetAnyObjectForced 4163 4161 -0.1% 1.00x(?)
ArrayOfPOD 172 172 +0.0% 1.00x
SetUnion 3264 3261 -0.1% 1.00x(?)
BitCount 1 1 +0.0% 1.00x
ArrayLiteral 1005 1000 -0.5% 1.00x(?)
ArrayValueProp 5 5 +0.0% 1.00x
ObjectiveCBridgeStubFromArrayOfNSString 110439 110642 +0.2% 1.00x(?)
GlobalClass 0 0 +0.0% 1.00x
Memset 222 222 +0.0% 1.00x
ArrayValueProp4 5 5 +0.0% 1.00x
ArrayValueProp2 5 5 +0.0% 1.00x
ArrayValueProp3 5 5 +0.0% 1.00x
ObjectiveCBridgeToNSString 1065 1079 +1.3% 0.99x(?)
DictionarySwapOfObjects 6690 6732 +0.6% 0.99x(?)
ObjectiveCBridgeFromNSDictionaryAnyObject 247884 249200 +0.5% 0.99x(?)
ObjectiveCBridgeFromNSDictionaryAnyObjectForced 4782 4812 +0.6% 0.99x(?)
DictionarySwap 766 771 +0.7% 0.99x(?)
Join 446 451 +1.1% 0.99x
ObjectAllocation 146 147 +0.7% 0.99x(?)
AngryPhonebook 2822 2856 +1.2% 0.99x(?)
Walsh 338 341 +0.9% 0.99x(?)
ErrorHandling 3069 3094 +0.8% 0.99x(?)
NSError 330 334 +1.2% 0.99x(?)
DictionaryOfObjects 2266 2293 +1.2% 0.99x(?)
ObjectiveCBridgeStubToNSDateRef 3308 3325 +0.5% 0.99x(?)
UTF8Decode 308 312 +1.3% 0.99x(?)
ObjectiveCBridgeStubToArrayOfNSString 31571 31979 +1.3% 0.99x(?)
Phonebook 6633 6689 +0.8% 0.99x(?)
ObjectiveCBridgeStubDateAccess 178 179 +0.6% 0.99x(?)
ObjectiveCBridgeToNSDictionary 16452 16642 +1.1% 0.99x(?)
SetUnion_OfObjects 6940 7010 +1.0% 0.99x
ArrayAppend 740 751 +1.5% 0.99x(?)
RGBHistogram 3069 3104 +1.1% 0.99x(?)
ObjectiveCBridgeFromNSArrayAnyObjectToStringForced 164352 165637 +0.8% 0.99x(?)
PopFrontArrayGeneric 1133 1153 +1.8% 0.98x(?)
ArrayOfGenericRef 3537 3600 +1.8% 0.98x(?)
StringHasPrefixUnicode 15218 15577 +2.4% 0.98x(?)
NSStringConversion 575 584 +1.6% 0.98x(?)
ObjectiveCBridgeStubFromNSDate 3521 3583 +1.8% 0.98x(?)
XorLoop 359 369 +2.8% 0.97x
StrComplexWalk 3014 3092 +2.6% 0.97x
SevenBoom 1336 1371 +2.6% 0.97x
ObjectiveCBridgeStubNSDateMutationRef 12099 12525 +3.5% 0.97x(?)
TwoSum 1889 1946 +3.0% 0.97x(?)
**Unoptimized (Onone)**

Regression (1)

TEST OLD_MIN NEW_MIN DELTA (%) SPEEDUP
StringWalk 24857 26457 +6.4% 0.94x(?)

Improvement (2)

TEST OLD_MIN NEW_MIN DELTA (%) SPEEDUP
SortStringsUnicode 10676 10118 -5.2% 1.06x(?)
StringBuilder 3030 2835 -6.4% 1.07x(?)

No Changes (131)

TEST OLD_MIN NEW_MIN DELTA (%) SPEEDUP
SortStrings 2672 2551 -4.5% 1.05x
ObjectiveCBridgeToNSSet 16360 15629 -4.5% 1.05x(?)
ArrayOfPOD 2509 2392 -4.7% 1.05x(?)
StringHasPrefix 1587 1530 -3.6% 1.04x
StaticArray 28160 27146 -3.6% 1.04x(?)
ArrayOfGenericPOD 3514 3398 -3.3% 1.03x
StringHasSuffix 1626 1574 -3.2% 1.03x
ErrorHandling 3986 3880 -2.7% 1.03x(?)
PolymorphicCalls 1179 1147 -2.7% 1.03x(?)
ObjectiveCBridgeStubToNSStringRef 165 160 -3.0% 1.03x
StrToInt 5643 5489 -2.7% 1.03x(?)
Chars 5428 5282 -2.7% 1.03x(?)
Prims 14680 14443 -1.6% 1.02x(?)
StringInterpolation 16281 16001 -1.7% 1.02x
ProtocolDispatch 6186 6087 -1.6% 1.02x(?)
Dictionary2 5226 5126 -1.9% 1.02x(?)
StrComplexWalk 8150 7962 -2.3% 1.02x(?)
Join 1486 1464 -1.5% 1.02x
StringEqualPointerComparison 9923 9761 -1.6% 1.02x
ObjectiveCBridgeStubURLAppendPath 205034 201459 -1.7% 1.02x(?)
ObjectiveCBridgeStubToArrayOfNSString 31540 31047 -1.6% 1.02x(?)
ObjectiveCBridgeToNSDictionary 16878 16550 -1.9% 1.02x(?)
ArrayAppend 3511 3433 -2.2% 1.02x(?)
RGBHistogramOfObjects 101950 100136 -1.8% 1.02x
StackPromo 135473 133644 -1.4% 1.01x(?)
ObjectiveCBridgeFromNSDictionaryAnyObject 261063 259611 -0.6% 1.01x(?)
ObjectiveCBridgeStubFromNSDateRef 4074 4035 -1.0% 1.01x(?)
ObjectiveCBridgeFromNSStringForced 2724 2709 -0.6% 1.01x(?)
StringHasSuffixUnicode 67141 66633 -0.8% 1.01x(?)
ObjectiveCBridgeFromNSSetAnyObject 118187 117291 -0.8% 1.01x(?)
ArrayLiteral 1083 1072 -1.0% 1.01x(?)
ProtocolDispatch2 439 434 -1.1% 1.01x(?)
HashTest 5461 5421 -0.7% 1.01x(?)
ObjectiveCBridgeStubDateMutation 522 517 -1.0% 1.01x(?)
ObjectiveCBridgeToNSArray 32796 32473 -1.0% 1.01x(?)
NSError 700 691 -1.3% 1.01x(?)
DictionaryOfObjects 5676 5642 -0.6% 1.01x(?)
ObjectiveCBridgeFromNSArrayAnyObject 70521 70074 -0.6% 1.01x(?)
ObjectiveCBridgeFromNSSetAnyObjectToString 175377 172891 -1.4% 1.01x(?)
ObjectiveCBridgeStubNSDateRefAccess 1272 1260 -0.9% 1.01x(?)
ObjectiveCBridgeFromNSString 4932 4886 -0.9% 1.01x(?)
MonteCarloE 107345 106800 -0.5% 1.01x(?)
DictionaryRemove 32231 31803 -1.3% 1.01x(?)
LinkedList 26359 26077 -1.1% 1.01x
ObjectiveCBridgeFromNSSetAnyObjectToStringForced 127065 126179 -0.7% 1.01x(?)
ObjectiveCBridgeFromNSSetAnyObjectForced 7729 7671 -0.8% 1.01x(?)
ObjectiveCBridgeStubNSDataAppend 5200 5135 -1.2% 1.01x(?)
SevenBoom 1519 1500 -1.2% 1.01x(?)
ObjectiveCBridgeStubNSDateMutationRef 14315 14195 -0.8% 1.01x(?)
Dictionary2OfObjects 7113 7031 -1.1% 1.01x(?)
TwoSum 9547 9423 -1.3% 1.01x(?)
DictionarySwapOfObjects 25754 25657 -0.4% 1.00x(?)
RecursiveOwnedParameter 7552 7552 +0.0% 1.00x
ObjectiveCBridgeStubToNSString 1337 1340 +0.2% 1.00x(?)
ClassArrayGetter 1290 1288 -0.2% 1.00x(?)
Histogram 13938 13882 -0.4% 1.00x(?)
DictionaryBridge 3890 3882 -0.2% 1.00x(?)
ObjectiveCBridgeFromNSDictionaryAnyObjectForced 7530 7521 -0.1% 1.00x(?)
MonteCarloPi 50699 50757 +0.1% 1.00x(?)
ObjectiveCBridgeFromNSArrayAnyObjectForced 7382 7407 +0.3% 1.00x(?)
SortLettersInPlace 2563 2557 -0.2% 1.00x(?)
DictionarySwap 12031 12061 +0.2% 1.00x(?)
ByteSwap 10 10 +0.0% 1.00x
SuperChars 512575 511883 -0.1% 1.00x(?)
XorLoop 19535 19536 +0.0% 1.00x(?)
ObjectAllocation 548 547 -0.2% 1.00x(?)
Dictionary3 2103 2108 +0.2% 1.00x(?)
SetIntersect_OfObjects 19182 19158 -0.1% 1.00x(?)
ArrayOfRef 9339 9350 +0.1% 1.00x(?)
PopFrontArrayGeneric 9492 9497 +0.1% 1.00x(?)
Calculator 983 984 +0.1% 1.00x(?)
Hanoi 19798 19852 +0.3% 1.00x(?)
UTF8Decode 42639 42628 -0.0% 1.00x(?)
SetIsSubsetOf 3039 3046 +0.2% 1.00x(?)
Dictionary 2792 2791 -0.0% 1.00x(?)
SetIntersect 19478 19544 +0.3% 1.00x(?)
SetExclusiveOr 45885 45893 +0.0% 1.00x(?)
NSDictionaryCastToSwift 14066 14031 -0.2% 1.00x(?)
ArrayInClass 4043 4023 -0.5% 1.00x(?)
ArrayOfGenericRef 9995 9976 -0.2% 1.00x(?)
Phonebook 63088 63387 +0.5% 1.00x(?)
ObjectiveCBridgeStubDateAccess 1104 1105 +0.1% 1.00x(?)
Sim2DArray 14044 13992 -0.4% 1.00x(?)
SetExclusiveOr_OfObjects 65038 65034 -0.0% 1.00x(?)
SetUnion_OfObjects 49124 49087 -0.1% 1.00x(?)
GlobalClass 0 0 +0.0% 1.00x
Walsh 12246 12250 +0.0% 1.00x(?)
SetIsSubsetOf_OfObjects 2892 2882 -0.3% 1.00x(?)
RGBHistogram 51878 52092 +0.4% 1.00x(?)
ArrayAppendReserved 3254 3239 -0.5% 1.00x(?)
SetUnion 31739 31775 +0.1% 1.00x(?)
AngryPhonebook 3671 3686 +0.4% 1.00x(?)
ObjectiveCBridgeFromNSArrayAnyObjectToStringForced 168665 169279 +0.4% 1.00x(?)
RC4 8508 8487 -0.2% 1.00x(?)
Memset 19589 19616 +0.1% 1.00x(?)
ArrayValueProp4 2717 2714 -0.1% 1.00x(?)
ArrayValueProp3 2748 2750 +0.1% 1.00x(?)
ObjectiveCBridgeStubFromNSDate 3836 3847 +0.3% 1.00x(?)
ArraySubscript 5507 5582 +1.4% 0.99x
ObjectiveCBridgeToNSString 1095 1111 +1.5% 0.99x
PopFrontArray 24186 24538 +1.5% 0.99x(?)
ObjectiveCBridgeFromNSDictionaryAnyObjectToString 226174 228500 +1.0% 0.99x(?)
ObjectiveCBridgeFromNSArrayAnyObjectToString 168242 169703 +0.9% 0.99x(?)
Array2D 810594 817124 +0.8% 0.99x(?)
133 6479101 6577078 +1.5% 0.99x
RangeAssignment 23600 23757 +0.7% 0.99x(?)
Integrate 356 359 +0.8% 0.99x(?)
ObjectiveCBridgeStubFromNSStringRef 171 172 +0.6% 0.99x(?)
ObjectiveCBridgeStubFromNSString 718 724 +0.8% 0.99x(?)
TypeFlood 153 155 +1.3% 0.99x(?)
ObjectiveCBridgeStubURLAppendPathRef 210190 213139 +1.4% 0.99x(?)
ObjectiveCBridgeStubToNSDateRef 3219 3238 +0.6% 0.99x(?)
CaptureProp 116657 117715 +0.9% 0.99x
MapReduce 44456 45009 +1.2% 0.99x
DictionaryRemoveOfObjects 61298 62194 +1.5% 0.99x(?)
DeadArray 130909 132372 +1.1% 0.99x(?)
BitCount 99 100 +1.0% 0.99x
ArrayValueProp 2263 2280 +0.8% 0.99x(?)
ObjectiveCBridgeStubFromArrayOfNSString 109972 111327 +1.2% 0.99x(?)
ArrayValueProp2 2804 2831 +1.0% 0.99x(?)
StringWithCString 730056 748058 +2.5% 0.98x(?)
Dictionary3OfObjects 2673 2718 +1.7% 0.98x
DictionaryLiteral 24839 25296 +1.8% 0.98x(?)
OpenClose 448 456 +1.8% 0.98x(?)
NopDeinit 57823 59023 +2.1% 0.98x(?)
ObjectiveCBridgeStubDataAppend 3311 3392 +2.5% 0.98x
ObjectiveCBridgeStubToNSDate 13591 13956 +2.7% 0.97x
ObjectiveCBridgeFromNSDictionaryAnyObjectToStringForced 141871 146993 +3.6% 0.97x(?)
NSStringConversion 2723 2797 +2.7% 0.97x(?)
PopFrontUnsafePointer 244726 258340 +5.6% 0.95x
StringHasPrefixUnicode 16626 17428 +4.8% 0.95x
**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

@gribozavr
Copy link
Contributor Author

@swift-ci Please benchmark

@swift-ci
Copy link
Contributor

Build comment file:

Optimized (O)

Regression (0)

Improvement (0)

No Changes (134)

TEST OLD_MIN NEW_MIN DELTA (%) SPEEDUP
ObjectiveCBridgeStubToNSDate 13353 12998 -2.7% 1.03x(?)
AngryPhonebook 2877 2806 -2.5% 1.03x(?)
Prims 765 751 -1.8% 1.02x
Integrate 244 239 -2.0% 1.02x(?)
ObjectiveCBridgeFromNSSetAnyObject 114061 111984 -1.8% 1.02x(?)
PolymorphicCalls 61 60 -1.6% 1.02x(?)
NSDictionaryCastToSwift 13086 12773 -2.4% 1.02x(?)
ObjectiveCBridgeFromNSSetAnyObjectToStringForced 120372 118284 -1.7% 1.02x(?)
ObjectiveCBridgeToNSString 1074 1063 -1.0% 1.01x(?)
RecursiveOwnedParameter 1851 1828 -1.2% 1.01x
ObjectiveCBridgeFromNSArrayAnyObjectToString 167268 164971 -1.4% 1.01x(?)
Histogram 660 656 -0.6% 1.01x(?)
SortLettersInPlace 960 954 -0.6% 1.01x(?)
Dictionary3 531 526 -0.9% 1.01x(?)
StringHasPrefix 618 614 -0.7% 1.01x(?)
ObjectiveCBridgeStubFromNSStringRef 141 139 -1.4% 1.01x(?)
Walsh 342 337 -1.5% 1.01x(?)
DictionarySwapOfObjects 6846 6752 -1.4% 1.01x(?)
StringEqualPointerComparison 7336 7247 -1.2% 1.01x(?)
CaptureProp 4356 4300 -1.3% 1.01x(?)
RC4 254 252 -0.8% 1.01x(?)
SortStringsUnicode 9371 9273 -1.1% 1.01x
ObjectiveCBridgeFromNSArrayAnyObject 64603 63956 -1.0% 1.01x(?)
ObjectiveCBridgeFromNSSetAnyObjectToString 159514 157907 -1.0% 1.01x(?)
ArrayInClass 87 86 -1.1% 1.01x(?)
Phonebook 6648 6585 -0.9% 1.01x(?)
RGBHistogramOfObjects 22087 21857 -1.0% 1.01x(?)
NSStringConversion 585 579 -1.0% 1.01x(?)
ArrayAppendReserved 517 512 -1.0% 1.01x(?)
SetUnion 3243 3220 -0.7% 1.01x(?)
ObjectiveCBridgeFromNSArrayAnyObjectToStringForced 165939 164567 -0.8% 1.01x(?)
StringWalk 5591 5537 -1.0% 1.01x(?)
Dictionary2OfObjects 3363 3324 -1.2% 1.01x(?)
ArraySubscript 1368 1366 -0.1% 1.00x(?)
MonteCarloPi 42534 42509 -0.1% 1.00x(?)
StackPromo 19229 19198 -0.2% 1.00x(?)
ObjectiveCBridgeStubToNSString 1274 1272 -0.2% 1.00x(?)
ClassArrayGetter 12 12 +0.0% 1.00x
ObjectiveCBridgeFromNSDictionaryAnyObject 246895 247387 +0.2% 1.00x(?)
ObjectiveCBridgeFromNSDictionaryAnyObjectForced 4816 4815 -0.0% 1.00x(?)
ObjectiveCBridgeStubFromNSDateRef 3706 3721 +0.4% 1.00x(?)
ArrayOfGenericPOD 208 208 +0.0% 1.00x
StringWithCString 587498 586778 -0.1% 1.00x(?)
ObjectiveCBridgeFromNSStringForced 2310 2320 +0.4% 1.00x(?)
PopFrontArray 1132 1131 -0.1% 1.00x(?)
ByteSwap 1 1 +0.0% 1.00x
SuperChars 348640 349885 +0.4% 1.00x(?)
XorLoop 361 360 -0.3% 1.00x(?)
StringInterpolation 11666 11633 -0.3% 1.00x(?)
StaticArray 2846 2852 +0.2% 1.00x(?)
TypeFlood 0 0 +0.0% 1.00x
ProtocolDispatch2 157 157 +0.0% 1.00x
SetIntersect_OfObjects 2343 2349 +0.3% 1.00x(?)
ArrayAppend 746 748 +0.3% 1.00x(?)
ObjectiveCBridgeStubDateMutation 267 267 +0.0% 1.00x
NSError 326 326 +0.0% 1.00x
DictionaryOfObjects 2310 2314 +0.2% 1.00x(?)
ObjectiveCBridgeStubToNSDateRef 3285 3283 -0.1% 1.00x(?)
Calculator 30 30 +0.0% 1.00x
DictionaryLiteral 4481 4477 -0.1% 1.00x(?)
OpenClose 50 50 +0.0% 1.00x
DictionaryRemoveOfObjects 19928 19965 +0.2% 1.00x(?)
SetIsSubsetOf 487 487 +0.0% 1.00x
NopDeinit 35293 35127 -0.5% 1.00x(?)
ObjectiveCBridgeStubToArrayOfNSString 30868 30733 -0.4% 1.00x(?)
ArrayOfGenericRef 3583 3576 -0.2% 1.00x(?)
ObjectiveCBridgeStubDateAccess 178 178 +0.0% 1.00x
ObjectiveCBridgeToNSDictionary 16464 16392 -0.4% 1.00x(?)
MonteCarloE 9929 9955 +0.3% 1.00x(?)
SetUnion_OfObjects 6970 7004 +0.5% 1.00x(?)
StringHasSuffixUnicode 65266 65501 +0.4% 1.00x(?)
SetIsSubsetOf_OfObjects 611 610 -0.2% 1.00x(?)
LinkedList 6848 6855 +0.1% 1.00x(?)
ArrayOfPOD 172 172 +0.0% 1.00x
StringBuilder 1540 1542 +0.1% 1.00x
ArrayValueProp2 5 5 +0.0% 1.00x
BitCount 1 1 +0.0% 1.00x
ArrayLiteral 1000 1002 +0.2% 1.00x(?)
ArrayValueProp3 5 5 +0.0% 1.00x
ArrayValueProp 5 5 +0.0% 1.00x
GlobalClass 0 0 +0.0% 1.00x
Memset 222 222 +0.0% 1.00x
ArrayValueProp4 5 5 +0.0% 1.00x
TwoSum 1885 1881 -0.2% 1.00x(?)
ObjectiveCBridgeStubNSDataAppend 2399 2395 -0.2% 1.00x(?)
133 3498943 3525634 +0.8% 0.99x
SortStrings 1674 1692 +1.1% 0.99x
DictionaryBridge 3883 3920 +0.9% 0.99x(?)
ObjectiveCBridgeFromNSArrayAnyObjectForced 3695 3720 +0.7% 0.99x(?)
DictionarySwap 763 768 +0.7% 0.99x(?)
Dictionary3OfObjects 875 884 +1.0% 0.99x
ErrorHandling 3058 3088 +1.0% 0.99x(?)
ProtocolDispatch 3356 3404 +1.4% 0.99x(?)
Dictionary2 1880 1908 +1.5% 0.99x
StrComplexWalk 3031 3073 +1.4% 0.99x(?)
Join 444 450 +1.4% 0.99x(?)
ObjectiveCBridgeToNSArray 32187 32538 +1.1% 0.99x(?)
PopFrontArrayGeneric 1129 1138 +0.8% 0.99x(?)
MapReduce 371 376 +1.4% 0.99x
ObjectiveCBridgeStubURLAppendPath 197055 199935 +1.5% 0.99x(?)
Dictionary 729 734 +0.7% 0.99x(?)
ObjectiveCBridgeStubDataAppend 2903 2937 +1.2% 0.99x
SetExclusiveOr 3747 3768 +0.6% 0.99x(?)
ObjectiveCBridgeStubNSDateRefAccess 307 309 +0.7% 0.99x(?)
StrToInt 4826 4897 +1.5% 0.99x
StringHasSuffix 796 804 +1.0% 0.99x
Sim2DArray 436 441 +1.1% 0.99x
ObjectiveCBridgeStubNSDateMutationRef 11865 11979 +1.0% 0.99x(?)
HashTest 2029 2041 +0.6% 0.99x(?)
DeadArray 175 176 +0.6% 0.99x(?)
ObjectiveCBridgeStubFromArrayOfNSString 108804 109378 +0.5% 0.99x(?)
ObjectiveCBridgeStubFromNSDate 3516 3568 +1.5% 0.99x(?)
ObjectiveCBridgeFromNSDictionaryAnyObjectToString 211381 215427 +1.9% 0.98x(?)
Array2D 1986 2033 +2.4% 0.98x(?)
RangeAssignment 319 325 +1.9% 0.98x(?)
ObjectiveCBridgeStubFromNSString 687 701 +2.0% 0.98x
ArrayOfRef 3437 3507 +2.0% 0.98x(?)
ObjectiveCBridgeStubURLAppendPathRef 204783 209891 +2.5% 0.98x(?)
Hanoi 3072 3145 +2.4% 0.98x
UTF8Decode 309 314 +1.6% 0.98x(?)
SetExclusiveOr_OfObjects 8209 8382 +2.1% 0.98x
ObjectiveCBridgeToNSSet 15846 16115 +1.7% 0.98x(?)
RGBHistogram 3051 3105 +1.8% 0.98x(?)
ObjectiveCBridgeFromNSSetAnyObjectForced 4077 4178 +2.5% 0.98x
Chars 635 646 +1.7% 0.98x(?)
ObjectiveCBridgeFromNSString 1580 1610 +1.9% 0.98x(?)
SevenBoom 1351 1372 +1.6% 0.98x(?)
PopFrontUnsafePointer 8745 9050 +3.5% 0.97x(?)
SetIntersect 1130 1160 +2.6% 0.97x
DictionaryRemove 4985 5134 +3.0% 0.97x(?)
ObjectAllocation 146 152 +4.1% 0.96x(?)
ObjectiveCBridgeFromNSDictionaryAnyObjectToStringForced 135034 140290 +3.9% 0.96x(?)
StringHasPrefixUnicode 15141 15761 +4.1% 0.96x
ObjectiveCBridgeStubToNSStringRef 120 126 +5.0% 0.95x
**Unoptimized (Onone)**

Regression (3)

TEST OLD_MIN NEW_MIN DELTA (%) SPEEDUP
NSDictionaryCastToSwift 13609 14587 +7.2% 0.93x(?)
StringWalk 22380 24185 +8.1% 0.93x(?)
TypeFlood 146 156 +6.8% 0.94x(?)

Improvement (2)

TEST OLD_MIN NEW_MIN DELTA (%) SPEEDUP
NSStringConversion 2878 2709 -5.9% 1.06x(?)
ArrayOfPOD 2510 2368 -5.7% 1.06x

No Changes (129)

TEST OLD_MIN NEW_MIN DELTA (%) SPEEDUP
ObjectiveCBridgeFromNSDictionaryAnyObjectToStringForced 147800 141008 -4.6% 1.05x(?)
ObjectiveCBridgeFromNSArrayAnyObjectToStringForced 171866 164322 -4.4% 1.05x(?)
ObjectiveCBridgeFromNSDictionaryAnyObjectForced 7587 7270 -4.2% 1.04x(?)
Phonebook 62931 60764 -3.4% 1.04x(?)
SortStrings 2657 2581 -2.9% 1.03x(?)
DictionaryBridge 3980 3850 -3.3% 1.03x(?)
StrComplexWalk 8252 8024 -2.8% 1.03x
StaticArray 27931 27179 -2.7% 1.03x
Calculator 1013 988 -2.5% 1.03x
SortStringsUnicode 10443 10166 -2.6% 1.03x(?)
ObjectiveCBridgeStubToArrayOfNSString 31505 30704 -2.5% 1.03x(?)
ObjectiveCBridgeFromNSSetAnyObjectToString 176596 171814 -2.7% 1.03x(?)
SortLettersInPlace 2555 2505 -2.0% 1.02x(?)
ArrayOfGenericPOD 3501 3437 -1.8% 1.02x
ErrorHandling 3956 3885 -1.8% 1.02x(?)
ObjectiveCBridgeToNSSet 16636 16282 -2.1% 1.02x
StringEqualPointerComparison 9958 9808 -1.5% 1.02x(?)
PolymorphicCalls 1195 1176 -1.6% 1.02x
ArrayInClass 4035 3939 -2.4% 1.02x
ArrayOfGenericRef 9960 9743 -2.2% 1.02x(?)
RGBHistogram 52586 51772 -1.6% 1.02x
Chars 5438 5310 -2.4% 1.02x
StrToInt 5766 5661 -1.8% 1.02x
ObjectiveCBridgeStubNSDataAppend 5338 5255 -1.6% 1.02x(?)
SevenBoom 1523 1497 -1.7% 1.02x(?)
ObjectiveCBridgeStubFromArrayOfNSString 111091 108407 -2.4% 1.02x(?)
Array2D 801705 797524 -0.5% 1.01x(?)
DictionarySwapOfObjects 25828 25623 -0.8% 1.01x(?)
ObjectiveCBridgeFromNSArrayAnyObjectForced 7216 7171 -0.6% 1.01x(?)
ObjectiveCBridgeFromNSDictionaryAnyObject 258051 256084 -0.8% 1.01x(?)
ObjectiveCBridgeStubToNSDate 13730 13580 -1.1% 1.01x(?)
StringInterpolation 16379 16237 -0.9% 1.01x(?)
ProtocolDispatch 6110 6064 -0.8% 1.01x(?)
ObjectAllocation 543 537 -1.1% 1.01x(?)
AngryPhonebook 3670 3641 -0.8% 1.01x(?)
HashTest 5425 5393 -0.6% 1.01x(?)
Dictionary2 5312 5266 -0.9% 1.01x(?)
StringHasPrefix 1588 1572 -1.0% 1.01x
Join 1493 1477 -1.1% 1.01x(?)
ObjectiveCBridgeStubURLAppendPathRef 213515 210936 -1.2% 1.01x(?)
NSError 682 672 -1.5% 1.01x(?)
ObjectiveCBridgeStubURLAppendPath 209057 206650 -1.1% 1.01x(?)
SetIsSubsetOf 3072 3042 -1.0% 1.01x(?)
NopDeinit 58293 57925 -0.6% 1.01x(?)
SetExclusiveOr 46022 45779 -0.5% 1.01x(?)
Sim2DArray 14135 14023 -0.8% 1.01x(?)
ObjectiveCBridgeStubNSDateMutationRef 14316 14238 -0.5% 1.01x(?)
DictionaryRemove 31711 31531 -0.6% 1.01x(?)
ObjectiveCBridgeFromNSSetAnyObjectToStringForced 128601 127527 -0.8% 1.01x(?)
ArrayValueProp4 2721 2689 -1.2% 1.01x
SetUnion 31820 31653 -0.5% 1.01x(?)
ObjectiveCBridgeToNSString 1097 1095 -0.2% 1.00x(?)
MonteCarloPi 50736 50761 +0.1% 1.00x(?)
RecursiveOwnedParameter 7567 7565 -0.0% 1.00x(?)
ObjectiveCBridgeFromNSArrayAnyObjectToString 166465 166527 +0.0% 1.00x(?)
ClassArrayGetter 1291 1293 +0.1% 1.00x(?)
ObjectiveCBridgeStubFromNSDateRef 4092 4077 -0.4% 1.00x
StringWithCString 730822 730488 -0.1% 1.00x(?)
Prims 14696 14672 -0.2% 1.00x(?)
Dictionary3OfObjects 2712 2711 -0.0% 1.00x(?)
RangeAssignment 23670 23580 -0.4% 1.00x(?)
ByteSwap 10 10 +0.0% 1.00x
SuperChars 512031 510217 -0.3% 1.00x(?)
XorLoop 19528 19526 -0.0% 1.00x(?)
ObjectiveCBridgeFromNSSetAnyObject 117004 117038 +0.0% 1.00x(?)
Dictionary3 2098 2098 +0.0% 1.00x
ObjectiveCBridgeStubDateMutation 517 518 +0.2% 1.00x(?)
ObjectiveCBridgeToNSArray 32612 32477 -0.4% 1.00x(?)
ObjectiveCBridgeStubToNSDateRef 3224 3240 +0.5% 1.00x(?)
MapReduce 44611 44691 +0.2% 1.00x(?)
Hanoi 19875 19848 -0.1% 1.00x(?)
OpenClose 444 443 -0.2% 1.00x(?)
DictionaryRemoveOfObjects 61516 61642 +0.2% 1.00x(?)
UTF8Decode 42629 42573 -0.1% 1.00x(?)
Dictionary 2788 2792 +0.1% 1.00x(?)
SetIntersect 19470 19466 -0.0% 1.00x(?)
RGBHistogramOfObjects 101679 101828 +0.1% 1.00x(?)
ObjectiveCBridgeStubNSDateRefAccess 1250 1244 -0.5% 1.00x(?)
StringBuilder 2948 2939 -0.3% 1.00x(?)
ObjectiveCBridgeStubDateAccess 1097 1099 +0.2% 1.00x(?)
SetExclusiveOr_OfObjects 65247 65041 -0.3% 1.00x(?)
MonteCarloE 106643 106602 -0.0% 1.00x(?)
SetUnion_OfObjects 49074 49211 +0.3% 1.00x(?)
Walsh 12228 12224 -0.0% 1.00x(?)
SetIsSubsetOf_OfObjects 2855 2867 +0.4% 1.00x(?)
133 6571087 6584049 +0.2% 1.00x
GlobalClass 0 0 +0.0% 1.00x
Memset 19591 19627 +0.2% 1.00x(?)
Dictionary2OfObjects 7061 7037 -0.3% 1.00x(?)
ArrayAppendReserved 3217 3225 +0.2% 1.00x(?)
TwoSum 9483 9449 -0.4% 1.00x(?)
ArrayValueProp2 2840 2833 -0.2% 1.00x(?)
ArraySubscript 5470 5511 +0.8% 0.99x(?)
PopFrontArray 24146 24424 +1.1% 0.99x(?)
ObjectiveCBridgeStubToNSString 1330 1340 +0.8% 0.99x(?)
Histogram 13813 14019 +1.5% 0.99x(?)
DictionarySwap 11944 12030 +0.7% 0.99x
Integrate 358 361 +0.8% 0.99x(?)
ObjectiveCBridgeStubFromNSString 724 729 +0.7% 0.99x(?)
SetIntersect_OfObjects 19122 19236 +0.6% 0.99x(?)
ObjectiveCBridgeFromNSArrayAnyObject 69125 69533 +0.6% 0.99x(?)
StringHasSuffixUnicode 66917 67750 +1.2% 0.99x
ArrayAppend 3460 3494 +1.0% 0.99x(?)
LinkedList 26068 26328 +1.0% 0.99x(?)
ObjectiveCBridgeFromNSSetAnyObjectForced 7741 7841 +1.3% 0.99x(?)
BitCount 99 100 +1.0% 0.99x(?)
ArrayValueProp 2246 2263 +0.8% 0.99x(?)
StringHasSuffix 1602 1612 +0.6% 0.99x(?)
ArrayValueProp3 2724 2757 +1.2% 0.99x(?)
ObjectiveCBridgeFromNSDictionaryAnyObjectToString 219869 223864 +1.8% 0.98x(?)
ObjectiveCBridgeFromNSStringForced 2670 2733 +2.4% 0.98x(?)
ObjectiveCBridgeStubFromNSStringRef 172 176 +2.3% 0.98x(?)
ProtocolDispatch2 432 439 +1.6% 0.98x(?)
DictionaryOfObjects 5617 5712 +1.7% 0.98x
PopFrontArrayGeneric 9417 9566 +1.6% 0.98x(?)
RC4 8506 8664 +1.9% 0.98x(?)
DictionaryLiteral 24423 24925 +2.1% 0.98x(?)
ObjectiveCBridgeStubDataAppend 3277 3341 +1.9% 0.98x
DeadArray 128897 131258 +1.8% 0.98x(?)
ArrayLiteral 1072 1096 +2.2% 0.98x
ArrayOfRef 9079 9344 +2.9% 0.97x
CaptureProp 115259 119226 +3.4% 0.97x
ObjectiveCBridgeFromNSString 4851 5005 +3.2% 0.97x(?)
ObjectiveCBridgeToNSDictionary 16187 16675 +3.0% 0.97x(?)
ObjectiveCBridgeStubFromNSDate 3818 3919 +2.6% 0.97x
StackPromo 126404 132872 +5.1% 0.95x
PopFrontUnsafePointer 243609 255303 +4.8% 0.95x
ObjectiveCBridgeStubToNSStringRef 159 167 +5.0% 0.95x
StringHasPrefixUnicode 16753 17586 +5.0% 0.95x
**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

@gribozavr
Copy link
Contributor Author

@swift-ci Please benchmark

@swift-ci
Copy link
Contributor

Build comment file:

Optimized (O)

Regression (1)

TEST OLD_MIN NEW_MIN DELTA (%) SPEEDUP
MapReduce 371 400 +7.8% 0.93x

Improvement (3)

TEST OLD_MIN NEW_MIN DELTA (%) SPEEDUP
StringHasPrefix 646 610 -5.6% 1.06x
OpenClose 54 50 -7.4% 1.08x
SortStringsUnicode 10276 9226 -10.2% 1.11x

No Changes (130)

TEST OLD_MIN NEW_MIN DELTA (%) SPEEDUP
Walsh 340 327 -3.8% 1.04x(?)
PopFrontUnsafePointer 9149 8767 -4.2% 1.04x(?)
StringHasPrefixUnicode 15692 15107 -3.7% 1.04x
RecursiveOwnedParameter 1877 1830 -2.5% 1.03x
DictionaryBridge 3934 3829 -2.7% 1.03x(?)
ObjectiveCBridgeStubToNSString 1265 1232 -2.6% 1.03x
ErrorHandling 3071 2976 -3.1% 1.03x(?)
ObjectiveCBridgeStubFromNSString 678 661 -2.5% 1.03x(?)
ObjectAllocation 148 144 -2.7% 1.03x(?)
ObjectiveCBridgeStubToNSStringRef 120 117 -2.5% 1.03x(?)
ArrayOfGenericRef 3587 3469 -3.3% 1.03x(?)
ObjectiveCBridgeToNSString 1069 1047 -2.1% 1.02x
SortStrings 1720 1679 -2.4% 1.02x(?)
Prims 765 748 -2.2% 1.02x
DictionarySwap 768 754 -1.8% 1.02x
DictionaryOfObjects 2316 2280 -1.6% 1.02x
PolymorphicCalls 61 60 -1.6% 1.02x(?)
DictionaryLiteral 4495 4408 -1.9% 1.02x(?)
DictionaryRemoveOfObjects 20299 19953 -1.7% 1.02x
Phonebook 6827 6664 -2.4% 1.02x(?)
RGBHistogramOfObjects 21995 21642 -1.6% 1.02x(?)
StrToInt 4882 4784 -2.0% 1.02x(?)
ObjectiveCBridgeStubFromArrayOfNSString 109291 106889 -2.2% 1.02x(?)
ArraySubscript 1369 1357 -0.9% 1.01x(?)
ObjectiveCBridgeStubFromNSDateRef 3624 3597 -0.8% 1.01x(?)
SortLettersInPlace 960 948 -1.2% 1.01x(?)
RangeAssignment 328 324 -1.2% 1.01x(?)
SuperChars 350989 347898 -0.9% 1.01x(?)
ObjectiveCBridgeStubFromNSStringRef 136 134 -1.5% 1.01x(?)
ProtocolDispatch 3142 3105 -1.2% 1.01x
ProtocolDispatch2 156 155 -0.6% 1.01x(?)
ObjectiveCBridgeStubURLAppendPathRef 205887 204615 -0.6% 1.01x(?)
ObjectiveCBridgeToNSArray 32310 32102 -0.6% 1.01x(?)
NSError 335 331 -1.2% 1.01x
PopFrontArrayGeneric 1135 1119 -1.4% 1.01x(?)
Hanoi 3194 3167 -0.8% 1.01x(?)
UTF8Decode 310 306 -1.3% 1.01x
NopDeinit 35595 35146 -1.3% 1.01x(?)
SetIntersect 1146 1133 -1.1% 1.01x(?)
SetExclusiveOr 3730 3701 -0.8% 1.01x(?)
NSDictionaryCastToSwift 12719 12612 -0.8% 1.01x(?)
StringBuilder 1519 1511 -0.5% 1.01x(?)
ObjectiveCBridgeStubDateAccess 182 180 -1.1% 1.01x
Sim2DArray 436 433 -0.7% 1.01x(?)
SetExclusiveOr_OfObjects 8405 8349 -0.7% 1.01x
ObjectiveCBridgeToNSDictionary 16600 16440 -1.0% 1.01x(?)
SetUnion_OfObjects 7100 7001 -1.4% 1.01x
HashTest 2026 2011 -0.7% 1.01x(?)
NSStringConversion 582 574 -1.4% 1.01x
RGBHistogram 3086 3068 -0.6% 1.01x(?)
SetUnion 3293 3268 -0.8% 1.01x(?)
Chars 647 640 -1.1% 1.01x
DeadArray 180 179 -0.6% 1.01x(?)
ObjectiveCBridgeStubNSDataAppend 2357 2345 -0.5% 1.01x(?)
ArrayLiteral 1004 998 -0.6% 1.01x(?)
ObjectiveCBridgeFromNSArrayAnyObjectToStringForced 168568 167379 -0.7% 1.01x(?)
TwoSum 1899 1877 -1.2% 1.01x(?)
ObjectiveCBridgeStubFromNSDate 3407 3379 -0.8% 1.01x(?)
DictionarySwapOfObjects 6704 6690 -0.2% 1.00x(?)
StackPromo 18832 18892 +0.3% 1.00x(?)
ClassArrayGetter 12 12 +0.0% 1.00x
Histogram 665 666 +0.1% 1.00x(?)
ObjectiveCBridgeFromNSDictionaryAnyObjectForced 4788 4784 -0.1% 1.00x(?)
MonteCarloPi 42530 42541 +0.0% 1.00x(?)
StringWithCString 587310 587003 -0.1% 1.00x(?)
ObjectiveCBridgeFromNSStringForced 2272 2273 +0.0% 1.00x(?)
133 3525870 3533917 +0.2% 1.00x
Dictionary3OfObjects 884 880 -0.5% 1.00x(?)
ByteSwap 1 1 +0.0% 1.00x
XorLoop 360 360 +0.0% 1.00x
TypeFlood 0 0 +0.0% 1.00x
ObjectiveCBridgeFromNSSetAnyObject 113609 113427 -0.2% 1.00x(?)
Dictionary3 550 549 -0.2% 1.00x
StrComplexWalk 2996 3002 +0.2% 1.00x(?)
SetIntersect_OfObjects 2342 2338 -0.2% 1.00x(?)
Join 451 451 +0.0% 1.00x
ArrayOfRef 3471 3480 +0.3% 1.00x(?)
ObjectiveCBridgeStubDateMutation 265 265 +0.0% 1.00x
StringEqualPointerComparison 7295 7279 -0.2% 1.00x(?)
CaptureProp 4142 4122 -0.5% 1.00x(?)
ArrayOfGenericPOD 207 208 +0.5% 1.00x
ObjectiveCBridgeStubURLAppendPath 197783 198649 +0.4% 1.00x(?)
ObjectiveCBridgeFromNSDictionaryAnyObjectToStringForced 137061 136506 -0.4% 1.00x(?)
SetIsSubsetOf 487 487 +0.0% 1.00x
ObjectiveCBridgeStubDataAppend 2906 2912 +0.2% 1.00x(?)
GlobalClass 0 0 +0.0% 1.00x
ObjectiveCBridgeFromNSString 1603 1598 -0.3% 1.00x(?)
PopFrontArray 1124 1119 -0.4% 1.00x(?)
MonteCarloE 9999 9987 -0.1% 1.00x(?)
StringHasSuffixUnicode 64335 64360 +0.0% 1.00x(?)
SetIsSubsetOf_OfObjects 610 611 +0.2% 1.00x(?)
ArrayAppend 736 737 +0.1% 1.00x(?)
DictionaryRemove 5046 5059 +0.3% 1.00x(?)
LinkedList 6850 6852 +0.0% 1.00x(?)
ObjectiveCBridgeFromNSSetAnyObjectForced 4137 4124 -0.3% 1.00x(?)
ArrayAppendReserved 514 515 +0.2% 1.00x(?)
ArrayOfPOD 172 172 +0.0% 1.00x
BitCount 1 1 +0.0% 1.00x
SevenBoom 1382 1377 -0.4% 1.00x(?)
StringWalk 5545 5553 +0.1% 1.00x(?)
ArrayValueProp 5 5 +0.0% 1.00x
RC4 252 253 +0.4% 1.00x(?)
Memset 222 222 +0.0% 1.00x
ArrayValueProp4 5 5 +0.0% 1.00x
ArrayValueProp2 5 5 +0.0% 1.00x
ArrayValueProp3 5 5 +0.0% 1.00x
ObjectiveCBridgeFromNSDictionaryAnyObject 249049 252360 +1.3% 0.99x(?)
Integrate 236 239 +1.3% 0.99x(?)
ObjectiveCBridgeFromNSDictionaryAnyObjectToString 215482 218033 +1.2% 0.99x
ObjectiveCBridgeStubToNSDate 13035 13124 +0.7% 0.99x(?)
AngryPhonebook 2833 2851 +0.6% 0.99x(?)
ObjectiveCBridgeToNSSet 16357 16545 +1.1% 0.99x(?)
ObjectiveCBridgeFromNSArrayAnyObject 64266 64845 +0.9% 0.99x(?)
ObjectiveCBridgeStubNSDateRefAccess 339 341 +0.6% 0.99x(?)
ArrayInClass 87 88 +1.1% 0.99x
ObjectiveCBridgeFromNSSetAnyObjectToStringForced 118490 119238 +0.6% 0.99x(?)
Dictionary2OfObjects 3381 3420 +1.1% 0.99x(?)
ObjectiveCBridgeFromNSArrayAnyObjectToString 166693 170304 +2.2% 0.98x(?)
StringInterpolation 11465 11645 +1.6% 0.98x
StaticArray 2761 2808 +1.7% 0.98x(?)
Dictionary2 1922 1955 +1.7% 0.98x
ObjectiveCBridgeStubToNSDateRef 3241 3296 +1.7% 0.98x(?)
Dictionary 737 751 +1.9% 0.98x
ObjectiveCBridgeStubNSDateMutationRef 11769 12023 +2.2% 0.98x(?)
ObjectiveCBridgeFromNSArrayAnyObjectForced 3688 3784 +2.6% 0.97x(?)
Calculator 29 30 +3.5% 0.97x
ObjectiveCBridgeStubToArrayOfNSString 31004 31830 +2.7% 0.97x(?)
ObjectiveCBridgeFromNSSetAnyObjectToString 162355 167912 +3.4% 0.97x
Array2D 2025 2099 +3.6% 0.96x
StringHasSuffix 757 788 +4.1% 0.96x
**Unoptimized (Onone)**

Regression (1)

TEST OLD_MIN NEW_MIN DELTA (%) SPEEDUP
ObjectiveCBridgeStubToNSDate 13789 14657 +6.3% 0.94x(?)

Improvement (0)

No Changes (133)

TEST OLD_MIN NEW_MIN DELTA (%) SPEEDUP
Phonebook 64987 61686 -5.1% 1.05x
ObjectiveCBridgeStubNSDateMutationRef 14364 13651 -5.0% 1.05x(?)
StringHasSuffix 1583 1514 -4.4% 1.05x
OpenClose 470 452 -3.8% 1.04x
ObjectiveCBridgeFromNSSetAnyObjectToStringForced 130889 125437 -4.2% 1.04x
NSStringConversion 2747 2653 -3.4% 1.04x(?)
ArrayOfGenericPOD 3508 3404 -3.0% 1.03x(?)
StrToInt 5649 5494 -2.7% 1.03x
ObjectiveCBridgeToNSString 1108 1083 -2.3% 1.02x(?)
Array2D 812667 796062 -2.0% 1.02x
ObjectiveCBridgeFromNSDictionaryAnyObjectForced 7637 7511 -1.6% 1.02x(?)
RangeAssignment 23675 23295 -1.6% 1.02x(?)
StringHasPrefix 1638 1602 -2.2% 1.02x
StringInterpolation 16257 16010 -1.5% 1.02x(?)
ErrorHandling 3891 3821 -1.8% 1.02x(?)
StaticArray 28258 27782 -1.7% 1.02x(?)
AngryPhonebook 3672 3612 -1.6% 1.02x
ObjectiveCBridgeStubDateMutation 520 511 -1.7% 1.02x
SortStringsUnicode 10554 10335 -2.1% 1.02x(?)
ObjectiveCBridgeFromNSDictionaryAnyObjectToStringForced 147312 143986 -2.3% 1.02x(?)
ObjectiveCBridgeStubDataAppend 3330 3271 -1.8% 1.02x
StringBuilder 2995 2938 -1.9% 1.02x(?)
ObjectiveCBridgeToNSDictionary 16988 16630 -2.1% 1.02x(?)
ArrayAppendReserved 3177 3113 -2.0% 1.02x(?)
ArrayValueProp2 2875 2812 -2.2% 1.02x(?)
SevenBoom 1506 1482 -1.6% 1.02x(?)
ArrayValueProp 2266 2220 -2.0% 1.02x(?)
ObjectiveCBridgeStubFromArrayOfNSString 112732 110684 -1.8% 1.02x(?)
ArraySubscript 5514 5475 -0.7% 1.01x(?)
StackPromo 130375 128615 -1.4% 1.01x(?)
SortStrings 2597 2578 -0.7% 1.01x(?)
DictionaryBridge 3919 3877 -1.1% 1.01x(?)
DictionarySwapOfObjects 25753 25402 -1.4% 1.01x(?)
ObjectiveCBridgeFromNSStringForced 2733 2713 -0.7% 1.01x
Prims 14609 14411 -1.4% 1.01x(?)
ObjectiveCBridgeFromNSDictionaryAnyObject 259409 257449 -0.8% 1.01x(?)
Integrate 359 356 -0.8% 1.01x(?)
ObjectiveCBridgeStubFromNSString 722 715 -1.0% 1.01x(?)
ProtocolDispatch 6109 6045 -1.1% 1.01x(?)
StringHasSuffixUnicode 67355 66902 -0.7% 1.01x(?)
Dictionary3 2109 2095 -0.7% 1.01x(?)
Join 1483 1469 -0.9% 1.01x
NSError 687 678 -1.3% 1.01x(?)
DictionaryOfObjects 5654 5600 -1.0% 1.01x
ObjectiveCBridgeStubToNSDateRef 3165 3131 -1.1% 1.01x(?)
PolymorphicCalls 1176 1164 -1.0% 1.01x
Hanoi 19850 19585 -1.3% 1.01x
SetIsSubsetOf 3055 3033 -0.7% 1.01x(?)
Dictionary 2791 2769 -0.8% 1.01x(?)
NopDeinit 58578 58285 -0.5% 1.01x(?)
SetIntersect 19645 19416 -1.2% 1.01x(?)
ObjectiveCBridgeStubNSDateRefAccess 1252 1245 -0.6% 1.01x(?)
Sim2DArray 14177 13994 -1.3% 1.01x
StringHasPrefixUnicode 16946 16699 -1.5% 1.01x(?)
133 6508905 6466439 -0.7% 1.01x
DeadArray 131350 130323 -0.8% 1.01x(?)
BitCount 100 99 -1.0% 1.01x
ObjectiveCBridgeFromNSArrayAnyObjectToStringForced 171163 168931 -1.3% 1.01x(?)
Dictionary2OfObjects 7112 7065 -0.7% 1.01x(?)
ArrayValueProp4 2727 2704 -0.8% 1.01x(?)
TwoSum 9503 9415 -0.9% 1.01x(?)
ArrayValueProp3 2760 2730 -1.1% 1.01x(?)
MonteCarloPi 50670 50686 +0.0% 1.00x(?)
PopFrontArray 24177 24072 -0.4% 1.00x(?)
ObjectiveCBridgeFromNSDictionaryAnyObjectToString 226515 227293 +0.3% 1.00x(?)
ObjectiveCBridgeFromNSArrayAnyObjectToString 168405 168187 -0.1% 1.00x(?)
ClassArrayGetter 1291 1292 +0.1% 1.00x(?)
ObjectiveCBridgeStubFromNSDateRef 4080 4094 +0.3% 1.00x
StringWithCString 733259 731155 -0.3% 1.00x(?)
DictionarySwap 12018 12000 -0.1% 1.00x(?)
ByteSwap 10 10 +0.0% 1.00x
SuperChars 511045 509193 -0.4% 1.00x(?)
XorLoop 19537 19524 -0.1% 1.00x
ObjectiveCBridgeStubFromNSStringRef 172 172 +0.0% 1.00x
TypeFlood 155 155 +0.0% 1.00x
ObjectiveCBridgeFromNSSetAnyObject 116273 115771 -0.4% 1.00x(?)
Dictionary2 5236 5257 +0.4% 1.00x(?)
StrComplexWalk 8121 8091 -0.4% 1.00x(?)
SetIntersect_OfObjects 19193 19179 -0.1% 1.00x(?)
ObjectiveCBridgeToNSSet 16742 16668 -0.4% 1.00x(?)
StringEqualPointerComparison 9713 9696 -0.2% 1.00x(?)
CaptureProp 118109 117868 -0.2% 1.00x(?)
MapReduce 44723 44542 -0.4% 1.00x(?)
DictionaryRemoveOfObjects 61241 61166 -0.1% 1.00x(?)
UTF8Decode 42574 42540 -0.1% 1.00x(?)
SetExclusiveOr 45915 45754 -0.3% 1.00x(?)
NSDictionaryCastToSwift 14259 14197 -0.4% 1.00x(?)
RGBHistogramOfObjects 100395 100364 -0.0% 1.00x(?)
ArrayInClass 3939 3935 -0.1% 1.00x(?)
ObjectiveCBridgeStubDateAccess 1123 1119 -0.4% 1.00x(?)
MonteCarloE 107219 106793 -0.4% 1.00x(?)
SetUnion_OfObjects 49165 49065 -0.2% 1.00x
RC4 8490 8480 -0.1% 1.00x(?)
HashTest 5413 5409 -0.1% 1.00x(?)
ArrayAppend 3489 3490 +0.0% 1.00x(?)
DictionaryRemove 31866 31788 -0.2% 1.00x(?)
LinkedList 26076 26040 -0.1% 1.00x(?)
RGBHistogram 51546 51498 -0.1% 1.00x(?)
ObjectiveCBridgeFromNSSetAnyObjectForced 7587 7612 +0.3% 1.00x(?)
SetUnion 31828 31722 -0.3% 1.00x(?)
Chars 5237 5262 +0.5% 1.00x(?)
ArrayLiteral 1076 1075 -0.1% 1.00x(?)
GlobalClass 0 0 +0.0% 1.00x
Memset 19588 19683 +0.5% 1.00x(?)
RecursiveOwnedParameter 7554 7604 +0.7% 0.99x
Histogram 14020 14173 +1.1% 0.99x(?)
ProtocolDispatch2 434 437 +0.7% 0.99x(?)
Walsh 12190 12255 +0.5% 0.99x(?)
ObjectiveCBridgeToNSArray 32181 32540 +1.1% 0.99x(?)
PopFrontArrayGeneric 9398 9509 +1.2% 0.99x(?)
PopFrontUnsafePointer 258562 260121 +0.6% 0.99x(?)
Calculator 985 991 +0.6% 0.99x(?)
DictionaryLiteral 24741 25113 +1.5% 0.99x(?)
SetExclusiveOr_OfObjects 65203 65602 +0.6% 0.99x(?)
ObjectiveCBridgeStubToNSString 1304 1337 +2.5% 0.98x(?)
SortLettersInPlace 2540 2579 +1.5% 0.98x
Dictionary3OfObjects 2673 2717 +1.6% 0.98x
ObjectiveCBridgeStubToNSStringRef 156 159 +1.9% 0.98x(?)
ArrayOfGenericRef 9569 9717 +1.6% 0.98x(?)
SetIsSubsetOf_OfObjects 2869 2922 +1.9% 0.98x(?)
ObjectiveCBridgeFromNSSetAnyObjectToString 172595 176107 +2.0% 0.98x(?)
ObjectiveCBridgeStubNSDataAppend 5226 5310 +1.6% 0.98x(?)
ObjectiveCBridgeStubFromNSDate 3797 3889 +2.4% 0.98x
ObjectiveCBridgeFromNSArrayAnyObjectForced 7094 7323 +3.2% 0.97x(?)
ObjectAllocation 544 560 +2.9% 0.97x
ObjectiveCBridgeStubURLAppendPathRef 203115 208696 +2.8% 0.97x(?)
ObjectiveCBridgeStubURLAppendPath 198752 204599 +2.9% 0.97x(?)
ObjectiveCBridgeStubToArrayOfNSString 30359 31252 +2.9% 0.97x(?)
ArrayOfPOD 2312 2387 +3.2% 0.97x(?)
StringWalk 24674 25554 +3.6% 0.97x(?)
ArrayOfRef 8956 9369 +4.6% 0.96x(?)
ObjectiveCBridgeFromNSArrayAnyObject 68945 71579 +3.8% 0.96x(?)
ObjectiveCBridgeFromNSString 4879 5057 +3.6% 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

@gribozavr
Copy link
Contributor Author

The benchmark differences look like noise.

@gribozavr gribozavr merged commit c5bbfa2 into master Jul 11, 2016
@gribozavr gribozavr deleted the stdlib-fix-type-of-copyToNativeArrayBuffer branch July 11, 2016 23:31
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