Skip to content

[stdlib] Implement slice Indices using their base Indices #12277

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
Oct 5, 2017

Conversation

airspeedswift
Copy link
Member

Resolves this issue:

// FIXME(ABI)#67 (Associated Types with where clauses):
//
//   public typealias Indices = Base.Indices
//   public var indices: Indices { ... }
//
// We can't do it right now because we don't have enough
// constraints on the Base.Indices type in this context.

Now that we are constraining Collection.Indices to be its own slice type we can implement a slice's Indices in terms of it.

@airspeedswift
Copy link
Member Author

@swift-ci please test source compatibility

@airspeedswift
Copy link
Member Author

@swift-ci please test

@airspeedswift
Copy link
Member Author

@swift-ci please smoke benchmark

@airspeedswift
Copy link
Member Author

@swift-ci please smoke test compiler performance

@swift-ci
Copy link
Contributor

swift-ci commented Oct 4, 2017

Build failed
Swift Test Linux Platform
Git Sha - 138fb8e

@airspeedswift
Copy link
Member Author

@swift-ci please clean test linux platform

@swift-ci
Copy link
Contributor

swift-ci commented Oct 4, 2017

Build comment file:

Summary for master smoketest

Regressions found (see below)

Debug

PR vs. head (debug)

PR vs. head, changed counters (debug)

name old new delta delta_pct
Kingfisher
Sema.NumConstraintScopes
316794 316772 -22 -0.01 ✅
ReactiveCocoa
Sema.NumLazyIterableDeclContexts
104188 104146 -42 -0.04 ✅
ReactiveSwift
Sema.NumGenericSignatureBuilders
15924 15918 -6 -0.04 ✅
Kingfisher
Sema.NumLazyIterableDeclContexts
53310 53284 -26 -0.05 ✅
ReactiveCocoa
Sema.NumGenericSignatureBuilders
28612 28598 -14 -0.05 ✅
ReactiveSwift
Sema.NumConstraintScopes
37802 37766 -36 -0.1 ✅
Kingfisher
Sema.NumGenericSignatureBuilders
14655 14639 -16 -0.11 ✅
Kingfisher
Sema.NumLazyGenericEnvironments
66662 66558 -104 -0.16 ✅
ReactiveSwift
Sema.NumLazyIterableDeclContexts
36455 36395 -60 -0.16 ✅
ReactiveCocoa
Sema.NumLazyGenericEnvironments
102524 102354 -170 -0.17 ✅
ReactiveCocoa
Sema.NumLazyGenericEnvironmentsLoaded
10108 10090 -18 -0.18 ✅
ReactiveSwift
Sema.NumLazyGenericEnvironments
53700 53598 -102 -0.19 ✅
Alamofire
Sema.NumLazyIterableDeclContexts
21001 20960 -41 -0.2 ✅
ReactiveSwift
Sema.NumLazyGenericEnvironmentsLoaded
7432 7416 -16 -0.22 ✅
ReactiveSwift
Sema.NumTypesDeserialized
256278 255528 -750 -0.29 ✅
ReactiveCocoa
Sema.NumTypesDeserialized
465188 463728 -1460 -0.31 ✅
ReactiveSwift
Sema.NumDeclsDeserialized
305909 304849 -1060 -0.35 ✅
Alamofire
Sema.NumGenericSignatureBuilders
5592 5572 -20 -0.36 ✅
ReactiveCocoa
Sema.NumDeclsDeserialized
538547 536601 -1946 -0.36 ✅
Kingfisher
Sema.NumTypesDeserialized
338267 336621 -1646 -0.49 ✅
Kingfisher
Sema.NumDeclsDeserialized
411811 409687 -2124 -0.52 ✅
Kingfisher
Sema.NumLazyGenericEnvironmentsLoaded
5364 5336 -28 -0.52 ✅
Alamofire
Sema.NumLazyGenericEnvironments
30500 30331 -169 -0.55 ✅
Result
Sema.NumLazyIterableDeclContexts
2927 2911 -16 -0.55 ✅
Result
Sema.NumGenericSignatureBuilders
780 774 -6 -0.77 ✅
Result
Sema.NumLazyGenericEnvironmentsLoaded
490 486 -4 -0.82 ✅
Alamofire
Sema.NumLazyGenericEnvironmentsLoaded
2514 2493 -21 -0.84 ✅
Alamofire
Sema.NumTypesDeserialized
160597 158733 -1864 -1.16 ✅
Alamofire
Sema.NumDeclsDeserialized
201192 198718 -2474 -1.23 ✅
Result
Sema.NumLazyGenericEnvironments
4874 4798 -76 -1.56 ✅
Result
Sema.NumTypesDeserialized
22598 22122 -476 -2.11 ✅
Result
Sema.NumDeclsDeserialized
27253 26579 -674 -2.47 ✅
ReactiveSwift
Sema.NumConformancesDeserialized
51956 48022 -3934 -7.57 ✅
ReactiveCocoa
Sema.NumConformancesDeserialized
60390 53422 -6968 -11.54 ✅
Kingfisher
Sema.NumConformancesDeserialized
77842 66860 -10982 -14.11 ✅
Alamofire
Sema.NumConformancesDeserialized
45570 35526 -10044 -22.04 ✅
Result
Sema.NumConformancesDeserialized
3342 1934 -1408 -42.13 ✅

PR vs. head, changed timers (debug)

name old new delta delta_pct

PR vs. baseline (debug)

PR vs. baseline, changed counters (debug)

name old new delta delta_pct
ReactiveCocoa
LLVM.NumLLVMBytesOutput
4779068 6483576 1704508 35.67 ⛔
ReactiveCocoa
Sema.NumConstraintScopes
42990 56900 13910 32.36 ⛔
Alamofire
Sema.NumConformancesDeserialized
31066 35526 4460 14.36 ⛔
ReactiveCocoa
Sema.NumLazyGenericEnvironments
90668 102354 11686 12.89 ⛔
ReactiveCocoa
Sema.NumDeclsDeserialized
494586 536601 42015 8.49 ⛔
Alamofire
SILModule.NumSILOptFunctions
3908 4236 328 8.39 ⛔
Kingfisher
SILModule.NumSILOptFunctions
7512 8109 597 7.95 ⛔
ReactiveCocoa
SILModule.NumSILOptFunctions
4068 4306 238 5.85 ⛔
ReactiveSwift
Sema.NumLazyGenericEnvironments
50700 53598 2898 5.72 ⛔
Kingfisher
LLVM.NumLLVMBytesOutput
4703184 4933624 230440 4.9 ⛔
ReactiveSwift
Sema.NumDeclsDeserialized
291650 304849 13199 4.53 ⛔
ReactiveCocoa
Sema.NumTypesDeserialized
447708 463728 16020 3.58 ⛔
ReactiveSwift
SILModule.NumSILOptFunctions
6970 7212 242 3.47 ⛔
ReactiveSwift
LLVM.NumLLVMBytesOutput
8051308 8315176 263868 3.28 ⛔
Alamofire
Sema.NumDeclsDeserialized
192907 198718 5811 3.01 ⛔
Alamofire
Sema.NumLazyGenericEnvironments
29706 30331 625 2.1 ⛔
Kingfisher
Sema.NumLazyGenericEnvironments
65820 66558 738 1.12 ⛔
ReactiveSwift
Sema.NumTypesDeserialized
253214 255528 2314 0.91 ⛔
Kingfisher
Sema.NumDeclsDeserialized
406293 409687 3394 0.84 ⛔
Alamofire
LLVM.NumLLVMBytesOutput
2996100 3019804 23704 0.79 ⛔
ReactiveSwift
IRModule.NumIRGlobals
12388 12426 38 0.31 ⛔
ReactiveCocoa
IRModule.NumIRGlobals
9536 9534 -2 -0.02 ✅
Alamofire
Sema.NumTypesDeserialized
158803 158733 -70 -0.04 ✅
Kingfisher
SILModule.NumSILGenFunctions
4186 4182 -4 -0.1 ✅
Alamofire
SILModule.NumSILGenFunctions
2463 2460 -3 -0.12 ✅
ReactiveSwift
SILModule.NumSILGenFunctions
4833 4819 -14 -0.29 ✅
ReactiveCocoa
SILModule.NumSILGenFunctions
2904 2894 -10 -0.34 ✅
ReactiveCocoa
AST.NumUsedConformances
704 700 -4 -0.57 ✅
Alamofire
AST.NumUsedConformances
435 432 -3 -0.69 ✅
Kingfisher
IRModule.NumIRGlobals
9117 9053 -64 -0.7 ✅
ReactiveCocoa
Sema.NumLazyGenericEnvironmentsLoaded
10174 10090 -84 -0.83 ✅
ReactiveCocoa
AST.NumTotalClangImportedEntities
101754 100824 -930 -0.91 ✅
Kingfisher
AST.NumUsedConformances
858 850 -8 -0.93 ✅
Alamofire
IRModule.NumIRGlobals
4765 4713 -52 -1.09 ✅
ReactiveSwift
AST.NumUsedConformances
730 722 -8 -1.1 ✅
ReactiveCocoa
IRModule.NumIRValueSymbols
14686 14472 -214 -1.46 ✅
Alamofire
Sema.NumFunctionsTypechecked
5545 5454 -91 -1.64 ✅
ReactiveCocoa
Sema.NumFunctionsTypechecked
18516 18200 -316 -1.71 ✅
ReactiveCocoa
Sema.NumLazyIterableDeclContexts
105954 104146 -1808 -1.71 ✅
ReactiveSwift
IRModule.NumIRValueSymbols
19619 19283 -336 -1.71 ✅
ReactiveCocoa
AST.NumImportedExternalDefinitions
34112 33388 -724 -2.12 ✅
Kingfisher
Sema.NumTypesDeserialized
344365 336621 -7744 -2.25 ✅
Alamofire
Sema.NumLazyIterableDeclContexts
21455 20960 -495 -2.31 ✅
Kingfisher
Sema.NumLazyGenericEnvironmentsLoaded
5480 5336 -144 -2.63 ✅
ReactiveCocoa
IRModule.NumIRFunctions
7080 6878 -202 -2.85 ✅
Kingfisher
Sema.NumLazyIterableDeclContexts
54859 53284 -1575 -2.87 ✅
ReactiveSwift
IRModule.NumIRFunctions
10863 10537 -326 -3.0 ✅
ReactiveSwift
Sema.NumLazyGenericEnvironmentsLoaded
7646 7416 -230 -3.01 ✅
ReactiveSwift
Sema.NumLazyIterableDeclContexts
37546 36395 -1151 -3.07 ✅
ReactiveSwift
Sema.NumFunctionsTypechecked
4538 4398 -140 -3.09 ✅
ReactiveCocoa
IRModule.NumIRInsts
102753 99493 -3260 -3.17 ✅
ReactiveCocoa
IRModule.NumIRBasicBlocks
11870 11490 -380 -3.2 ✅
Alamofire
IRModule.NumIRValueSymbols
8767 8470 -297 -3.39 ✅
Kingfisher
IRModule.NumIRValueSymbols
14986 14464 -522 -3.48 ✅
ReactiveSwift
Sema.NumConformancesDeserialized
49822 48022 -1800 -3.61 ✅
Alamofire
IRModule.NumIRFunctions
5357 5119 -238 -4.44 ✅
Kingfisher
IRModule.NumIRInsts
194978 184655 -10323 -5.29 ✅
ReactiveSwift
IRModule.NumIRInsts
332161 314104 -18057 -5.44 ✅
Alamofire
Sema.NumConstraintScopes
43672 41279 -2393 -5.48 ✅
Kingfisher
IRModule.NumIRFunctions
8204 7754 -450 -5.49 ✅
Alamofire
Sema.NumLazyGenericEnvironmentsLoaded
2641 2493 -148 -5.6 ✅
Kingfisher
IRModule.NumIRBasicBlocks
18956 17889 -1067 -5.63 ✅
Kingfisher
Sema.NumConformancesDeserialized
70852 66860 -3992 -5.63 ✅
Alamofire
AST.NumImportedExternalDefinitions
8501 7982 -519 -6.11 ✅
Kingfisher
Sema.NumFunctionsTypechecked
17534 16432 -1102 -6.28 ✅
ReactiveCocoa
Sema.NumConformancesDeserialized
57916 53422 -4494 -7.76 ✅
Alamofire
IRModule.NumIRBasicBlocks
15117 13942 -1175 -7.77 ✅
Alamofire
IRModule.NumIRInsts
145724 134199 -11525 -7.91 ✅
Kingfisher
AST.NumImportedExternalDefinitions
28988 26636 -2352 -8.11 ✅
ReactiveSwift
Sema.NumConstraintScopes
41650 37766 -3884 -9.33 ✅
Alamofire
AST.NumTotalClangImportedEntities
27881 24816 -3065 -10.99 ✅
Kingfisher
AST.NumTotalClangImportedEntities
75188 66040 -9148 -12.17 ✅
ReactiveSwift
IRModule.NumIRBasicBlocks
21814 19086 -2728 -12.51 ✅
ReactiveSwift
AST.NumImportedExternalDefinitions
6434 5566 -868 -13.49 ✅
ReactiveCocoa
Sema.NumTypesValidated
49050 40968 -8082 -16.48 ✅
ReactiveSwift
Sema.NumTypesValidated
100770 81156 -19614 -19.46 ✅
Alamofire
Sema.NumTypesValidated
18298 14335 -3963 -21.66 ✅
Kingfisher
Sema.NumTypesValidated
27944 21406 -6538 -23.4 ✅
ReactiveCocoa
Sema.NumDeclsValidated
106644 81026 -25618 -24.02 ✅
ReactiveSwift
AST.NumTotalClangImportedEntities
24796 18652 -6144 -24.78 ✅
Kingfisher
Sema.NumDeclsValidated
125016 83066 -41950 -33.56 ✅
Alamofire
Sema.NumDeclsValidated
61341 38708 -22633 -36.9 ✅
ReactiveCocoa
Sema.NumGenericSignatureBuilders
49468 28598 -20870 -42.19 ✅
ReactiveSwift
Sema.NumDeclsValidated
75348 42528 -32820 -43.56 ✅
Kingfisher
Sema.NumConstraintScopes
581970 316772 -265198 -45.57 ✅
ReactiveSwift
Sema.NumGenericSignatureBuilders
31134 15918 -15216 -48.87 ✅
Kingfisher
Sema.NumGenericSignatureBuilders
33750 14639 -19111 -56.63 ✅
Alamofire
Sema.NumGenericSignatureBuilders
13996 5572 -8424 -60.19 ✅

PR vs. baseline, changed timers (debug)

name old new delta delta_pct

Release

PR vs. head (release)

PR vs. head, changed counters (release)

name old new delta delta_pct
Kingfisher
Sema.NumGenericSignatureBuilders
1595 1599 4 0.25 ⛔
ReactiveSwift
Sema.NumGenericSignatureBuilders
2386 2390 4 0.17 ⛔
ReactiveSwift
Sema.NumDeclsDeserialized
43870 43931 61 0.14 ⛔
Kingfisher
Sema.NumDeclsDeserialized
48142 48203 61 0.13 ⛔
ReactiveCocoa
Sema.NumLazyGenericEnvironments
6158 6166 8 0.13 ⛔
ReactiveSwift
Sema.NumTypesDeserialized
39621 39661 40 0.1 ⛔
Kingfisher
Sema.NumTypesDeserialized
45034 45074 40 0.09 ⛔
Kingfisher
Sema.NumConstraintScopes
301104 301082 -22 -0.01 ✅
ReactiveSwift
Sema.NumConstraintScopes
34966 34930 -36 -0.1 ✅
Alamofire
Sema.NumDeclsDeserialized
24183 24139 -44 -0.18 ✅
Alamofire
Sema.NumTypesDeserialized
23086 23035 -51 -0.22 ✅
Alamofire
Sema.NumLazyGenericEnvironmentsLoaded
364 363 -1 -0.27 ✅
ReactiveCocoa
Sema.NumLazyGenericEnvironmentsLoaded
694 692 -2 -0.29 ✅
ReactiveCocoa
Sema.NumDeclsDeserialized
41996 41866 -130 -0.31 ✅
ReactiveCocoa
Sema.NumTypesDeserialized
39058 38894 -164 -0.42 ✅
Result
Sema.NumLazyGenericEnvironmentsLoaded
338 336 -2 -0.59 ✅
Result
Sema.NumLazyIterableDeclContexts
1966 1950 -16 -0.81 ✅
Result
Sema.NumGenericSignatureBuilders
584 578 -6 -1.03 ✅
Kingfisher
Sema.NumConformancesDeserialized
28676 28342 -334 -1.16 ✅
ReactiveSwift
Sema.NumConformancesDeserialized
26178 25798 -380 -1.45 ✅
Result
Sema.NumLazyGenericEnvironments
4060 3984 -76 -1.87 ✅
Result
Sema.NumTypesDeserialized
20701 20227 -474 -2.29 ✅
Result
Sema.NumDeclsDeserialized
24068 23394 -674 -2.8 ✅
Alamofire
Sema.NumConformancesDeserialized
15280 14598 -682 -4.46 ✅
ReactiveCocoa
Sema.NumConformancesDeserialized
21630 19558 -2072 -9.58 ✅
Result
Sema.NumConformancesDeserialized
4944 3536 -1408 -28.48 ✅

PR vs. head, changed timers (release)

name old new delta delta_pct

PR vs. baseline (release)

PR vs. baseline, changed counters (release)

name old new delta delta_pct
ReactiveCocoa
Sema.NumConstraintScopes
23810 38104 14294 60.03 ⛔
ReactiveCocoa
LLVM.NumLLVMBytesOutput
5481964 8760388 3278424 59.8 ⛔
Alamofire
AST.NumTotalClangImportedEntities
2920 3234 314 10.75 ⛔
Kingfisher
LLVM.NumLLVMBytesOutput
5463388 5948852 485464 8.89 ⛔
Kingfisher
AST.NumTotalClangImportedEntities
9086 9816 730 8.03 ⛔
ReactiveSwift
LLVM.NumLLVMBytesOutput
9453100 10096544 643444 6.81 ⛔
Alamofire
LLVM.NumLLVMBytesOutput
3172424 3354756 182332 5.75 ⛔
ReactiveCocoa
SILModule.NumSILOptFunctions
2915 3025 110 3.77 ⛔
ReactiveCocoa
AST.NumTotalClangImportedEntities
7270 7434 164 2.26 ⛔
Alamofire
SILModule.NumSILOptFunctions
2991 3018 27 0.9 ⛔
ReactiveSwift
IRModule.NumIRGlobals
11628 11722 94 0.81 ⛔
Kingfisher
SILModule.NumSILOptFunctions
5723 5760 37 0.65 ⛔
Kingfisher
IRModule.NumIRGlobals
8627 8672 45 0.52 ⛔
ReactiveCocoa
IRModule.NumIRGlobals
8486 8494 8 0.09 ⛔
Alamofire
SILModule.NumSILGenFunctions
1861 1860 -1 -0.05 ✅
ReactiveCocoa
SILModule.NumSILGenFunctions
1917 1915 -2 -0.1 ✅
ReactiveSwift
SILModule.NumSILOptFunctions
6852 6821 -31 -0.45 ✅
ReactiveSwift
SILModule.NumSILGenFunctions
3755 3737 -18 -0.48 ✅
Alamofire
IRModule.NumIRGlobals
4521 4496 -25 -0.55 ✅
ReactiveSwift
AST.NumUsedConformances
732 728 -4 -0.55 ✅
ReactiveCocoa
AST.NumUsedConformances
704 700 -4 -0.57 ✅
ReactiveCocoa
Sema.NumLazyGenericEnvironments
6206 6166 -40 -0.64 ✅
Alamofire
AST.NumUsedConformances
435 432 -3 -0.69 ✅
ReactiveSwift
Sema.NumFunctionsTypechecked
1990 1976 -14 -0.7 ✅
ReactiveSwift
Sema.NumLazyGenericEnvironments
5192 5144 -48 -0.92 ✅
Kingfisher
AST.NumUsedConformances
858 850 -8 -0.93 ✅
Kingfisher
Sema.NumDeclsDeserialized
48966 48203 -763 -1.56 ✅
ReactiveCocoa
IRModule.NumIRValueSymbols
12322 12104 -218 -1.77 ✅
ReactiveSwift
IRModule.NumIRValueSymbols
19993 19626 -367 -1.84 ✅
Alamofire
Sema.NumLazyGenericEnvironments
2812 2756 -56 -1.99 ✅
ReactiveCocoa
Sema.NumDeclsDeserialized
42725 41866 -859 -2.01 ✅
ReactiveCocoa
Sema.NumTypesDeserialized
39744 38894 -850 -2.14 ✅
ReactiveSwift
Sema.NumDeclsDeserialized
44916 43931 -985 -2.19 ✅
ReactiveCocoa
Sema.NumLazyIterableDeclContexts
3880 3792 -88 -2.27 ✅
Kingfisher
Sema.NumTypesDeserialized
46202 45074 -1128 -2.44 ✅
Alamofire
Sema.NumDeclsDeserialized
24868 24139 -729 -2.93 ✅
Kingfisher
Sema.NumLazyIterableDeclContexts
3642 3531 -111 -3.05 ✅
Alamofire
Sema.NumLazyIterableDeclContexts
1716 1663 -53 -3.09 ✅
ReactiveSwift
IRModule.NumIRInsts
271570 263013 -8557 -3.15 ✅
ReactiveSwift
Sema.NumTypesDeserialized
40951 39661 -1290 -3.15 ✅
Kingfisher
IRModule.NumIRValueSymbols
13308 12875 -433 -3.25 ✅
Alamofire
Sema.NumTypesDeserialized
23829 23035 -794 -3.33 ✅
Alamofire
IRModule.NumIRValueSymbols
7218 6965 -253 -3.51 ✅
ReactiveSwift
IRModule.NumIRFunctions
10605 10216 -389 -3.67 ✅
ReactiveSwift
Sema.NumConformancesDeserialized
26845 25798 -1047 -3.9 ✅
ReactiveSwift
Sema.NumLazyIterableDeclContexts
2982 2861 -121 -4.06 ✅
ReactiveCocoa
IRModule.NumIRFunctions
5090 4876 -214 -4.2 ✅
Kingfisher
Sema.NumLazyGenericEnvironments
5170 4938 -232 -4.49 ✅
ReactiveCocoa
IRModule.NumIRInsts
69895 66747 -3148 -4.5 ✅
Alamofire
IRModule.NumIRInsts
123248 117465 -5783 -4.69 ✅
ReactiveCocoa
Sema.NumLazyGenericEnvironmentsLoaded
728 692 -36 -4.95 ✅
Alamofire
Sema.NumLazyGenericEnvironmentsLoaded
383 363 -20 -5.22 ✅
Alamofire
IRModule.NumIRFunctions
3819 3599 -220 -5.76 ✅
Alamofire
Sema.NumConstraintScopes
38683 36446 -2237 -5.78 ✅
Kingfisher
Sema.NumLazyGenericEnvironmentsLoaded
876 824 -52 -5.94 ✅
Alamofire
IRModule.NumIRBasicBlocks
16869 15771 -1098 -6.51 ✅
ReactiveSwift
Sema.NumLazyGenericEnvironmentsLoaded
890 832 -58 -6.52 ✅
ReactiveCocoa
Sema.NumConformancesDeserialized
20926 19558 -1368 -6.54 ✅
ReactiveCocoa
IRModule.NumIRBasicBlocks
9437 8757 -680 -7.21 ✅
Kingfisher
IRModule.NumIRFunctions
6265 5807 -458 -7.31 ✅
ReactiveSwift
IRModule.NumIRBasicBlocks
23918 22073 -1845 -7.71 ✅
Kingfisher
Sema.NumConformancesDeserialized
30795 28342 -2453 -7.97 ✅
ReactiveSwift
Sema.NumConstraintScopes
38598 34930 -3668 -9.5 ✅
Kingfisher
IRModule.NumIRInsts
189828 170741 -19087 -10.05 ✅
Kingfisher
IRModule.NumIRBasicBlocks
25356 22751 -2605 -10.27 ✅
ReactiveSwift
Sema.NumTypesValidated
26352 23594 -2758 -10.47 ✅
Alamofire
Sema.NumConformancesDeserialized
16433 14598 -1835 -11.17 ✅
ReactiveSwift
AST.NumImportedExternalDefinitions
592 512 -80 -13.51 ✅
Alamofire
Sema.NumTypesValidated
1977 1592 -385 -19.47 ✅
ReactiveSwift
AST.NumTotalClangImportedEntities
2670 2102 -568 -21.27 ✅
Kingfisher
Sema.NumTypesValidated
3794 2740 -1054 -27.78 ✅
ReactiveCocoa
Sema.NumTypesValidated
4072 2372 -1700 -41.75 ✅
ReactiveSwift
Sema.NumGenericSignatureBuilders
4390 2390 -2000 -45.56 ✅
ReactiveCocoa
Sema.NumDeclsValidated
20206 10966 -9240 -45.73 ✅
Kingfisher
Sema.NumConstraintScopes
564928 301082 -263846 -46.7 ✅
ReactiveCocoa
Sema.NumGenericSignatureBuilders
3612 1854 -1758 -48.67 ✅
Alamofire
Sema.NumGenericSignatureBuilders
1595 687 -908 -56.93 ✅
Kingfisher
Sema.NumGenericSignatureBuilders
3925 1599 -2326 -59.26 ✅
Kingfisher
Sema.NumDeclsValidated
35702 14416 -21286 -59.62 ✅
Alamofire
Sema.NumDeclsValidated
17283 6831 -10452 -60.48 ✅
ReactiveSwift
Sema.NumDeclsValidated
28656 9610 -19046 -66.46 ✅

PR vs. baseline, changed timers (release)

name old new delta delta_pct
Last baseline commit on smoketest-master-debug.csv
commit 87209ce76c9cb2ac66f7c70383b4179b880718fb
Author: Graydon Hoare 
Date:   Tue Oct 3 23:51:30 2017 -0700

    [cperf-baselines] Reset to swift-4.0-DEVELOPMENT-SNAPSHOT-2017-09-23-a, after last set of stats fixes.

Last baseline commit on smoketest-master-release.csv

commit 87209ce76c9cb2ac66f7c70383b4179b880718fb
Author: Graydon Hoare 
Date:   Tue Oct 3 23:51:30 2017 -0700

    [cperf-baselines] Reset to swift-4.0-DEVELOPMENT-SNAPSHOT-2017-09-23-a, after last set of stats fixes.


@airspeedswift
Copy link
Member Author

@swift-ci please test macOS platform

@airspeedswift
Copy link
Member Author

@swift-ci please test source compatibility

@DougGregor
Copy link
Member

Do you want to consider the Collection requirement Indices.Indices == Indices as part of this?

@swift-ci
Copy link
Contributor

swift-ci commented Oct 5, 2017

Build comment file:

Optimized (O)

Improvement (85)
TEST OLD NEW DELTA SPEEDUP
ArrayValueProp4 6 5 -16.7% 1.20x
MapReduceAnyCollection 400 343 -14.2% 1.17x
CharIteration_korean_unicodeScalars_Backwards 17041 15339 -10.0% 1.11x
Dictionary3 483 442 -8.5% 1.09x
CaptureProp 4745 4344 -8.5% 1.09x
RangeAssignment 356 326 -8.4% 1.09x
CStringLongAscii 5021 4610 -8.2% 1.09x
ArrayAppendRepeatCol 1024 943 -7.9% 1.09x
ArrayPlusEqualFiveElementCollection 4659 4294 -7.8% 1.09x
Dictionary2OfObjects 3379 3115 -7.8% 1.08x
CharIteration_punctuatedJapanese_unicodeScalars 2863 2640 -7.8% 1.08x
MapReduceLazyCollection 13 12 -7.7% 1.08x
ArrayOfGenericRef 4059 3750 -7.6% 1.08x
CharIndexing_punctuatedJapanese_unicodeScalars_Backwards 2138 1977 -7.5% 1.08x
ArrayAppendOptionals 1227 1135 -7.5% 1.08x
Chars 428 396 -7.5% 1.08x
CharIndexing_punctuatedJapanese_unicodeScalars 2552 2365 -7.3% 1.08x
CharIndexing_russian_unicodeScalars 11571 10732 -7.3% 1.08x
MapReduceShort 2020 1874 -7.2% 1.08x
ArraySubscript 1512 1403 -7.2% 1.08x
ObjectiveCBridgeStubToNSDate 14597 13566 -7.1% 1.08x (?)
Dictionary 596 554 -7.0% 1.08x
CharIteration_tweet_unicodeScalars 30861 28714 -7.0% 1.07x
ObjectiveCBridgeFromNSSetAnyObject 65085 60610 -6.9% 1.07x
CharIndexing_punctuated_unicodeScalars_Backwards 2638 2457 -6.9% 1.07x
CharIteration_punctuated_unicodeScalars_Backwards 3826 3564 -6.8% 1.07x
ArrayAppendAscii 20074 18710 -6.8% 1.07x
Dictionary2 1907 1778 -6.8% 1.07x
DropFirstArray 30 28 -6.7% 1.07x
CharIteration_russian_unicodeScalars_Backwards 14108 13174 -6.6% 1.07x
ArrayAppendLazyMap 953 890 -6.6% 1.07x
ObjectiveCBridgeFromNSArrayAnyObject 23055 21536 -6.6% 1.07x
CStringLongNonAscii 2235 2088 -6.6% 1.07x
PrefixWhileSequence 339 317 -6.5% 1.07x
CharIteration_korean_unicodeScalars 15075 14100 -6.5% 1.07x
ArrayAppendLatin1 46288 43313 -6.4% 1.07x
ObjectiveCBridgeFromNSDictionaryAnyObject 122770 114981 -6.3% 1.07x
ObjectiveCBridgeFromNSSetAnyObjectForced 4296 4026 -6.3% 1.07x
ObjectiveCBridgeFromNSDictionaryAnyObjectToStringForced 102813 96403 -6.2% 1.07x
ObjectiveCBridgeFromNSSetAnyObjectToString 68144 63950 -6.2% 1.07x
LessSubstringSubstringGenericComparable 386 363 -6.0% 1.06x
DictionarySwapOfObjects 7370 6931 -6.0% 1.06x
CharIndexing_russian_unicodeScalars_Backwards 9421 8868 -5.9% 1.06x
CharIndexing_korean_unicodeScalars 13245 12468 -5.9% 1.06x
ArraySetElement 428 403 -5.8% 1.06x
Calculator 35 33 -5.7% 1.06x
CharIteration_punctuatedJapanese_unicodeScalars_Backwards 3014 2842 -5.7% 1.06x
NSDictionaryCastToSwift 5264 4964 -5.7% 1.06x
ArrayAppendStrings 15062 14204 -5.7% 1.06x
CharIndexing_punctuated_unicodeScalars 3119 2942 -5.7% 1.06x
DropFirstCountableRangeLazy 18 17 -5.6% 1.06x
DropFirstCountableRange 18 17 -5.6% 1.06x
PrefixCountableRangeLazy 18 17 -5.6% 1.06x
PrefixWhileCountableRangeLazy 18 17 -5.6% 1.06x
ObjectiveCBridgeFromNSString 993 938 -5.5% 1.06x
DictionaryOfObjects 2265 2140 -5.5% 1.06x
FrequenciesUsingReduce 7515 7105 -5.5% 1.06x
PrefixAnyCollection 55 52 -5.5% 1.06x
CharIteration_tweet_unicodeScalars_Backwards 33146 31341 -5.4% 1.06x
CharIndexing_korean_unicodeScalars_Backwards 10888 10306 -5.3% 1.06x
CharIteration_punctuated_unicodeScalars 3476 3295 -5.2% 1.05x
CharIndexing_chinese_unicodeScalars 10286 9751 -5.2% 1.05x
CharIndexing_tweet_unicodeScalars_Backwards 22093 20949 -5.2% 1.05x
ObjectiveCBridgeFromNSArrayAnyObjectToStringForced 33332 31623 -5.1% 1.05x
CharIndexing_japanese_unicodeScalars 16226 15395 -5.1% 1.05x
ArrayOfPOD 176 167 -5.1% 1.05x
ObjectAllocation 177 168 -5.1% 1.05x
CStringShortAscii 4802 4559 -5.1% 1.05x
StringWithCString 61768 58651 -5.0% 1.05x
CharacterLiteralsLarge 5924 5626 -5.0% 1.05x
NSStringConversion 359 341 -5.0% 1.05x (?)
MapReduce 360 342 -5.0% 1.05x
ArrayAppendSequence 906 861 -5.0% 1.05x
AnyHashableWithAClass 68554 65152 -5.0% 1.05x
CharIndexing_ascii_unicodeScalars 13522 12857 -4.9% 1.05x
CharIteration_japanese_unicodeScalars_Backwards 19928 18948 -4.9% 1.05x
ObjectiveCBridgeStubURLAppendPathRef 213641 203191 -4.9% 1.05x
ObjectiveCBridgeFromNSArrayAnyObjectToString 39333 37417 -4.9% 1.05x
SevenBoom 1520 1446 -4.9% 1.05x (?)
DropFirstAnySeqCRangeIterLazy 28031 26669 -4.9% 1.05x
FilterEvenUsingReduceInto 145 138 -4.8% 1.05x
ArrayOfGenericPOD 228 217 -4.8% 1.05x
DictionaryBridge 2662 2534 -4.8% 1.05x
CharIteration_russian_unicodeScalars 12741 12129 -4.8% 1.05x
FrequenciesUsingReduceInto 4110 3914 -4.8% 1.05x
No Changes (245)
TEST OLD NEW DELTA SPEEDUP
AngryPhonebook 2905 2782 -4.2% 1.04x
Array2D 1996 1912 -4.2% 1.04x (?)
ArrayAppend 1031 1018 -1.3% 1.01x
ArrayAppendArrayOfInt 573 565 -1.4% 1.01x
ArrayAppendFromGeneric 577 565 -2.1% 1.02x
ArrayAppendGenericStructs 1163 1137 -2.2% 1.02x
ArrayAppendReserved 825 800 -3.0% 1.03x
ArrayAppendToFromGeneric 588 564 -4.1% 1.04x
ArrayAppendToGeneric 575 566 -1.6% 1.02x
ArrayAppendUTF16 41609 39636 -4.7% 1.05x
ArrayInClass 63 65 +3.2% 0.97x
ArrayLiteral 0 0 +0.0% 1.00x
ArrayOfRef 3931 3769 -4.1% 1.04x
ArrayPlusEqualArrayOfInt 575 565 -1.7% 1.02x
ArrayPlusEqualSingleElementCollection 1052 1020 -3.0% 1.03x
ArrayPlusEqualThreeElements 1615 1553 -3.8% 1.04x
ArrayValueProp 5 5 +0.0% 1.00x
ArrayValueProp2 5 5 +0.0% 1.00x
ArrayValueProp3 5 5 +0.0% 1.00x
BitCount 140 136 -2.9% 1.03x
ByteSwap 111 107 -3.6% 1.04x
CharIndexing_ascii_unicodeScalars_Backwards 11061 10627 -3.9% 1.04x
CharIndexing_chinese_unicodeScalars_Backwards 8395 8066 -3.9% 1.04x
CharIndexing_japanese_unicodeScalars_Backwards 13213 12726 -3.7% 1.04x
CharIndexing_tweet_unicodeScalars 26441 25406 -3.9% 1.04x
CharIndexing_utf16_unicodeScalars 78664 76911 -2.2% 1.02x
CharIndexing_utf16_unicodeScalars_Backwards 73304 71389 -2.6% 1.03x
CharIteration_ascii_unicodeScalars 15180 14534 -4.3% 1.04x
CharIteration_ascii_unicodeScalars_Backwards 16444 15822 -3.8% 1.04x
CharIteration_chinese_unicodeScalars 11464 11019 -3.9% 1.04x
CharIteration_chinese_unicodeScalars_Backwards 12567 11981 -4.7% 1.05x
CharIteration_japanese_unicodeScalars 18180 17402 -4.3% 1.04x
CharIteration_utf16_unicodeScalars 76294 74266 -2.7% 1.03x
CharIteration_utf16_unicodeScalars_Backwards 112181 108891 -2.9% 1.03x
CharacterLiteralsSmall 391 381 -2.6% 1.03x
ClassArrayGetter 12 12 +0.0% 1.00x
DeadArray 179 171 -4.5% 1.05x
Dictionary3OfObjects 829 792 -4.5% 1.05x
DictionaryGroup 269 260 -3.3% 1.03x
DictionaryGroupOfObjects 1745 1695 -2.9% 1.03x (?)
DictionaryLiteral 1474 1405 -4.7% 1.05x
DictionaryRemove 2413 2370 -1.8% 1.02x
DictionaryRemoveOfObjects 22750 22663 -0.4% 1.00x
DictionarySwap 434 420 -3.2% 1.03x
DropFirstAnyCollection 54 52 -3.7% 1.04x
DropFirstAnyCollectionLazy 73112 71130 -2.7% 1.03x
DropFirstAnySeqCRangeIter 27926 26653 -4.6% 1.05x
DropFirstAnySeqCntRange 48 48 +0.0% 1.00x
DropFirstAnySeqCntRangeLazy 48 48 +0.0% 1.00x
DropFirstAnySequence 5891 5874 -0.3% 1.00x
DropFirstAnySequenceLazy 5901 5871 -0.5% 1.01x
DropFirstArrayLazy 30 29 -3.3% 1.03x
DropFirstSequence 1949 1906 -2.2% 1.02x
DropFirstSequenceLazy 1889 1836 -2.8% 1.03x
DropLastAnyCollection 20 20 +0.0% 1.00x
DropLastAnyCollectionLazy 23869 23776 -0.4% 1.00x (?)
DropLastAnySeqCRangeIter 4466 4451 -0.3% 1.00x (?)
DropLastAnySeqCRangeIterLazy 4508 4451 -1.3% 1.01x
DropLastAnySeqCntRange 15 15 +0.0% 1.00x
DropLastAnySeqCntRangeLazy 15 15 +0.0% 1.00x
DropLastAnySequence 6392 6361 -0.5% 1.00x
DropLastAnySequenceLazy 6350 6317 -0.5% 1.01x
DropLastArray 9 9 +0.0% 1.00x
DropLastArrayLazy 9 9 +0.0% 1.00x
DropLastCountableRange 6 6 +0.0% 1.00x
DropLastCountableRangeLazy 6 6 +0.0% 1.00x
DropLastSequence 575 580 +0.9% 0.99x
DropLastSequenceLazy 575 577 +0.3% 1.00x (?)
DropWhileAnyCollection 65 64 -1.5% 1.02x
DropWhileAnyCollectionLazy 85 84 -1.2% 1.01x
DropWhileAnySeqCRangeIter 21639 21596 -0.2% 1.00x (?)
DropWhileAnySeqCRangeIterLazy 85 85 +0.0% 1.00x
DropWhileAnySeqCntRange 60 60 +0.0% 1.00x
DropWhileAnySeqCntRangeLazy 85 85 +0.0% 1.00x
DropWhileAnySequence 6912 6869 -0.6% 1.01x
DropWhileAnySequenceLazy 1833 1825 -0.4% 1.00x
DropWhileArray 41 41 +0.0% 1.00x
DropWhileArrayLazy 78 77 -1.3% 1.01x
DropWhileCountableRange 18 18 +0.0% 1.00x
DropWhileCountableRangeLazy 67 66 -1.5% 1.02x
DropWhileSequence 1536 1532 -0.3% 1.00x
DropWhileSequenceLazy 44 44 +0.0% 1.00x
EqualStringSubstring 370 365 -1.4% 1.01x
EqualSubstringString 368 366 -0.5% 1.01x
EqualSubstringSubstring 369 364 -1.4% 1.01x
EqualSubstringSubstringGenericEquatable 370 367 -0.8% 1.01x
ErrorHandling 1966 1957 -0.5% 1.00x
ExclusivityGlobal 2 2 +0.0% 1.00x
ExclusivityInMatSet 17 17 +0.0% 1.00x
ExclusivityIndependent 2 2 +0.0% 1.00x
FilterEvenUsingReduce 1248 1215 -2.6% 1.03x
Hanoi 3463 3434 -0.8% 1.01x
HashTest 1617 1550 -4.1% 1.04x
Histogram 274 264 -3.6% 1.04x
Integrate 248 239 -3.6% 1.04x
IterateData 1400 1351 -3.5% 1.04x
Join 382 364 -4.7% 1.05x
LazilyFilteredArrays 64269 62940 -2.1% 1.02x (?)
LazilyFilteredRange 3555 3396 -4.5% 1.05x
LessSubstringSubstring 384 368 -4.2% 1.04x
LinkedList 6738 6596 -2.1% 1.02x
MapReduceAnyCollectionShort 2050 1975 -3.7% 1.04x
MapReduceClass 2965 2900 -2.2% 1.02x
MapReduceClassShort 4408 4294 -2.6% 1.03x (?)
MapReduceLazyCollectionShort 35 34 -2.9% 1.03x
MapReduceLazySequence 87 85 -2.3% 1.02x
MapReduceSequence 435 415 -4.6% 1.05x
MapReduceShortString 21 20 -4.8% 1.05x
MapReduceString 99 102 +3.0% 0.97x
Memset 226 222 -1.8% 1.02x
MonteCarloE 10086 9754 -3.3% 1.03x
MonteCarloPi 42316 41558 -1.8% 1.02x
NSError 293 280 -4.4% 1.05x (?)
NopDeinit 20881 20195 -3.3% 1.03x
ObjectiveCBridgeFromNSArrayAnyObjectForced 3405 3277 -3.8% 1.04x
ObjectiveCBridgeFromNSDictionaryAnyObjectForced 5118 4995 -2.4% 1.02x (?)
ObjectiveCBridgeFromNSDictionaryAnyObjectToString 93671 90100 -3.8% 1.04x
ObjectiveCBridgeFromNSSetAnyObjectToStringForced 68832 65795 -4.4% 1.05x (?)
ObjectiveCBridgeFromNSStringForced 1832 1771 -3.3% 1.03x
ObjectiveCBridgeStubDataAppend 3815 3668 -3.9% 1.04x
ObjectiveCBridgeStubDateAccess 173 171 -1.2% 1.01x
ObjectiveCBridgeStubDateMutation 258 257 -0.4% 1.00x
ObjectiveCBridgeStubFromArrayOfNSString 24356 23796 -2.3% 1.02x
ObjectiveCBridgeStubFromNSDate 3685 3606 -2.1% 1.02x
ObjectiveCBridgeStubFromNSDateRef 3895 3845 -1.3% 1.01x
ObjectiveCBridgeStubFromNSString 525 519 -1.1% 1.01x
ObjectiveCBridgeStubFromNSStringRef 143 138 -3.5% 1.04x
ObjectiveCBridgeStubNSDataAppend 2372 2326 -1.9% 1.02x (?)
ObjectiveCBridgeStubNSDateMutationRef 12309 12601 +2.4% 0.98x (?)
ObjectiveCBridgeStubNSDateRefAccess 304 298 -2.0% 1.02x (?)
ObjectiveCBridgeStubToArrayOfNSString 28815 27926 -3.1% 1.03x
ObjectiveCBridgeStubToNSDateRef 3132 3122 -0.3% 1.00x (?)
ObjectiveCBridgeStubToNSString 1419 1416 -0.2% 1.00x
ObjectiveCBridgeStubToNSStringRef 111 111 +0.0% 1.00x
ObjectiveCBridgeStubURLAppendPath 207123 201955 -2.5% 1.03x (?)
ObjectiveCBridgeToNSArray 29119 28164 -3.3% 1.03x (?)
ObjectiveCBridgeToNSDictionary 45342 44111 -2.7% 1.03x (?)
ObjectiveCBridgeToNSSet 39595 38422 -3.0% 1.03x (?)
ObjectiveCBridgeToNSString 1209 1204 -0.4% 1.00x
ObserverClosure 2217 2194 -1.0% 1.01x (?)
ObserverForwarderStruct 1104 1119 +1.4% 0.99x (?)
ObserverPartiallyAppliedMethod 3609 3582 -0.7% 1.01x
ObserverUnappliedMethod 2540 2555 +0.6% 0.99x (?)
OpenClose 3 3 +0.0% 1.00x
Phonebook 5826 5909 +1.4% 0.99x (?)
PolymorphicCalls 16 16 +0.0% 1.00x
PopFrontArray 1230 1212 -1.5% 1.01x
PopFrontArrayGeneric 1219 1213 -0.5% 1.00x
PopFrontUnsafePointer 5785 5756 -0.5% 1.01x
PrefixAnyCollectionLazy 72706 71474 -1.7% 1.02x
PrefixAnySeqCRangeIter 21021 21062 +0.2% 1.00x (?)
PrefixAnySeqCRangeIterLazy 21012 21079 +0.3% 1.00x (?)
PrefixAnySeqCntRange 48 48 +0.0% 1.00x
PrefixAnySeqCntRangeLazy 48 48 +0.0% 1.00x
PrefixAnySequence 5236 5110 -2.4% 1.02x
PrefixAnySequenceLazy 5255 5127 -2.4% 1.02x
PrefixArray 29 29 +0.0% 1.00x
PrefixArrayLazy 29 29 +0.0% 1.00x
PrefixCountableRange 17 17 +0.0% 1.00x
PrefixSequence 1437 1431 -0.4% 1.00x
PrefixSequenceLazy 1388 1379 -0.6% 1.01x
PrefixWhileAnyCollection 88 87 -1.1% 1.01x
PrefixWhileAnyCollectionLazy 64 62 -3.1% 1.03x
PrefixWhileAnySeqCRangeIter 12662 12454 -1.6% 1.02x (?)
PrefixWhileAnySeqCRangeIterLazy 63 62 -1.6% 1.02x
PrefixWhileAnySeqCntRange 84 83 -1.2% 1.01x
PrefixWhileAnySeqCntRangeLazy 63 62 -1.6% 1.02x
PrefixWhileAnySequence 13643 13554 -0.7% 1.01x
PrefixWhileAnySequenceLazy 1362 1357 -0.4% 1.00x
PrefixWhileArray 71 70 -1.4% 1.01x
PrefixWhileArrayLazy 35 35 +0.0% 1.00x
PrefixWhileCountableRange 28 28 +0.0% 1.00x
PrefixWhileSequenceLazy 26 26 +0.0% 1.00x
Prims 724 713 -1.5% 1.02x
PrimsSplit 747 740 -0.9% 1.01x
ProtocolDispatch 2709 2591 -4.4% 1.05x
ProtocolDispatch2 154 152 -1.3% 1.01x
RC4 150 149 -0.7% 1.01x
RGBHistogram 2090 2075 -0.7% 1.01x
RGBHistogramOfObjects 22268 22020 -1.1% 1.01x
RecursiveOwnedParameter 2195 2178 -0.8% 1.01x (?)
ReversedArray 43 42 -2.3% 1.02x
ReversedBidirectional 27831 27729 -0.4% 1.00x (?)
ReversedDictionary 95 94 -1.1% 1.01x
SetExclusiveOr 2713 2658 -2.0% 1.02x
SetExclusiveOr_OfObjects 7968 7818 -1.9% 1.02x
SetIntersect 249 245 -1.6% 1.02x (?)
SetIntersect_OfObjects 1646 1631 -0.9% 1.01x
SetIsSubsetOf 278 277 -0.4% 1.00x
SetIsSubsetOf_OfObjects 347 346 -0.3% 1.00x
SetUnion 2394 2379 -0.6% 1.01x (?)
SetUnion_OfObjects 6607 6549 -0.9% 1.01x
Sim2DArray 332 328 -1.2% 1.01x
SortLargeExistentials 8032 8053 +0.3% 1.00x (?)
SortLettersInPlace 1088 1077 -1.0% 1.01x
SortSortedStrings 840 832 -1.0% 1.01x
SortStrings 1603 1557 -2.9% 1.03x
SortStringsUnicode 7462 7383 -1.1% 1.01x
StackPromo 21738 21399 -1.6% 1.02x
StaticArray 5 5 +0.0% 1.00x
StrComplexWalk 1564 1556 -0.5% 1.01x
StrToInt 1765 1775 +0.6% 0.99x
StringAdder 3363 3321 -1.2% 1.01x
StringBuilder 939 937 -0.2% 1.00x
StringBuilderLong 878 875 -0.3% 1.00x (?)
StringEdits 130967 129844 -0.9% 1.01x (?)
StringEnumRawValueInitialization 791 768 -2.9% 1.03x
StringEqualPointerComparison 241 230 -4.6% 1.05x
StringFromLongWholeSubstring 172 173 +0.6% 0.99x (?)
StringFromLongWholeSubstringGeneric 21 21 +0.0% 1.00x
StringHasPrefix 8 8 +0.0% 1.00x
StringHasPrefixUnicode 13733 14388 +4.8% 0.95x
StringHasSuffix 8 8 +0.0% 1.00x
StringHasSuffixUnicode 58413 58030 -0.7% 1.01x
StringInterpolation 10358 10416 +0.6% 0.99x (?)
StringMatch 6719 6977 +3.8% 0.96x
StringUTF16Builder 1801 1789 -0.7% 1.01x (?)
StringWalk 1431 1416 -1.0% 1.01x
SubstringComparable 1448 1430 -1.2% 1.01x
SubstringEqualString 1295 1283 -0.9% 1.01x
SubstringEquatable 3395 3355 -1.2% 1.01x
SubstringFromLongString 10 10 +0.0% 1.00x
SubstringFromLongStringGeneric 59 58 -1.7% 1.02x
SuffixAnyCollection 20 20 +0.0% 1.00x
SuffixAnyCollectionLazy 23830 23760 -0.3% 1.00x (?)
SuffixAnySeqCRangeIter 4777 4760 -0.4% 1.00x
SuffixAnySeqCRangeIterLazy 4783 4766 -0.4% 1.00x
SuffixAnySeqCntRange 15 15 +0.0% 1.00x
SuffixAnySeqCntRangeLazy 15 15 +0.0% 1.00x
SuffixAnySequence 6369 6356 -0.2% 1.00x (?)
SuffixAnySequenceLazy 6396 6323 -1.1% 1.01x
SuffixArray 9 9 +0.0% 1.00x
SuffixArrayLazy 9 9 +0.0% 1.00x
SuffixCountableRange 6 6 +0.0% 1.00x
SuffixCountableRangeLazy 6 6 +0.0% 1.00x
SuffixSequence 4420 4416 -0.1% 1.00x
SuffixSequenceLazy 4423 4416 -0.2% 1.00x
SumUsingReduce 92 91 -1.1% 1.01x
SumUsingReduceInto 92 92 +0.0% 1.00x
SuperChars 77382 76652 -0.9% 1.01x (?)
TwoSum 897 886 -1.2% 1.01x
TypeFlood 0 0 +0.0% 1.00x
UTF8Decode 245 243 -0.8% 1.01x
Walsh 380 383 +0.8% 0.99x
XorLoop 329 327 -0.6% 1.01x

Unoptimized (Onone)

Regression (1)
TEST OLD NEW DELTA SPEEDUP
ArrayOfGenericPOD 1157 1221 +5.5% 0.95x
Improvement (13)
TEST OLD NEW DELTA SPEEDUP
DropWhileAnySeqCntRangeLazy 30069 27343 -9.1% 1.10x
DictionaryBridge 2791 2550 -8.6% 1.09x
SevenBoom 1667 1548 -7.1% 1.08x
TypeFlood 164 153 -6.7% 1.07x (?)
DeadArray 112803 105363 -6.6% 1.07x (?)
CharIteration_japanese_unicodeScalars_Backwards 385413 360627 -6.4% 1.07x
CharIteration_japanese_unicodeScalars 220652 207730 -5.9% 1.06x
DictionaryGroup 5468 5149 -5.8% 1.06x (?)
DropWhileCountableRangeLazy 27817 26215 -5.8% 1.06x
NSStringConversion 390 368 -5.6% 1.06x
Dictionary 3057 2891 -5.4% 1.06x
CharIteration_korean_unicodeScalars 177094 168255 -5.0% 1.05x
CStringLongAscii 4707 4480 -4.8% 1.05x
No Changes (316)
TEST OLD NEW DELTA SPEEDUP
AngryPhonebook 4734 4677 -1.2% 1.01x
AnyHashableWithAClass 80597 80227 -0.5% 1.00x
Array2D 603242 599818 -0.6% 1.01x
ArrayAppend 3833 3802 -0.8% 1.01x
ArrayAppendArrayOfInt 623 620 -0.5% 1.00x
ArrayAppendAscii 50987 51032 +0.1% 1.00x (?)
ArrayAppendFromGeneric 627 624 -0.5% 1.00x
ArrayAppendGenericStructs 1203 1197 -0.5% 1.01x
ArrayAppendLatin1 71957 72883 +1.3% 0.99x
ArrayAppendLazyMap 216930 215851 -0.5% 1.00x
ArrayAppendOptionals 1207 1198 -0.7% 1.01x
ArrayAppendRepeatCol 221029 216702 -2.0% 1.02x
ArrayAppendReserved 3613 3570 -1.2% 1.01x
ArrayAppendSequence 73617 72132 -2.0% 1.02x
ArrayAppendStrings 14389 14326 -0.4% 1.00x
ArrayAppendToFromGeneric 626 622 -0.6% 1.01x
ArrayAppendToGeneric 627 624 -0.5% 1.00x
ArrayAppendUTF16 71414 73739 +3.3% 0.97x
ArrayInClass 6340 6343 +0.0% 1.00x (?)
ArrayLiteral 1664 1651 -0.8% 1.01x
ArrayOfGenericRef 9612 9485 -1.3% 1.01x (?)
ArrayOfPOD 678 674 -0.6% 1.01x
ArrayOfRef 8835 8774 -0.7% 1.01x
ArrayPlusEqualArrayOfInt 624 620 -0.6% 1.01x
ArrayPlusEqualFiveElementCollection 295089 291126 -1.3% 1.01x (?)
ArrayPlusEqualSingleElementCollection 291029 289110 -0.7% 1.01x
ArrayPlusEqualThreeElements 10710 10603 -1.0% 1.01x (?)
ArraySetElement 4369 4350 -0.4% 1.00x
ArraySubscript 82523 82226 -0.4% 1.00x (?)
ArrayValueProp 3384 3353 -0.9% 1.01x (?)
ArrayValueProp2 18078 17958 -0.7% 1.01x
ArrayValueProp3 3829 3805 -0.6% 1.01x
ArrayValueProp4 3815 3788 -0.7% 1.01x
BitCount 1611 1596 -0.9% 1.01x
ByteSwap 3807 3786 -0.6% 1.01x (?)
CStringLongNonAscii 2279 2246 -1.4% 1.01x
CStringShortAscii 8341 8231 -1.3% 1.01x (?)
Calculator 1107 1095 -1.1% 1.01x
CaptureProp 119679 118333 -1.1% 1.01x (?)
CharIndexing_ascii_unicodeScalars 464780 450079 -3.2% 1.03x
CharIndexing_ascii_unicodeScalars_Backwards 501823 494771 -1.4% 1.01x (?)
CharIndexing_chinese_unicodeScalars 346571 340018 -1.9% 1.02x (?)
CharIndexing_chinese_unicodeScalars_Backwards 380490 377487 -0.8% 1.01x
CharIndexing_japanese_unicodeScalars 556230 542328 -2.5% 1.03x
CharIndexing_japanese_unicodeScalars_Backwards 597856 591584 -1.0% 1.01x (?)
CharIndexing_korean_unicodeScalars 447399 437372 -2.2% 1.02x (?)
CharIndexing_korean_unicodeScalars_Backwards 482817 475214 -1.6% 1.02x
CharIndexing_punctuatedJapanese_unicodeScalars 82551 80430 -2.6% 1.03x
CharIndexing_punctuatedJapanese_unicodeScalars_Backwards 86697 84980 -2.0% 1.02x
CharIndexing_punctuated_unicodeScalars 102090 98315 -3.7% 1.04x
CharIndexing_punctuated_unicodeScalars_Backwards 112777 107888 -4.3% 1.05x
CharIndexing_russian_unicodeScalars 389515 375724 -3.5% 1.04x
CharIndexing_russian_unicodeScalars_Backwards 422498 410377 -2.9% 1.03x
CharIndexing_tweet_unicodeScalars 915782 889423 -2.9% 1.03x (?)
CharIndexing_tweet_unicodeScalars_Backwards 1000115 970808 -2.9% 1.03x (?)
CharIndexing_utf16_unicodeScalars 502160 497896 -0.8% 1.01x
CharIndexing_utf16_unicodeScalars_Backwards 549505 546853 -0.5% 1.00x (?)
CharIteration_ascii_unicodeScalars 175093 173772 -0.8% 1.01x
CharIteration_ascii_unicodeScalars_Backwards 303354 299155 -1.4% 1.01x
CharIteration_chinese_unicodeScalars 133577 131457 -1.6% 1.02x
CharIteration_chinese_unicodeScalars_Backwards 232224 229484 -1.2% 1.01x (?)
CharIteration_korean_unicodeScalars_Backwards 305537 294003 -3.8% 1.04x
CharIteration_punctuatedJapanese_unicodeScalars 31353 30897 -1.5% 1.01x
CharIteration_punctuatedJapanese_unicodeScalars_Backwards 53893 52820 -2.0% 1.02x (?)
CharIteration_punctuated_unicodeScalars 39413 38763 -1.6% 1.02x
CharIteration_punctuated_unicodeScalars_Backwards 67786 66402 -2.0% 1.02x
CharIteration_russian_unicodeScalars 145735 144780 -0.7% 1.01x
CharIteration_russian_unicodeScalars_Backwards 258226 250239 -3.1% 1.03x
CharIteration_tweet_unicodeScalars 350387 343172 -2.1% 1.02x
CharIteration_tweet_unicodeScalars_Backwards 602459 594533 -1.3% 1.01x (?)
CharIteration_utf16_unicodeScalars 192936 191399 -0.8% 1.01x
CharIteration_utf16_unicodeScalars_Backwards 378286 375304 -0.8% 1.01x
CharacterLiteralsLarge 5895 5822 -1.2% 1.01x (?)
CharacterLiteralsSmall 661 649 -1.8% 1.02x
Chars 47657 47293 -0.8% 1.01x
ClassArrayGetter 974 968 -0.6% 1.01x
Dictionary2 3387 3289 -2.9% 1.03x
Dictionary2OfObjects 5789 5696 -1.6% 1.02x
Dictionary3 1262 1258 -0.3% 1.00x
Dictionary3OfObjects 2243 2177 -2.9% 1.03x
DictionaryGroupOfObjects 7922 7783 -1.8% 1.02x
DictionaryLiteral 8386 8121 -3.2% 1.03x
DictionaryOfObjects 6391 6307 -1.3% 1.01x
DictionaryRemove 21392 20790 -2.8% 1.03x
DictionaryRemoveOfObjects 58040 56108 -3.3% 1.03x
DictionarySwap 5209 5027 -3.5% 1.04x
DictionarySwapOfObjects 22256 21877 -1.7% 1.02x
DropFirstAnyCollection 19680 19237 -2.3% 1.02x (?)
DropFirstAnyCollectionLazy 135687 135274 -0.3% 1.00x (?)
DropFirstAnySeqCRangeIter 29574 29060 -1.7% 1.02x
DropFirstAnySeqCRangeIterLazy 29597 29106 -1.7% 1.02x
DropFirstAnySeqCntRange 19906 19411 -2.5% 1.03x
DropFirstAnySeqCntRangeLazy 19468 19075 -2.0% 1.02x
DropFirstAnySequence 15033 14874 -1.1% 1.01x
DropFirstAnySequenceLazy 15040 14856 -1.2% 1.01x
DropFirstArray 5891 5850 -0.7% 1.01x (?)
DropFirstArrayLazy 43074 42469 -1.4% 1.01x
DropFirstCountableRange 328 322 -1.8% 1.02x
DropFirstCountableRangeLazy 38954 37687 -3.3% 1.03x
DropFirstSequence 14056 13805 -1.8% 1.02x
DropFirstSequenceLazy 13949 13846 -0.7% 1.01x
DropLastAnyCollection 6501 6413 -1.4% 1.01x (?)
DropLastAnyCollectionLazy 45390 45081 -0.7% 1.01x (?)
DropLastAnySeqCRangeIter 45328 44738 -1.3% 1.01x (?)
DropLastAnySeqCRangeIterLazy 44714 44298 -0.9% 1.01x
DropLastAnySeqCntRange 6499 6407 -1.4% 1.01x
DropLastAnySeqCntRangeLazy 6520 6403 -1.8% 1.02x (?)
DropLastAnySequence 32112 31752 -1.1% 1.01x
DropLastAnySequenceLazy 32121 31774 -1.1% 1.01x
DropLastArray 1971 1956 -0.8% 1.01x
DropLastArrayLazy 14305 14188 -0.8% 1.01x (?)
DropLastCountableRange 113 111 -1.8% 1.02x
DropLastCountableRangeLazy 12830 12549 -2.2% 1.02x
DropLastSequence 31703 31385 -1.0% 1.01x
DropLastSequenceLazy 31705 31377 -1.0% 1.01x
DropWhileAnyCollection 25304 25026 -1.1% 1.01x
DropWhileAnyCollectionLazy 27682 27120 -2.0% 1.02x
DropWhileAnySeqCRangeIter 31634 31220 -1.3% 1.01x
DropWhileAnySeqCRangeIterLazy 27662 27157 -1.8% 1.02x (?)
DropWhileAnySeqCntRange 26226 25293 -3.6% 1.04x
DropWhileAnySequence 17950 17666 -1.6% 1.02x (?)
DropWhileAnySequenceLazy 14605 14209 -2.7% 1.03x (?)
DropWhileArray 9664 9439 -2.3% 1.02x
DropWhileArrayLazy 16860 16474 -2.3% 1.02x
DropWhileCountableRange 6371 6095 -4.3% 1.05x
DropWhileSequence 17017 16626 -2.3% 1.02x
DropWhileSequenceLazy 13201 12956 -1.9% 1.02x
EqualStringSubstring 659 640 -2.9% 1.03x
EqualSubstringString 653 638 -2.3% 1.02x
EqualSubstringSubstring 773 763 -1.3% 1.01x
EqualSubstringSubstringGenericEquatable 411 401 -2.4% 1.02x
ErrorHandling 6490 6518 +0.4% 1.00x (?)
ExclusivityGlobal 167 165 -1.2% 1.01x
ExclusivityInMatSet 305 297 -2.6% 1.03x
ExclusivityIndependent 135 133 -1.5% 1.02x
FilterEvenUsingReduce 4152 4129 -0.6% 1.01x (?)
FilterEvenUsingReduceInto 2511 2488 -0.9% 1.01x (?)
FrequenciesUsingReduce 15401 15053 -2.3% 1.02x
FrequenciesUsingReduceInto 8535 8416 -1.4% 1.01x (?)
Hanoi 18331 18120 -1.2% 1.01x
HashTest 16359 16098 -1.6% 1.02x
Histogram 8540 8598 +0.7% 0.99x (?)
Integrate 675 643 -4.7% 1.05x
IterateData 12747 12650 -0.8% 1.01x
Join 1436 1427 -0.6% 1.01x
LazilyFilteredArrays 1662484 1650556 -0.7% 1.01x (?)
LazilyFilteredRange 675273 668292 -1.0% 1.01x
LessSubstringSubstring 770 763 -0.9% 1.01x
LessSubstringSubstringGenericComparable 423 417 -1.4% 1.01x
LinkedList 38436 38202 -0.6% 1.01x
MapReduce 37980 36677 -3.4% 1.04x (?)
MapReduceAnyCollection 37598 36444 -3.1% 1.03x (?)
MapReduceAnyCollectionShort 49333 48739 -1.2% 1.01x
MapReduceClass 41825 41102 -1.7% 1.02x (?)
MapReduceClassShort 52065 51945 -0.2% 1.00x (?)
MapReduceLazyCollection 33768 32760 -3.0% 1.03x
MapReduceLazyCollectionShort 43217 43653 +1.0% 0.99x (?)
MapReduceLazySequence 28196 28261 +0.2% 1.00x (?)
MapReduceSequence 42613 42774 +0.4% 1.00x (?)
MapReduceShort 48900 48857 -0.1% 1.00x (?)
MapReduceShortString 273 269 -1.5% 1.01x (?)
MapReduceString 2575 2579 +0.2% 1.00x (?)
Memset 42106 42097 -0.0% 1.00x (?)
MonteCarloE 893786 897444 +0.4% 1.00x (?)
MonteCarloPi 3850323 3856518 +0.2% 1.00x (?)
NSDictionaryCastToSwift 6077 6131 +0.9% 0.99x
NSError 711 688 -3.2% 1.03x (?)
NopDeinit 161829 163332 +0.9% 0.99x
ObjectAllocation 1431 1387 -3.1% 1.03x (?)
ObjectiveCBridgeFromNSArrayAnyObject 23700 23614 -0.4% 1.00x (?)
ObjectiveCBridgeFromNSArrayAnyObjectForced 6498 6450 -0.7% 1.01x (?)
ObjectiveCBridgeFromNSArrayAnyObjectToString 38560 38368 -0.5% 1.01x (?)
ObjectiveCBridgeFromNSArrayAnyObjectToStringForced 32731 32805 +0.2% 1.00x (?)
ObjectiveCBridgeFromNSDictionaryAnyObject 117026 117135 +0.1% 1.00x (?)
ObjectiveCBridgeFromNSDictionaryAnyObjectForced 7062 7379 +4.5% 0.96x (?)
ObjectiveCBridgeFromNSDictionaryAnyObjectToString 92786 93472 +0.7% 0.99x (?)
ObjectiveCBridgeFromNSDictionaryAnyObjectToStringForced 96904 101565 +4.8% 0.95x
ObjectiveCBridgeFromNSSetAnyObject 65302 65121 -0.3% 1.00x (?)
ObjectiveCBridgeFromNSSetAnyObjectForced 6993 7077 +1.2% 0.99x (?)
ObjectiveCBridgeFromNSSetAnyObjectToString 68731 69721 +1.4% 0.99x (?)
ObjectiveCBridgeFromNSSetAnyObjectToStringForced 69100 69452 +0.5% 0.99x (?)
ObjectiveCBridgeFromNSString 3738 3743 +0.1% 1.00x (?)
ObjectiveCBridgeFromNSStringForced 2094 2133 +1.9% 0.98x (?)
ObjectiveCBridgeStubDataAppend 4123 4263 +3.4% 0.97x (?)
ObjectiveCBridgeStubDateAccess 979 968 -1.1% 1.01x
ObjectiveCBridgeStubDateMutation 526 529 +0.6% 0.99x (?)
ObjectiveCBridgeStubFromArrayOfNSString 23697 23819 +0.5% 0.99x (?)
ObjectiveCBridgeStubFromNSDate 3832 3832 +0.0% 1.00x
ObjectiveCBridgeStubFromNSDateRef 4235 4225 -0.2% 1.00x (?)
ObjectiveCBridgeStubFromNSString 539 551 +2.2% 0.98x (?)
ObjectiveCBridgeStubFromNSStringRef 172 171 -0.6% 1.01x (?)
ObjectiveCBridgeStubNSDataAppend 2838 2750 -3.1% 1.03x (?)
ObjectiveCBridgeStubNSDateMutationRef 14349 14702 +2.5% 0.98x (?)
ObjectiveCBridgeStubNSDateRefAccess 1152 1145 -0.6% 1.01x (?)
ObjectiveCBridgeStubToArrayOfNSString 27883 27586 -1.1% 1.01x (?)
ObjectiveCBridgeStubToNSDate 14720 14134 -4.0% 1.04x
ObjectiveCBridgeStubToNSDateRef 3143 3160 +0.5% 0.99x (?)
ObjectiveCBridgeStubToNSString 1464 1466 +0.1% 1.00x (?)
ObjectiveCBridgeStubToNSStringRef 139 139 +0.0% 1.00x
ObjectiveCBridgeStubURLAppendPath 207012 207668 +0.3% 1.00x (?)
ObjectiveCBridgeStubURLAppendPathRef 205892 207721 +0.9% 0.99x (?)
ObjectiveCBridgeToNSArray 27714 27834 +0.4% 1.00x (?)
ObjectiveCBridgeToNSDictionary 45327 45372 +0.1% 1.00x (?)
ObjectiveCBridgeToNSSet 38720 38428 -0.8% 1.01x (?)
ObjectiveCBridgeToNSString 1227 1231 +0.3% 1.00x (?)
ObserverClosure 6557 6552 -0.1% 1.00x (?)
ObserverForwarderStruct 4801 4805 +0.1% 1.00x (?)
ObserverPartiallyAppliedMethod 7948 7928 -0.3% 1.00x (?)
ObserverUnappliedMethod 8267 8363 +1.2% 0.99x (?)
OpenClose 373 373 +0.0% 1.00x
Phonebook 20535 20334 -1.0% 1.01x
PolymorphicCalls 4860 4868 +0.2% 1.00x (?)
PopFrontArray 9697 9716 +0.2% 1.00x
PopFrontArrayGeneric 8760 8761 +0.0% 1.00x (?)
PopFrontUnsafePointer 7133 7120 -0.2% 1.00x
PrefixAnyCollection 19111 19202 +0.5% 1.00x
PrefixAnyCollectionLazy 133722 134915 +0.9% 0.99x
PrefixAnySeqCRangeIter 23189 23242 +0.2% 1.00x (?)
PrefixAnySeqCRangeIterLazy 23420 23470 +0.2% 1.00x (?)
PrefixAnySeqCntRange 19401 19438 +0.2% 1.00x
PrefixAnySeqCntRangeLazy 19135 19062 -0.4% 1.00x (?)
PrefixAnySequence 12164 11997 -1.4% 1.01x
PrefixAnySequenceLazy 12152 12077 -0.6% 1.01x
PrefixArray 6049 6048 -0.0% 1.00x (?)
PrefixArrayLazy 42491 42533 +0.1% 1.00x (?)
PrefixCountableRange 322 322 +0.0% 1.00x
PrefixCountableRangeLazy 37559 37666 +0.3% 1.00x (?)
PrefixSequence 11157 11110 -0.4% 1.00x (?)
PrefixSequenceLazy 11120 11121 +0.0% 1.00x (?)
PrefixWhileAnyCollection 36680 36720 +0.1% 1.00x (?)
PrefixWhileAnyCollectionLazy 22314 22389 +0.3% 1.00x
PrefixWhileAnySeqCRangeIter 40351 40501 +0.4% 1.00x (?)
PrefixWhileAnySeqCRangeIterLazy 22567 22268 -1.3% 1.01x (?)
PrefixWhileAnySeqCntRange 36899 36830 -0.2% 1.00x
PrefixWhileAnySeqCntRangeLazy 22446 22456 +0.0% 1.00x (?)
PrefixWhileAnySequence 30835 30913 +0.3% 1.00x (?)
PrefixWhileAnySequenceLazy 12571 12573 +0.0% 1.00x (?)
PrefixWhileArray 16319 16361 +0.3% 1.00x (?)
PrefixWhileArrayLazy 14384 14388 +0.0% 1.00x (?)
PrefixWhileCountableRange 17762 17600 -0.9% 1.01x
PrefixWhileCountableRangeLazy 21598 21652 +0.3% 1.00x
PrefixWhileSequence 29791 29943 +0.5% 0.99x
PrefixWhileSequenceLazy 11718 11620 -0.8% 1.01x (?)
Prims 10098 10006 -0.9% 1.01x (?)
PrimsSplit 10164 10173 +0.1% 1.00x (?)
ProtocolDispatch 7203 7183 -0.3% 1.00x
ProtocolDispatch2 474 474 +0.0% 1.00x
RC4 17725 17623 -0.6% 1.01x
RGBHistogram 32469 32706 +0.7% 0.99x (?)
RGBHistogramOfObjects 100103 100200 +0.1% 1.00x (?)
RangeAssignment 5347 5413 +1.2% 0.99x
RecursiveOwnedParameter 10182 10176 -0.1% 1.00x (?)
ReversedArray 41051 41138 +0.2% 1.00x
ReversedBidirectional 70924 71301 +0.5% 0.99x (?)
ReversedDictionary 27253 27407 +0.6% 0.99x
SetExclusiveOr 21714 21702 -0.1% 1.00x (?)
SetExclusiveOr_OfObjects 45871 45550 -0.7% 1.01x
SetIntersect 11835 11863 +0.2% 1.00x (?)
SetIntersect_OfObjects 11990 11890 -0.8% 1.01x
SetIsSubsetOf 1801 1795 -0.3% 1.00x
SetIsSubsetOf_OfObjects 1463 1465 +0.1% 1.00x (?)
SetUnion 11318 11315 -0.0% 1.00x (?)
SetUnion_OfObjects 32095 32128 +0.1% 1.00x (?)
Sim2DArray 41631 41506 -0.3% 1.00x (?)
SortLargeExistentials 16488 16404 -0.5% 1.01x
SortLettersInPlace 2896 2884 -0.4% 1.00x (?)
SortSortedStrings 1356 1349 -0.5% 1.01x (?)
SortStrings 2350 2340 -0.4% 1.00x
SortStringsUnicode 8474 8337 -1.6% 1.02x
StackPromo 96440 97628 +1.2% 0.99x (?)
StaticArray 4333 4328 -0.1% 1.00x
StrComplexWalk 6601 6589 -0.2% 1.00x
StrToInt 120072 119326 -0.6% 1.01x
StringAdder 3564 3575 +0.3% 1.00x (?)
StringBuilder 6737 6713 -0.4% 1.00x (?)
StringBuilderLong 1037 1034 -0.3% 1.00x (?)
StringEdits 362943 357702 -1.4% 1.01x
StringEnumRawValueInitialization 12189 12043 -1.2% 1.01x
StringEqualPointerComparison 2376 2398 +0.9% 0.99x (?)
StringFromLongWholeSubstring 197 199 +1.0% 0.99x
StringFromLongWholeSubstringGeneric 203 205 +1.0% 0.99x
StringHasPrefix 1681 1631 -3.0% 1.03x
StringHasPrefixUnicode 15839 16111 +1.7% 0.98x
StringHasSuffix 1751 1739 -0.7% 1.01x
StringHasSuffixUnicode 60190 60228 +0.1% 1.00x (?)
StringInterpolation 12866 13138 +2.1% 0.98x (?)
StringMatch 32361 32522 +0.5% 1.00x (?)
StringUTF16Builder 7471 7482 +0.1% 1.00x (?)
StringWalk 11162 11239 +0.7% 0.99x
StringWithCString 55025 53793 -2.2% 1.02x
SubstringComparable 4030 4018 -0.3% 1.00x
SubstringEqualString 6290 6321 +0.5% 1.00x
SubstringEquatable 8082 8085 +0.0% 1.00x (?)
SubstringFromLongString 16 16 +0.0% 1.00x
SubstringFromLongStringGeneric 107 106 -0.9% 1.01x
SuffixAnyCollection 6395 6425 +0.5% 1.00x
SuffixAnyCollectionLazy 45105 44818 -0.6% 1.01x (?)
SuffixAnySeqCRangeIter 42012 42059 +0.1% 1.00x (?)
SuffixAnySeqCRangeIterLazy 41680 41780 +0.2% 1.00x
SuffixAnySeqCntRange 6430 6421 -0.1% 1.00x (?)
SuffixAnySeqCntRangeLazy 6397 6397 +0.0% 1.00x
SuffixAnySequence 29426 29452 +0.1% 1.00x
SuffixAnySequenceLazy 29401 29475 +0.3% 1.00x
SuffixArray 2023 2023 +0.0% 1.00x
SuffixArrayLazy 14160 14186 +0.2% 1.00x (?)
SuffixCountableRange 112 112 +0.0% 1.00x
SuffixCountableRangeLazy 12515 12555 +0.3% 1.00x (?)
SuffixSequence 29057 29091 +0.1% 1.00x (?)
SuffixSequenceLazy 29031 29093 +0.2% 1.00x
SumUsingReduce 217871 218127 +0.1% 1.00x (?)
SumUsingReduceInto 212816 212885 +0.0% 1.00x (?)
SuperChars 180999 181997 +0.6% 0.99x (?)
TwoSum 4056 4045 -0.3% 1.00x (?)
UTF8Decode 36414 36612 +0.5% 0.99x
Walsh 11207 11380 +1.5% 0.98x
XorLoop 22673 22673 +0.0% 1.00x
Hardware Overview
  Model Name: Mac mini
  Model Identifier: Macmini7,1
  Processor Name: Intel Core i7
  Processor Speed: 3 GHz
  Number of Processors: 1
  Total Number of Cores: 2
  L2 Cache (per Core): 256 KB
  L3 Cache: 4 MB
  Memory: 16 GB

@airspeedswift
Copy link
Member Author

@DougGregor I'm kind of ambivalent. I can't think of any good reason for that constraint ever to not be fulfilled, but also can't think of a use case where it would be useful. I could be missing one tho.

@airspeedswift airspeedswift merged commit e3a4ca2 into swiftlang:master Oct 5, 2017
@airspeedswift airspeedswift deleted the default-indices branch October 5, 2017 17:46
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.

3 participants