Skip to content

[stdlib] Eradicate IndexDistance associated type #12641

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 7 commits into from
Dec 8, 2017

Conversation

airspeedswift
Copy link
Member

@airspeedswift airspeedswift commented Oct 26, 2017

Implementation of [SE-0191]](https://github.com/apple/swift-evolution/blob/master/proposals/0191-eliminate-indexdistance.md).

Replaces all references to IndexDistance with Int, and converts AnyCollection (the one type that used Int64).

@airspeedswift
Copy link
Member Author

@swift-ci please test source compatibility

@airspeedswift
Copy link
Member Author

@swift-ci please smoke test compiler performance

@DougGregor
Copy link
Member

Eagerly awaiting these results :)

@airspeedswift
Copy link
Member Author

gah, the compatibility suite requires the tests to all build before it runs...

@swift-ci
Copy link
Contributor

Build comment file:

Compilation-performance test failed

@airspeedswift
Copy link
Member Author

@swift-ci please smoke test compiler performance

@airspeedswift
Copy link
Member Author

@swift-ci please test source compatibility

@swift-ci
Copy link
Contributor

Build comment file:

Compilation-performance test failed

@airspeedswift
Copy link
Member Author

OK finally fixed StdLibUnitTests, let's see if this works.

@airspeedswift
Copy link
Member Author

@swift-ci please test source compatibility

@airspeedswift
Copy link
Member Author

@swift-ci please smoke test compiler performance

@airspeedswift
Copy link
Member Author

Where by fixed, I mean they compile... they still fail.

@shahmishal
Copy link
Member

@swift-ci please test source compatibility

@shahmishal
Copy link
Member

@swift-ci please smoke test compiler performance

@swift-ci
Copy link
Contributor

Build comment file:

Compilation-performance test failed

@airspeedswift
Copy link
Member Author

Please test with following pull request:
swiftlang/swift-package-manager#1382

@swift-ci please smoke test compiler performance

@airspeedswift
Copy link
Member Author

Please test with following pull request:
swiftlang/swift-package-manager#1382

@swift-ci please test source compatibility

@swift-ci
Copy link
Contributor

Build comment file:

Compilation-performance test failed

@airspeedswift
Copy link
Member Author

OK migrated some SwiftPM stuff off of IndexDistance == Int, let's try again.

@airspeedswift
Copy link
Member Author

@swift-ci please test source compatibility

@airspeedswift
Copy link
Member Author

@swift-ci please smoke test compiler performance

@airspeedswift
Copy link
Member Author

@swift-ci please test compiler performance

1 similar comment
@airspeedswift
Copy link
Member Author

@swift-ci please test compiler performance

@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

Build comment file:

Summary for master smoketest

Regressions found (see below)

Debug

PR vs. head (debug)

PR vs. head, changed counters (debug)

Regressed (21)
Regressed in Alamofire (3)
name old new delta delta_pct
Sema.NumLazyIterableDeclContexts 19075 19126 51 0.27% ⛔
Sema.NumLazyGenericEnvironments 30126 30191 65 0.22% ⛔
Sema.NumDeclsDeserialized 193123 193304 181 0.09% ⛔
Regressed in Kingfisher (5)
name old new delta delta_pct
Sema.NumDeclsDeserialized 365892 366732 840 0.23% ⛔
Sema.NumLazyIterableDeclContexts 48965 49073 108 0.22% ⛔
Sema.NumLazyGenericEnvironments 58932 59044 112 0.19% ⛔
Sema.NumGenericSignatureBuilders 9628 9642 14 0.15% ⛔
Sema.NumLazyGenericEnvironmentsLoaded 5290 5292 2 0.04% ⛔
Regressed in ReactiveCocoa (6)
name old new delta delta_pct
Sema.NumConformancesDeserialized 47068 49148 2080 4.42% ⛔
Sema.NumDeclsDeserialized 503161 509001 5840 1.16% ⛔
Sema.NumLazyGenericEnvironments 95602 96342 740 0.77% ⛔
Sema.NumTypesDeserialized 435026 438124 3098 0.71% ⛔
Sema.NumLazyIterableDeclContexts 96508 96970 462 0.48% ⛔
Sema.NumGenericSignatureBuilders 21662 21750 88 0.41% ⛔
Regressed in ReactiveSwift (1)
name old new delta delta_pct
Sema.NumLazyIterableDeclContexts 28176 28362 186 0.66% ⛔
Regressed in Result (6)
name old new delta delta_pct
Sema.NumConformancesDeserialized 1992 2130 138 6.93% ⛔
Sema.NumLazyIterableDeclContexts 2912 2966 54 1.85% ⛔
Sema.NumDeclsDeserialized 26665 26905 240 0.9% ⛔
Sema.NumGenericSignatureBuilders 468 472 4 0.85% ⛔
Sema.NumLazyGenericEnvironments 4868 4896 28 0.58% ⛔
Sema.NumTypesDeserialized 22340 22442 102 0.46% ⛔
Improved (21)
Improved in Alamofire (5)
name old new delta delta_pct
IRModule.NumIRGlobals 4701 4700 -1 -0.02% ✅
Sema.NumGenericSignatureBuilders 3303 3302 -1 -0.03% ✅
Sema.NumTypesDeserialized 155304 155078 -226 -0.15% ✅
AST.NumUsedConformances 432 430 -2 -0.46% ✅
Sema.NumConformancesDeserialized 34078 33403 -675 -1.98% ✅
Improved in Kingfisher (6)
name old new delta delta_pct
LLVM.NumLLVMBytesOutput 4945460 4944580 -880 -0.02% ✅
IRModule.NumIRValueSymbols 14452 14446 -6 -0.04% ✅
Sema.NumTypesDeserialized 297314 297163 -151 -0.05% ✅
IRModule.NumIRGlobals 9063 9057 -6 -0.07% ✅
AST.NumUsedConformances 850 840 -10 -1.18% ✅
Sema.NumConformancesDeserialized 64976 63260 -1716 -2.64% ✅
Improved in ReactiveSwift (10)
name old new delta delta_pct
IRModule.NumIRFunctions 10541 10539 -2 -0.02% ✅
IRModule.NumIRValueSymbols 19287 19283 -4 -0.02% ✅
IRModule.NumIRGlobals 12434 12430 -4 -0.03% ✅
Sema.NumLazyGenericEnvironmentsLoaded 5932 5928 -4 -0.07% ✅
Sema.NumGenericSignatureBuilders 8826 8812 -14 -0.16% ✅
Sema.NumLazyGenericEnvironments 47338 47258 -80 -0.17% ✅
AST.NumUsedConformances 724 722 -2 -0.28% ✅
Sema.NumDeclsDeserialized 268577 267541 -1036 -0.39% ✅
Sema.NumTypesDeserialized 224926 223573 -1353 -0.6% ✅
Sema.NumConformancesDeserialized 46802 42742 -4060 -8.67% ✅
Unchanged (abs(delta) < 0.01% or 100000usec) (73)
Unchanged (abs(delta) < 0.01% or 100000usec) in Alamofire (15)
name old new delta delta_pct
AST.NumImportedExternalDefinitions 5727 5727 0 0.0%
AST.NumLoadedModules 522 522 0 0.0%
AST.NumTotalClangImportedEntities 18049 18049 0 0.0%
IRModule.NumIRBasicBlocks 13594 13594 0 0.0%
IRModule.NumIRFunctions 5110 5110 0 0.0%
IRModule.NumIRInsts 132791 132791 0 0.0%
LLVM.NumLLVMBytesOutput 3020476 3020408 -68 -0.0%
SILModule.NumSILGenFunctions 2458 2458 0 0.0%
SILModule.NumSILOptFunctions 4648 4648 0 0.0%
Sema.NumConstraintScopes 39569 39569 0 0.0%
Sema.NumDeclsValidated 7149 7149 0 0.0%
Sema.NumFunctionsTypechecked 4043 4043 0 0.0%
Sema.NumLazyGenericEnvironmentsLoaded 2495 2495 0 0.0%
Sema.NumTypesValidated 6298 6298 0 0.0%
IRModule.NumIRValueSymbols 8430 8429 -1 -0.01%
Unchanged (abs(delta) < 0.01% or 100000usec) in Kingfisher (12)
name old new delta delta_pct
AST.NumImportedExternalDefinitions 20024 20024 0 0.0%
AST.NumLoadedModules 1323 1323 0 0.0%
AST.NumTotalClangImportedEntities 56372 56372 0 0.0%
IRModule.NumIRBasicBlocks 17779 17779 0 0.0%
IRModule.NumIRFunctions 7752 7752 0 0.0%
IRModule.NumIRInsts 184365 184365 0 0.0%
SILModule.NumSILGenFunctions 4178 4178 0 0.0%
SILModule.NumSILOptFunctions 8443 8443 0 0.0%
Sema.NumConstraintScopes 312092 312094 2 0.0%
Sema.NumDeclsValidated 9338 9338 0 0.0%
Sema.NumFunctionsTypechecked 12594 12594 0 0.0%
Sema.NumTypesValidated 14214 14214 0 0.0%
Unchanged (abs(delta) < 0.01% or 100000usec) in ReactiveCocoa (17)
name old new delta delta_pct
AST.NumImportedExternalDefinitions 32490 32490 0 0.0%
AST.NumLoadedModules 3536 3536 0 0.0%
AST.NumTotalClangImportedEntities 97354 97354 0 0.0%
AST.NumUsedConformances 700 700 0 0.0%
IRModule.NumIRBasicBlocks 10868 10868 0 0.0%
IRModule.NumIRFunctions 6914 6914 0 0.0%
IRModule.NumIRGlobals 9656 9656 0 0.0%
IRModule.NumIRInsts 98701 98701 0 0.0%
IRModule.NumIRValueSymbols 14568 14568 0 0.0%
LLVM.NumLLVMBytesOutput 6509356 6509220 -136 -0.0%
SILModule.NumSILGenFunctions 2892 2892 0 0.0%
SILModule.NumSILOptFunctions 4369 4369 0 0.0%
Sema.NumConstraintScopes 55104 55104 0 0.0%
Sema.NumDeclsValidated 4712 4712 0 0.0%
Sema.NumFunctionsTypechecked 17692 17692 0 0.0%
Sema.NumLazyGenericEnvironmentsLoaded 9152 9152 0 0.0%
Sema.NumTypesValidated 34130 34130 0 0.0%
Unchanged (abs(delta) < 0.01% or 100000usec) in ReactiveSwift (12)
name old new delta delta_pct
Sema.NumConstraintScopes 36536 36538 2 0.01%
AST.NumImportedExternalDefinitions 3400 3400 0 0.0%
AST.NumLoadedModules 880 880 0 0.0%
AST.NumTotalClangImportedEntities 8606 8606 0 0.0%
IRModule.NumIRBasicBlocks 19130 19130 0 0.0%
IRModule.NumIRInsts 314500 314492 -8 -0.0%
SILModule.NumSILGenFunctions 4813 4813 0 0.0%
SILModule.NumSILOptFunctions 7687 7687 0 0.0%
Sema.NumDeclsValidated 20562 20562 0 0.0%
Sema.NumFunctionsTypechecked 3532 3532 0 0.0%
Sema.NumTypesValidated 70786 70786 0 0.0%
LLVM.NumLLVMBytesOutput 8308260 8307404 -856 -0.01%
Unchanged (abs(delta) < 0.01% or 100000usec) in Result (17)
name old new delta delta_pct
AST.NumImportedExternalDefinitions 334 334 0 0.0%
AST.NumLoadedModules 108 108 0 0.0%
AST.NumTotalClangImportedEntities 1066 1066 0 0.0%
AST.NumUsedConformances 62 62 0 0.0%
IRModule.NumIRBasicBlocks 1272 1272 0 0.0%
IRModule.NumIRFunctions 632 632 0 0.0%
IRModule.NumIRGlobals 758 758 0 0.0%
IRModule.NumIRInsts 16546 16546 0 0.0%
IRModule.NumIRValueSymbols 1172 1172 0 0.0%
LLVM.NumLLVMBytesOutput 399708 399708 0 0.0%
SILModule.NumSILGenFunctions 314 314 0 0.0%
SILModule.NumSILOptFunctions 642 642 0 0.0%
Sema.NumConstraintScopes 3738 3738 0 0.0%
Sema.NumDeclsValidated 518 518 0 0.0%
Sema.NumFunctionsTypechecked 298 298 0 0.0%
Sema.NumLazyGenericEnvironmentsLoaded 486 486 0 0.0%
Sema.NumTypesValidated 1184 1184 0 0.0%

PR vs. head, changed timers (debug)

Regressed (0)
Improved (0)
Unchanged (abs(delta) < 0.01% or 1000000usec) (9)
Unchanged (abs(delta) < 0.01% or 1000000usec) in Alamofire (1)
name old new delta delta_pct
time.swift-driver.Alamofire-all-x86_64_apple_macosx10.10-o-Onone.wall 5832274 5542967 -289307 -4.96%
Unchanged (abs(delta) < 0.01% or 1000000usec) in Kingfisher (2)
name old new delta delta_pct
time.swift-driver.Kingfisher-all-armv7_apple_ios8.0-o-Onone.wall 5000115 4842894 -157221 -3.14%
time.swift-driver.Kingfisher-all-arm64_apple_ios8.0-o-Onone.wall 4826059 4645981 -180078 -3.73%
Unchanged (abs(delta) < 0.01% or 1000000usec) in ReactiveCocoa (2)
name old new delta delta_pct
time.swift-driver.ReactiveCocoa-all-armv7_apple_ios8.0-o-Onone.wall 3583483 3185939 -397544 -11.09%
time.swift-driver.ReactiveCocoa-all-arm64_apple_ios8.0-o-Onone.wall 3574398 3142944 -431454 -12.07%
Unchanged (abs(delta) < 0.01% or 1000000usec) in ReactiveSwift (2)
name old new delta delta_pct
time.swift-driver.ReactiveSwift-all-armv7_apple_ios8.0-o-Onone.wall 3672666 3378702 -293964 -8.0%
time.swift-driver.ReactiveSwift-all-arm64_apple_ios8.0-o-Onone.wall 3576597 3270734 -305863 -8.55%
Unchanged (abs(delta) < 0.01% or 1000000usec) in Result (2)
name old new delta delta_pct
time.swift-driver.Result-all-armv7_apple_ios8.0-o-Onone.wall 1538043 1479113 -58930 -3.83%
time.swift-driver.Result-all-arm64_apple_ios8.0-o-Onone.wall 1529884 1457136 -72748 -4.76%

PR vs. baseline (debug)

PR vs. baseline, changed counters (debug)

Regressed (16)
Regressed in Alamofire (5)
name old new delta delta_pct
SILModule.NumSILOptFunctions 3908 4648 740 18.94% ⛔
Sema.NumConformancesDeserialized 31066 33403 2337 7.52% ⛔
Sema.NumLazyGenericEnvironments 29740 30191 451 1.52% ⛔
LLVM.NumLLVMBytesOutput 2995540 3020408 24868 0.83% ⛔
Sema.NumDeclsDeserialized 193026 193304 278 0.14% ⛔
Regressed in Kingfisher (2)
name old new delta delta_pct
SILModule.NumSILOptFunctions 7512 8443 931 12.39% ⛔
LLVM.NumLLVMBytesOutput 4701704 4944580 242876 5.17% ⛔
Regressed in ReactiveCocoa (6)
name old new delta delta_pct
LLVM.NumLLVMBytesOutput 4775608 6509220 1733612 36.3% ⛔
Sema.NumConstraintScopes 42990 55104 12114 28.18% ⛔
SILModule.NumSILOptFunctions 4068 4369 301 7.4% ⛔
Sema.NumLazyGenericEnvironments 90692 96342 5650 6.23% ⛔
Sema.NumDeclsDeserialized 494670 509001 14331 2.9% ⛔
IRModule.NumIRGlobals 9536 9656 120 1.26% ⛔
Regressed in ReactiveSwift (3)
name old new delta delta_pct
SILModule.NumSILOptFunctions 6970 7687 717 10.29% ⛔
LLVM.NumLLVMBytesOutput 8049848 8307404 257556 3.2% ⛔
IRModule.NumIRGlobals 12388 12430 42 0.34% ⛔
Improved (72)
Improved in Alamofire (17)
name old new delta delta_pct
SILModule.NumSILGenFunctions 2463 2458 -5 -0.2% ✅
AST.NumUsedConformances 435 430 -5 -1.15% ✅
IRModule.NumIRGlobals 4765 4700 -65 -1.36% ✅
Sema.NumTypesDeserialized 158862 155078 -3784 -2.38% ✅
IRModule.NumIRValueSymbols 8767 8429 -338 -3.86% ✅
IRModule.NumIRFunctions 5357 5110 -247 -4.61% ✅
Sema.NumLazyGenericEnvironmentsLoaded 2641 2495 -146 -5.53% ✅
IRModule.NumIRInsts 145724 132791 -12933 -8.87% ✅
Sema.NumConstraintScopes 43672 39569 -4103 -9.4% ✅
IRModule.NumIRBasicBlocks 15117 13594 -1523 -10.07% ✅
Sema.NumLazyIterableDeclContexts 21455 19126 -2329 -10.86% ✅
Sema.NumFunctionsTypechecked 5545 4043 -1502 -27.09% ✅
AST.NumImportedExternalDefinitions 8501 5727 -2774 -32.63% ✅
AST.NumTotalClangImportedEntities 27881 18049 -9832 -35.26% ✅
Sema.NumTypesValidated 18298 6298 -12000 -65.58% ✅
Sema.NumGenericSignatureBuilders 13996 3302 -10694 -76.41% ✅
Sema.NumDeclsValidated 61341 7149 -54192 -88.35% ✅
Improved in Kingfisher (20)
name old new delta delta_pct
SILModule.NumSILGenFunctions 4186 4178 -8 -0.19% ✅
IRModule.NumIRGlobals 9117 9057 -60 -0.66% ✅
AST.NumUsedConformances 858 840 -18 -2.1% ✅
Sema.NumLazyGenericEnvironmentsLoaded 5480 5292 -188 -3.43% ✅
IRModule.NumIRValueSymbols 14986 14446 -540 -3.6% ✅
IRModule.NumIRInsts 194978 184365 -10613 -5.44% ✅
IRModule.NumIRFunctions 8204 7752 -452 -5.51% ✅
IRModule.NumIRBasicBlocks 18956 17779 -1177 -6.21% ✅
Sema.NumDeclsDeserialized 406573 366732 -39841 -9.8% ✅
Sema.NumLazyGenericEnvironments 65900 59044 -6856 -10.4% ✅
Sema.NumLazyIterableDeclContexts 54859 49073 -5786 -10.55% ✅
Sema.NumConformancesDeserialized 70852 63260 -7592 -10.72% ✅
Sema.NumTypesDeserialized 344515 297163 -47352 -13.74% ✅
AST.NumTotalClangImportedEntities 75188 56372 -18816 -25.03% ✅
Sema.NumFunctionsTypechecked 17534 12594 -4940 -28.17% ✅
AST.NumImportedExternalDefinitions 28988 20024 -8964 -30.92% ✅
Sema.NumConstraintScopes 581970 312094 -269876 -46.37% ✅
Sema.NumTypesValidated 27944 14214 -13730 -49.13% ✅
Sema.NumGenericSignatureBuilders 33750 9642 -24108 -71.43% ✅
Sema.NumDeclsValidated 125016 9338 -115678 -92.53% ✅
Improved in ReactiveCocoa (16)
name old new delta delta_pct
SILModule.NumSILGenFunctions 2904 2892 -12 -0.41% ✅
AST.NumUsedConformances 704 700 -4 -0.57% ✅
IRModule.NumIRValueSymbols 14686 14568 -118 -0.8% ✅
Sema.NumTypesDeserialized 447750 438124 -9626 -2.15% ✅
IRModule.NumIRFunctions 7080 6914 -166 -2.34% ✅
IRModule.NumIRInsts 102753 98701 -4052 -3.94% ✅
AST.NumTotalClangImportedEntities 101754 97354 -4400 -4.32% ✅
Sema.NumFunctionsTypechecked 18516 17692 -824 -4.45% ✅
AST.NumImportedExternalDefinitions 34112 32490 -1622 -4.75% ✅
IRModule.NumIRBasicBlocks 11870 10868 -1002 -8.44% ✅
Sema.NumLazyIterableDeclContexts 105954 96970 -8984 -8.48% ✅
Sema.NumLazyGenericEnvironmentsLoaded 10174 9152 -1022 -10.05% ✅
Sema.NumConformancesDeserialized 57916 49148 -8768 -15.14% ✅
Sema.NumTypesValidated 49050 34130 -14920 -30.42% ✅
Sema.NumGenericSignatureBuilders 49468 21750 -27718 -56.03% ✅
Sema.NumDeclsValidated 106644 4712 -101932 -95.58% ✅
Improved in ReactiveSwift (19)
name old new delta delta_pct
SILModule.NumSILGenFunctions 4833 4813 -20 -0.41% ✅
AST.NumUsedConformances 730 722 -8 -1.1% ✅
IRModule.NumIRValueSymbols 19619 19283 -336 -1.71% ✅
IRModule.NumIRFunctions 10863 10539 -324 -2.98% ✅
IRModule.NumIRInsts 332161 314492 -17669 -5.32% ✅
Sema.NumLazyGenericEnvironments 50740 47258 -3482 -6.86% ✅
Sema.NumDeclsDeserialized 291790 267541 -24249 -8.31% ✅
Sema.NumTypesDeserialized 253286 223573 -29713 -11.73% ✅
Sema.NumConstraintScopes 41650 36538 -5112 -12.27% ✅
IRModule.NumIRBasicBlocks 21814 19130 -2684 -12.3% ✅
Sema.NumConformancesDeserialized 49822 42742 -7080 -14.21% ✅
Sema.NumFunctionsTypechecked 4538 3532 -1006 -22.17% ✅
Sema.NumLazyGenericEnvironmentsLoaded 7646 5928 -1718 -22.47% ✅
Sema.NumLazyIterableDeclContexts 37546 28362 -9184 -24.46% ✅
Sema.NumTypesValidated 100770 70786 -29984 -29.75% ✅
AST.NumImportedExternalDefinitions 6434 3400 -3034 -47.16% ✅
AST.NumTotalClangImportedEntities 24796 8606 -16190 -65.29% ✅
Sema.NumGenericSignatureBuilders 31134 8812 -22322 -71.7% ✅
Sema.NumDeclsValidated 75348 20562 -54786 -72.71% ✅
Unchanged (abs(delta) < 0.01% or 100000usec) (4)
Unchanged (abs(delta) < 0.01% or 100000usec) in Alamofire (1)
name old new delta delta_pct
AST.NumLoadedModules 522 522 0 0.0%
Unchanged (abs(delta) < 0.01% or 100000usec) in Kingfisher (1)
name old new delta delta_pct
AST.NumLoadedModules 1323 1323 0 0.0%
Unchanged (abs(delta) < 0.01% or 100000usec) in ReactiveCocoa (1)
name old new delta delta_pct
AST.NumLoadedModules 3536 3536 0 0.0%
Unchanged (abs(delta) < 0.01% or 100000usec) in ReactiveSwift (1)
name old new delta delta_pct
AST.NumLoadedModules 880 880 0 0.0%

PR vs. baseline, changed timers (debug)

Regressed (0)
Improved (0)
Unchanged (abs(delta) < 0.01% or 1000000usec) (0)

Release

PR vs. head (release)

PR vs. head, changed counters (release)

Regressed (5)
Regressed in Kingfisher (1)
name old new delta delta_pct
SILModule.NumSILOptFunctions 5844 5848 4 0.07% ⛔
Regressed in ReactiveCocoa (1)
name old new delta delta_pct
SILModule.NumSILOptFunctions 3147 3149 2 0.06% ⛔
Regressed in ReactiveSwift (1)
name old new delta delta_pct
Sema.NumLazyGenericEnvironmentsLoaded 828 830 2 0.24% ⛔
Regressed in Result (2)
name old new delta delta_pct
Sema.NumLazyIterableDeclContexts 1976 1984 8 0.4% ⛔
Sema.NumDeclsDeserialized 23868 23916 48 0.2% ⛔
Improved (38)
Improved in Alamofire (8)
name old new delta delta_pct
LLVM.NumLLVMBytesOutput 3306208 3305464 -744 -0.02% ✅
Sema.NumLazyIterableDeclContexts 1660 1659 -1 -0.06% ✅
AST.NumUsedConformances 432 430 -2 -0.46% ✅
Sema.NumDeclsDeserialized 24144 24028 -116 -0.48% ✅
SILModule.NumSILOptFunctions 3075 3045 -30 -0.98% ✅
Sema.NumLazyGenericEnvironments 2786 2755 -31 -1.11% ✅
Sema.NumTypesDeserialized 22911 22491 -420 -1.83% ✅
Sema.NumConformancesDeserialized 14446 12781 -1665 -11.53% ✅
Improved in Kingfisher (10)
name old new delta delta_pct
IRModule.NumIRInsts 166293 166259 -34 -0.02% ✅
IRModule.NumIRBasicBlocks 22501 22492 -9 -0.04% ✅
IRModule.NumIRValueSymbols 12767 12762 -5 -0.04% ✅
LLVM.NumLLVMBytesOutput 5869512 5867088 -2424 -0.04% ✅
IRModule.NumIRFunctions 5795 5790 -5 -0.09% ✅
Sema.NumLazyGenericEnvironments 4996 4988 -8 -0.16% ✅
Sema.NumDeclsDeserialized 48355 48275 -80 -0.17% ✅
AST.NumUsedConformances 850 840 -10 -1.18% ✅
Sema.NumTypesDeserialized 45253 44593 -660 -1.46% ✅
Sema.NumConformancesDeserialized 29146 25662 -3484 -11.95% ✅
Improved in ReactiveCocoa (4)
name old new delta delta_pct
Sema.NumDeclsDeserialized 41892 41824 -68 -0.16% ✅
Sema.NumLazyGenericEnvironments 6182 6164 -18 -0.29% ✅
Sema.NumTypesDeserialized 38963 38721 -242 -0.62% ✅
Sema.NumConformancesDeserialized 19422 18480 -942 -4.85% ✅
Improved in ReactiveSwift (13)
name old new delta delta_pct
IRModule.NumIRGlobals 11646 11644 -2 -0.02% ✅
LLVM.NumLLVMBytesOutput 9973868 9971724 -2144 -0.02% ✅
IRModule.NumIRBasicBlocks 21272 21261 -11 -0.05% ✅
IRModule.NumIRValueSymbols 19422 19413 -9 -0.05% ✅
IRModule.NumIRFunctions 10078 10069 -9 -0.09% ✅
Sema.NumGenericSignatureBuilders 1515 1513 -2 -0.13% ✅
Sema.NumLazyIterableDeclContexts 2881 2877 -4 -0.14% ✅
AST.NumUsedConformances 730 728 -2 -0.27% ✅
Sema.NumDeclsDeserialized 44020 43677 -343 -0.78% ✅
Sema.NumLazyGenericEnvironments 5188 5132 -56 -1.08% ✅
SILModule.NumSILOptFunctions 6936 6821 -115 -1.66% ✅
Sema.NumTypesDeserialized 39566 38712 -854 -2.16% ✅
Sema.NumConformancesDeserialized 24800 21117 -3683 -14.85% ✅
Improved in Result (3)
name old new delta delta_pct
Sema.NumTypesDeserialized 20518 20462 -56 -0.27% ✅
Sema.NumGenericSignatureBuilders 368 364 -4 -1.09% ✅
Sema.NumConformancesDeserialized 3916 3192 -724 -18.49% ✅
Unchanged (abs(delta) < 0.01% or 100000usec) (72)
Unchanged (abs(delta) < 0.01% or 100000usec) in Alamofire (15)
name old new delta delta_pct
AST.NumImportedExternalDefinitions 881 881 0 0.0%
AST.NumLoadedModules 28 28 0 0.0%
AST.NumTotalClangImportedEntities 3234 3234 0 0.0%
IRModule.NumIRBasicBlocks 15502 15502 0 0.0%
IRModule.NumIRFunctions 3579 3579 0 0.0%
IRModule.NumIRGlobals 4449 4449 0 0.0%
IRModule.NumIRInsts 113090 113090 0 0.0%
IRModule.NumIRValueSymbols 6898 6898 0 0.0%
SILModule.NumSILGenFunctions 1860 1860 0 0.0%
Sema.NumConstraintScopes 36446 36446 0 0.0%
Sema.NumDeclsValidated 3290 3290 0 0.0%
Sema.NumFunctionsTypechecked 1104 1104 0 0.0%
Sema.NumGenericSignatureBuilders 416 416 0 0.0%
Sema.NumLazyGenericEnvironmentsLoaded 364 364 0 0.0%
Sema.NumTypesValidated 1592 1592 0 0.0%
Unchanged (abs(delta) < 0.01% or 100000usec) in Kingfisher (12)
name old new delta delta_pct
AST.NumImportedExternalDefinitions 3368 3368 0 0.0%
AST.NumLoadedModules 61 61 0 0.0%
AST.NumTotalClangImportedEntities 9816 9816 0 0.0%
IRModule.NumIRGlobals 8574 8574 0 0.0%
SILModule.NumSILGenFunctions 3056 3056 0 0.0%
Sema.NumConstraintScopes 301082 301084 2 0.0%
Sema.NumDeclsValidated 4176 4176 0 0.0%
Sema.NumFunctionsTypechecked 2848 2848 0 0.0%
Sema.NumGenericSignatureBuilders 1085 1085 0 0.0%
Sema.NumLazyGenericEnvironmentsLoaded 826 826 0 0.0%
Sema.NumLazyIterableDeclContexts 3533 3533 0 0.0%
Sema.NumTypesValidated 2740 2740 0 0.0%
Unchanged (abs(delta) < 0.01% or 100000usec) in ReactiveCocoa (18)
name old new delta delta_pct
AST.NumImportedExternalDefinitions 3132 3132 0 0.0%
AST.NumLoadedModules 66 66 0 0.0%
AST.NumTotalClangImportedEntities 7434 7434 0 0.0%
AST.NumUsedConformances 700 700 0 0.0%
IRModule.NumIRBasicBlocks 8787 8787 0 0.0%
IRModule.NumIRFunctions 4876 4876 0 0.0%
IRModule.NumIRGlobals 8491 8491 0 0.0%
IRModule.NumIRInsts 66215 66215 0 0.0%
IRModule.NumIRValueSymbols 12101 12101 0 0.0%
LLVM.NumLLVMBytesOutput 8782084 8782068 -16 -0.0%
SILModule.NumSILGenFunctions 1913 1913 0 0.0%
Sema.NumConstraintScopes 37648 37648 0 0.0%
Sema.NumDeclsValidated 2402 2402 0 0.0%
Sema.NumFunctionsTypechecked 2482 2482 0 0.0%
Sema.NumGenericSignatureBuilders 1278 1278 0 0.0%
Sema.NumLazyGenericEnvironmentsLoaded 702 702 0 0.0%
Sema.NumLazyIterableDeclContexts 3784 3784 0 0.0%
Sema.NumTypesValidated 2372 2372 0 0.0%
Unchanged (abs(delta) < 0.01% or 100000usec) in ReactiveSwift (9)
name old new delta delta_pct
Sema.NumConstraintScopes 34930 34932 2 0.01%
AST.NumImportedExternalDefinitions 512 512 0 0.0%
AST.NumLoadedModules 38 38 0 0.0%
AST.NumTotalClangImportedEntities 2102 2102 0 0.0%
SILModule.NumSILGenFunctions 3735 3735 0 0.0%
Sema.NumDeclsValidated 7578 7578 0 0.0%
Sema.NumFunctionsTypechecked 1976 1976 0 0.0%
Sema.NumTypesValidated 23594 23594 0 0.0%
IRModule.NumIRInsts 256157 256138 -19 -0.01%
Unchanged (abs(delta) < 0.01% or 100000usec) in Result (18)
name old new delta delta_pct
AST.NumImportedExternalDefinitions 316 316 0 0.0%
AST.NumLoadedModules 34 34 0 0.0%
AST.NumTotalClangImportedEntities 1300 1300 0 0.0%
AST.NumUsedConformances 62 62 0 0.0%
IRModule.NumIRBasicBlocks 2048 2048 0 0.0%
IRModule.NumIRFunctions 623 623 0 0.0%
IRModule.NumIRGlobals 687 687 0 0.0%
IRModule.NumIRInsts 20376 20376 0 0.0%
IRModule.NumIRValueSymbols 1194 1194 0 0.0%
LLVM.NumLLVMBytesOutput 483340 483340 0 0.0%
SILModule.NumSILGenFunctions 292 292 0 0.0%
SILModule.NumSILOptFunctions 813 813 0 0.0%
Sema.NumConstraintScopes 3736 3736 0 0.0%
Sema.NumDeclsValidated 472 472 0 0.0%
Sema.NumFunctionsTypechecked 296 296 0 0.0%
Sema.NumLazyGenericEnvironments 4116 4116 0 0.0%
Sema.NumLazyGenericEnvironmentsLoaded 338 338 0 0.0%
Sema.NumTypesValidated 990 990 0 0.0%

PR vs. head, changed timers (release)

Regressed (0)
Improved (0)
Unchanged (abs(delta) < 0.01% or 1000000usec) (9)
Unchanged (abs(delta) < 0.01% or 1000000usec) in Alamofire (1)
name old new delta delta_pct
time.swift-driver.Alamofire-all-x86_64_apple_macosx10.10-o-O.wall 10597890 10215040 -382850 -3.61%
Unchanged (abs(delta) < 0.01% or 1000000usec) in Kingfisher (2)
name old new delta delta_pct
time.swift-driver.Kingfisher-all-arm64_apple_ios8.0-o-O.wall 10756930 10596420 -160510 -1.49%
time.swift-driver.Kingfisher-all-armv7_apple_ios8.0-o-O.wall 11051970 10755250 -296720 -2.68%
Unchanged (abs(delta) < 0.01% or 1000000usec) in ReactiveCocoa (2)
name old new delta delta_pct
time.swift-driver.ReactiveCocoa-all-armv7_apple_ios8.0-o-O.wall 4984934 4750874 -234060 -4.7%
time.swift-driver.ReactiveCocoa-all-arm64_apple_ios8.0-o-O.wall 5021626 4779157 -242469 -4.83%
Unchanged (abs(delta) < 0.01% or 1000000usec) in ReactiveSwift (2)
name old new delta delta_pct
time.swift-driver.ReactiveSwift-all-armv7_apple_ios8.0-o-O.wall 10649730 10348870 -300860 -2.83%
time.swift-driver.ReactiveSwift-all-arm64_apple_ios8.0-o-O.wall 10459930 10098270 -361660 -3.46%
Unchanged (abs(delta) < 0.01% or 1000000usec) in Result (2)
name old new delta delta_pct
time.swift-driver.Result-all-arm64_apple_ios8.0-o-O.wall 2752176 2667456 -84720 -3.08%
time.swift-driver.Result-all-armv7_apple_ios8.0-o-O.wall 2782081 2691321 -90760 -3.26%

PR vs. baseline (release)

PR vs. baseline, changed counters (release)

Regressed (13)
Regressed in Alamofire (3)
name old new delta delta_pct
AST.NumTotalClangImportedEntities 2920 3234 314 10.75% ⛔
LLVM.NumLLVMBytesOutput 3172156 3305464 133308 4.2% ⛔
SILModule.NumSILOptFunctions 2991 3045 54 1.81% ⛔
Regressed in Kingfisher (3)
name old new delta delta_pct
AST.NumTotalClangImportedEntities 9086 9816 730 8.03% ⛔
LLVM.NumLLVMBytesOutput 5462712 5867088 404376 7.4% ⛔
SILModule.NumSILOptFunctions 5723 5848 125 2.18% ⛔
Regressed in ReactiveCocoa (5)
name old new delta delta_pct
LLVM.NumLLVMBytesOutput 5480320 8782068 3301748 60.25% ⛔
Sema.NumConstraintScopes 23810 37648 13838 58.12% ⛔
SILModule.NumSILOptFunctions 2915 3149 234 8.03% ⛔
AST.NumTotalClangImportedEntities 7270 7434 164 2.26% ⛔
IRModule.NumIRGlobals 8486 8491 5 0.06% ⛔
Regressed in ReactiveSwift (2)
name old new delta delta_pct
LLVM.NumLLVMBytesOutput 9452416 9971724 519308 5.49% ⛔
IRModule.NumIRGlobals 11628 11644 16 0.14% ⛔
Improved (70)
Improved in Alamofire (17)
name old new delta delta_pct
SILModule.NumSILGenFunctions 1861 1860 -1 -0.05% ✅
AST.NumUsedConformances 435 430 -5 -1.15% ✅
IRModule.NumIRGlobals 4521 4449 -72 -1.59% ✅
Sema.NumLazyGenericEnvironments 2814 2755 -59 -2.1% ✅
Sema.NumLazyIterableDeclContexts 1716 1659 -57 -3.32% ✅
Sema.NumDeclsDeserialized 24875 24028 -847 -3.41% ✅
IRModule.NumIRValueSymbols 7218 6898 -320 -4.43% ✅
Sema.NumLazyGenericEnvironmentsLoaded 383 364 -19 -4.96% ✅
Sema.NumTypesDeserialized 23832 22491 -1341 -5.63% ✅
Sema.NumConstraintScopes 38683 36446 -2237 -5.78% ✅
IRModule.NumIRFunctions 3819 3579 -240 -6.28% ✅
IRModule.NumIRBasicBlocks 16869 15502 -1367 -8.1% ✅
IRModule.NumIRInsts 123248 113090 -10158 -8.24% ✅
Sema.NumTypesValidated 1977 1592 -385 -19.47% ✅
Sema.NumConformancesDeserialized 16433 12781 -3652 -22.22% ✅
Sema.NumGenericSignatureBuilders 1595 416 -1179 -73.92% ✅
Sema.NumDeclsValidated 17283 3290 -13993 -80.96% ✅
Improved in Kingfisher (16)
name old new delta delta_pct
IRModule.NumIRGlobals 8627 8574 -53 -0.61% ✅
Sema.NumDeclsDeserialized 48980 48275 -705 -1.44% ✅
AST.NumUsedConformances 858 840 -18 -2.1% ✅
Sema.NumLazyIterableDeclContexts 3642 3533 -109 -2.99% ✅
Sema.NumTypesDeserialized 46208 44593 -1615 -3.5% ✅
Sema.NumLazyGenericEnvironments 5174 4988 -186 -3.59% ✅
IRModule.NumIRValueSymbols 13308 12762 -546 -4.1% ✅
Sema.NumLazyGenericEnvironmentsLoaded 876 826 -50 -5.71% ✅
IRModule.NumIRFunctions 6265 5790 -475 -7.58% ✅
IRModule.NumIRBasicBlocks 25356 22492 -2864 -11.3% ✅
IRModule.NumIRInsts 189828 166259 -23569 -12.42% ✅
Sema.NumConformancesDeserialized 30795 25662 -5133 -16.67% ✅
Sema.NumTypesValidated 3794 2740 -1054 -27.78% ✅
Sema.NumConstraintScopes 564928 301084 -263844 -46.7% ✅
Sema.NumGenericSignatureBuilders 3925 1085 -2840 -72.36% ✅
Sema.NumDeclsValidated 35702 4176 -31526 -88.3% ✅
Improved in ReactiveCocoa (17)
name old new delta delta_pct
Sema.NumFunctionsTypechecked 2484 2482 -2 -0.08% ✅
AST.NumImportedExternalDefinitions 3138 3132 -6 -0.19% ✅
SILModule.NumSILGenFunctions 1917 1913 -4 -0.21% ✅
AST.NumUsedConformances 704 700 -4 -0.57% ✅
Sema.NumLazyGenericEnvironments 6210 6164 -46 -0.74% ✅
IRModule.NumIRValueSymbols 12322 12101 -221 -1.79% ✅
Sema.NumDeclsDeserialized 42739 41824 -915 -2.14% ✅
Sema.NumLazyIterableDeclContexts 3880 3784 -96 -2.47% ✅
Sema.NumTypesDeserialized 39750 38721 -1029 -2.59% ✅
Sema.NumLazyGenericEnvironmentsLoaded 728 702 -26 -3.57% ✅
IRModule.NumIRFunctions 5090 4876 -214 -4.2% ✅
IRModule.NumIRInsts 69895 66215 -3680 -5.27% ✅
IRModule.NumIRBasicBlocks 9437 8787 -650 -6.89% ✅
Sema.NumConformancesDeserialized 20926 18480 -2446 -11.69% ✅
Sema.NumTypesValidated 4072 2372 -1700 -41.75% ✅
Sema.NumGenericSignatureBuilders 3612 1278 -2334 -64.62% ✅
Sema.NumDeclsValidated 20206 2402 -17804 -88.11% ✅
Improved in ReactiveSwift (20)
name old new delta delta_pct
SILModule.NumSILOptFunctions 6852 6821 -31 -0.45% ✅
SILModule.NumSILGenFunctions 3755 3735 -20 -0.53% ✅
AST.NumUsedConformances 732 728 -4 -0.55% ✅
Sema.NumFunctionsTypechecked 1990 1976 -14 -0.7% ✅
Sema.NumLazyGenericEnvironments 5196 5132 -64 -1.23% ✅
Sema.NumDeclsDeserialized 44930 43677 -1253 -2.79% ✅
IRModule.NumIRValueSymbols 19993 19413 -580 -2.9% ✅
Sema.NumLazyIterableDeclContexts 2982 2877 -105 -3.52% ✅
IRModule.NumIRFunctions 10605 10069 -536 -5.05% ✅
Sema.NumTypesDeserialized 40957 38712 -2245 -5.48% ✅
IRModule.NumIRInsts 271570 256138 -15432 -5.68% ✅
Sema.NumLazyGenericEnvironmentsLoaded 890 830 -60 -6.74% ✅
Sema.NumConstraintScopes 38598 34932 -3666 -9.5% ✅
Sema.NumTypesValidated 26352 23594 -2758 -10.47% ✅
IRModule.NumIRBasicBlocks 23918 21261 -2657 -11.11% ✅
AST.NumImportedExternalDefinitions 592 512 -80 -13.51% ✅
AST.NumTotalClangImportedEntities 2670 2102 -568 -21.27% ✅
Sema.NumConformancesDeserialized 26845 21117 -5728 -21.34% ✅
Sema.NumGenericSignatureBuilders 4390 1513 -2877 -65.54% ✅
Sema.NumDeclsValidated 28656 7578 -21078 -73.56% ✅
Unchanged (abs(delta) < 0.01% or 100000usec) (9)
Unchanged (abs(delta) < 0.01% or 100000usec) in Alamofire (3)
name old new delta delta_pct
AST.NumImportedExternalDefinitions 881 881 0 0.0%
AST.NumLoadedModules 28 28 0 0.0%
Sema.NumFunctionsTypechecked 1104 1104 0 0.0%
Unchanged (abs(delta) < 0.01% or 100000usec) in Kingfisher (4)
name old new delta delta_pct
AST.NumImportedExternalDefinitions 3368 3368 0 0.0%
AST.NumLoadedModules 61 61 0 0.0%
SILModule.NumSILGenFunctions 3056 3056 0 0.0%
Sema.NumFunctionsTypechecked 2848 2848 0 0.0%
Unchanged (abs(delta) < 0.01% or 100000usec) in ReactiveCocoa (1)
name old new delta delta_pct
AST.NumLoadedModules 66 66 0 0.0%
Unchanged (abs(delta) < 0.01% or 100000usec) in ReactiveSwift (1)
name old new delta delta_pct
AST.NumLoadedModules 38 38 0 0.0%

PR vs. baseline, changed timers (release)

Regressed (0)
Improved (0)
Unchanged (abs(delta) < 0.01% or 1000000usec) (0)
Last baseline commit on smoketest-master-debug.csv
commit 051207462e73c88493bbf2e49795efb88cb6c1ec
Author: Graydon Hoare 
Date:   Tue Oct 10 12:33:02 2017 -0700

    Update smoketest baselines for Swift version 4.0.1-dev (LLVM 2dedb62a0b, Clang ab7472e733, Swift 866e511daa)

Last baseline commit on smoketest-master-release.csv

commit 051207462e73c88493bbf2e49795efb88cb6c1ec
Author: Graydon Hoare 
Date:   Tue Oct 10 12:33:02 2017 -0700

    Update smoketest baselines for Swift version 4.0.1-dev (LLVM 2dedb62a0b, Clang ab7472e733, Swift 866e511daa)


@swift-ci
Copy link
Contributor

Build comment file:

Optimized (O)

Regression (13)
TEST OLD NEW DELTA SPEEDUP
SuffixAnyCollectionLazy 25959 72451 +179.1% 0.36x
DropLastAnyCollectionLazy 26043 59118 +127.0% 0.44x
PrefixAnyCollectionLazy 77829 96972 +24.6% 0.80x
SuffixArrayLazy 7 8 +14.3% 0.88x
MapReduceString 101 111 +9.9% 0.91x
PrefixWhileArray 68 74 +8.8% 0.92x
DropFirstAnyCollectionLazy 77506 83651 +7.9% 0.93x
DictionarySwap 417 446 +7.0% 0.93x
Calculator 30 32 +6.7% 0.94x
SuffixAnySeqCntRange 15 16 +6.7% 0.94x
SuffixAnySeqCntRangeLazy 15 16 +6.7% 0.94x
ArraySetElement 455 485 +6.6% 0.94x
StringMatch 7499 7921 +5.6% 0.95x
Improvement (21)
TEST OLD NEW DELTA SPEEDUP
Sim2DArray 445 342 -23.1% 1.30x
RangeIterationSigned 155 135 -12.9% 1.15x
SuffixArray 8 7 -12.5% 1.14x
PrefixWhileSequence 367 334 -9.0% 1.10x
MapReduce 392 361 -7.9% 1.09x
StringEqualPointerComparison 394 363 -7.9% 1.09x
CaptureProp 4303 3970 -7.7% 1.08x
ArrayInClass 69 64 -7.2% 1.08x
DropLastSequenceLazy 649 608 -6.3% 1.07x
DropLastSequence 650 609 -6.3% 1.07x
LazilyFilteredArrayContains 20380 19100 -6.3% 1.07x
DropWhileAnySeqCRangeIter 22924 21498 -6.2% 1.07x
ReversedDictionary 117 110 -6.0% 1.06x (?)
PrefixAnySeqCRangeIterLazy 22206 20957 -5.6% 1.06x
PrefixAnySeqCRangeIter 22205 20961 -5.6% 1.06x
ProtocolDispatch2 146 138 -5.5% 1.06x
PrefixCountableRangeLazy 19 18 -5.3% 1.06x
PrefixCountableRange 19 18 -5.3% 1.06x
DropFirstAnySeqCRangeIter 28346 26892 -5.1% 1.05x
DropFirstAnySeqCRangeIterLazy 28352 26898 -5.1% 1.05x
DropWhileArrayLazy 82 78 -4.9% 1.05x
No Changes (300)
TEST OLD NEW DELTA SPEEDUP
AngryPhonebook 2952 2951 -0.0% 1.00x (?)
AnyHashableWithAClass 66880 67148 +0.4% 1.00x
Array2D 1905 1907 +0.1% 1.00x (?)
ArrayAppend 1080 1080 +0.0% 1.00x
ArrayAppendArrayOfInt 598 599 +0.2% 1.00x
ArrayAppendAscii 19085 20036 +5.0% 0.95x
ArrayAppendFromGeneric 598 599 +0.2% 1.00x
ArrayAppendGenericStructs 1225 1235 +0.8% 0.99x (?)
ArrayAppendLatin1 43003 41893 -2.6% 1.03x (?)
ArrayAppendLazyMap 924 943 +2.1% 0.98x (?)
ArrayAppendOptionals 1235 1232 -0.2% 1.00x (?)
ArrayAppendRepeatCol 999 999 +0.0% 1.00x
ArrayAppendReserved 849 848 -0.1% 1.00x (?)
ArrayAppendSequence 996 996 +0.0% 1.00x
ArrayAppendStrings 15063 15116 +0.4% 1.00x (?)
ArrayAppendToFromGeneric 599 599 +0.0% 1.00x
ArrayAppendToGeneric 598 598 +0.0% 1.00x
ArrayAppendUTF16 42301 42692 +0.9% 0.99x
ArrayLiteral 0 0 +0.0% 1.00x
ArrayOfGenericPOD 219 219 +0.0% 1.00x
ArrayOfGenericRef 3978 3980 +0.1% 1.00x (?)
ArrayOfPOD 165 165 +0.0% 1.00x
ArrayOfRef 3910 3909 -0.0% 1.00x (?)
ArrayPlusEqualArrayOfInt 598 599 +0.2% 1.00x
ArrayPlusEqualFiveElementCollection 4779 4825 +1.0% 0.99x
ArrayPlusEqualSingleElementCollection 1079 1078 -0.1% 1.00x (?)
ArrayPlusEqualThreeElements 1640 1663 +1.4% 0.99x
ArraySubscript 1509 1500 -0.6% 1.01x
ArrayValueProp 6 6 +0.0% 1.00x
ArrayValueProp2 6 6 +0.0% 1.00x
ArrayValueProp3 6 6 +0.0% 1.00x
ArrayValueProp4 6 6 +0.0% 1.00x
BitCount 148 144 -2.7% 1.03x (?)
ByteSwap 118 117 -0.8% 1.01x (?)
CStringLongAscii 4709 4723 +0.3% 1.00x
CStringLongNonAscii 2209 2274 +2.9% 0.97x
CStringShortAscii 4817 4779 -0.8% 1.01x
CharIndexing_ascii_unicodeScalars 13829 13439 -2.8% 1.03x
CharIndexing_ascii_unicodeScalars_Backwards 11061 11270 +1.9% 0.98x
CharIndexing_chinese_unicodeScalars 10482 10189 -2.8% 1.03x
CharIndexing_chinese_unicodeScalars_Backwards 8402 8552 +1.8% 0.98x
CharIndexing_japanese_unicodeScalars 16548 16081 -2.8% 1.03x
CharIndexing_japanese_unicodeScalars_Backwards 13234 13473 +1.8% 0.98x
CharIndexing_korean_unicodeScalars 13408 13041 -2.7% 1.03x
CharIndexing_korean_unicodeScalars_Backwards 10727 10928 +1.9% 0.98x
CharIndexing_punctuatedJapanese_unicodeScalars 2543 2495 -1.9% 1.02x
CharIndexing_punctuatedJapanese_unicodeScalars_Backwards 2061 2095 +1.6% 0.98x
CharIndexing_punctuated_unicodeScalars 3156 3092 -2.0% 1.02x
CharIndexing_punctuated_unicodeScalars_Backwards 2558 2609 +2.0% 0.98x
CharIndexing_russian_unicodeScalars 11532 11208 -2.8% 1.03x
CharIndexing_russian_unicodeScalars_Backwards 9228 9400 +1.9% 0.98x
CharIndexing_tweet_unicodeScalars 27324 26462 -3.2% 1.03x
CharIndexing_tweet_unicodeScalars_Backwards 21802 22178 +1.7% 0.98x
CharIndexing_utf16_unicodeScalars 81075 80913 -0.2% 1.00x
CharIndexing_utf16_unicodeScalars_Backwards 60401 60415 +0.0% 1.00x
CharIteration_ascii_unicodeScalars 15428 15840 +2.7% 0.97x (?)
CharIteration_ascii_unicodeScalars_Backwards 16378 16568 +1.2% 0.99x
CharIteration_chinese_unicodeScalars 11690 12000 +2.7% 0.97x
CharIteration_chinese_unicodeScalars_Backwards 12402 12545 +1.2% 0.99x
CharIteration_japanese_unicodeScalars 18463 18954 +2.7% 0.97x
CharIteration_japanese_unicodeScalars_Backwards 19616 19838 +1.1% 0.99x
CharIteration_korean_unicodeScalars 14952 15359 +2.7% 0.97x
CharIteration_korean_unicodeScalars_Backwards 15884 16070 +1.2% 0.99x
CharIteration_punctuatedJapanese_unicodeScalars 2806 2884 +2.8% 0.97x
CharIteration_punctuatedJapanese_unicodeScalars_Backwards 2960 2981 +0.7% 0.99x (?)
CharIteration_punctuated_unicodeScalars 3504 3604 +2.9% 0.97x
CharIteration_punctuated_unicodeScalars_Backwards 3704 3737 +0.9% 0.99x
CharIteration_russian_unicodeScalars 12859 13201 +2.7% 0.97x
CharIteration_russian_unicodeScalars_Backwards 13644 13800 +1.1% 0.99x
CharIteration_tweet_unicodeScalars 30406 31204 +2.6% 0.97x
CharIteration_tweet_unicodeScalars_Backwards 32383 32800 +1.3% 0.99x
CharIteration_utf16_unicodeScalars 79499 77807 -2.1% 1.02x
CharIteration_utf16_unicodeScalars_Backwards 97577 97608 +0.0% 1.00x (?)
CharacterLiteralsLarge 5942 5959 +0.3% 1.00x (?)
CharacterLiteralsSmall 403 403 +0.0% 1.00x
Chars 623 633 +1.6% 0.98x
ClassArrayGetter 14 14 +0.0% 1.00x
DeadArray 181 181 +0.0% 1.00x
Dictionary 559 557 -0.4% 1.00x (?)
Dictionary2 1829 1836 +0.4% 1.00x
Dictionary2OfObjects 3195 3211 +0.5% 1.00x
Dictionary3 470 469 -0.2% 1.00x
Dictionary3OfObjects 836 836 +0.0% 1.00x
DictionaryBridge 2604 2638 +1.3% 0.99x (?)
DictionaryGroup 274 275 +0.4% 1.00x (?)
DictionaryGroupOfObjects 1790 1794 +0.2% 1.00x
DictionaryLiteral 1484 1476 -0.5% 1.01x
DictionaryOfObjects 2210 2201 -0.4% 1.00x
DictionaryRemove 2452 2429 -0.9% 1.01x
DictionaryRemoveOfObjects 22734 22900 +0.7% 0.99x
DictionarySwapOfObjects 7388 7405 +0.2% 1.00x (?)
DropFirstAnyCollection 55 55 +0.0% 1.00x
DropFirstAnySeqCntRange 50 50 +0.0% 1.00x
DropFirstAnySeqCntRangeLazy 50 50 +0.0% 1.00x
DropFirstAnySequence 6293 6339 +0.7% 0.99x
DropFirstAnySequenceLazy 6234 6312 +1.3% 0.99x (?)
DropFirstArray 30 30 +0.0% 1.00x
DropFirstArrayLazy 30 30 +0.0% 1.00x
DropFirstCountableRange 18 18 +0.0% 1.00x
DropFirstCountableRangeLazy 19 19 +0.0% 1.00x
DropFirstSequence 2019 2019 +0.0% 1.00x
DropFirstSequenceLazy 1945 1945 +0.0% 1.00x
DropLastAnyCollection 21 21 +0.0% 1.00x
DropLastAnySeqCRangeIter 4718 4716 -0.0% 1.00x (?)
DropLastAnySeqCRangeIterLazy 4720 4717 -0.1% 1.00x (?)
DropLastAnySeqCntRange 16 16 +0.0% 1.00x
DropLastAnySeqCntRangeLazy 16 16 +0.0% 1.00x
DropLastAnySequence 6729 6725 -0.1% 1.00x (?)
DropLastAnySequenceLazy 6674 6664 -0.1% 1.00x (?)
DropLastArray 7 7 +0.0% 1.00x
DropLastArrayLazy 7 7 +0.0% 1.00x
DropLastCountableRange 6 6 +0.0% 1.00x
DropLastCountableRangeLazy 6 6 +0.0% 1.00x
DropWhileAnyCollection 68 68 +0.0% 1.00x
DropWhileAnyCollectionLazy 90 89 -1.1% 1.01x
DropWhileAnySeqCRangeIterLazy 89 90 +1.1% 0.99x
DropWhileAnySeqCntRange 63 63 +0.0% 1.00x
DropWhileAnySeqCntRangeLazy 88 90 +2.3% 0.98x
DropWhileAnySequence 7311 7291 -0.3% 1.00x (?)
DropWhileAnySequenceLazy 1933 1933 +0.0% 1.00x
DropWhileArray 43 43 +0.0% 1.00x
DropWhileCountableRange 19 19 +0.0% 1.00x
DropWhileCountableRangeLazy 70 70 +0.0% 1.00x
DropWhileSequence 1619 1624 +0.3% 1.00x
DropWhileSequenceLazy 47 47 +0.0% 1.00x
EqualStringSubstring 389 389 +0.0% 1.00x
EqualSubstringString 389 388 -0.3% 1.00x
EqualSubstringSubstring 389 388 -0.3% 1.00x (?)
EqualSubstringSubstringGenericEquatable 391 392 +0.3% 1.00x (?)
ErrorHandling 2075 2048 -1.3% 1.01x (?)
ExclusivityGlobal 3 3 +0.0% 1.00x
ExclusivityInMatSet 18 18 +0.0% 1.00x
ExclusivityIndependent 2 2 +0.0% 1.00x
FilterEvenUsingReduce 1307 1315 +0.6% 0.99x (?)
FilterEvenUsingReduceInto 147 146 -0.7% 1.01x (?)
FrequenciesUsingReduce 7460 7452 -0.1% 1.00x (?)
FrequenciesUsingReduceInto 4124 4139 +0.4% 1.00x
Hanoi 3454 3483 +0.8% 0.99x
HashTest 1725 1723 -0.1% 1.00x (?)
Histogram 285 298 +4.6% 0.96x
Integrate 250 249 -0.4% 1.00x (?)
IterateData 1361 1400 +2.9% 0.97x
Join 383 382 -0.3% 1.00x
LazilyFilteredArrays 65959 65694 -0.4% 1.00x (?)
LazilyFilteredRange 3626 3629 +0.1% 1.00x (?)
LessSubstringSubstring 389 389 +0.0% 1.00x
LessSubstringSubstringGenericComparable 387 390 +0.8% 0.99x
LinkedList 6982 7000 +0.3% 1.00x
MapReduceAnyCollection 394 392 -0.5% 1.01x
MapReduceAnyCollectionShort 2108 2112 +0.2% 1.00x
MapReduceClass 3068 3065 -0.1% 1.00x (?)
MapReduceClassShort 4549 4552 +0.1% 1.00x
MapReduceLazyCollection 13 13 +0.0% 1.00x
MapReduceLazyCollectionShort 4 4 +0.0% 1.00x
MapReduceLazySequence 90 90 +0.0% 1.00x
MapReduceSequence 443 444 +0.2% 1.00x (?)
MapReduceShort 1994 2048 +2.7% 0.97x
MapReduceShortString 21 21 +0.0% 1.00x
Memset 234 235 +0.4% 1.00x (?)
MonteCarloE 10359 10341 -0.2% 1.00x
MonteCarloPi 43977 43981 +0.0% 1.00x (?)
NSDictionaryCastToSwift 5248 5272 +0.5% 1.00x (?)
NSError 295 290 -1.7% 1.02x (?)
NSStringConversion 360 369 +2.5% 0.98x
NopDeinit 22910 22899 -0.0% 1.00x (?)
ObjectAllocation 178 178 +0.0% 1.00x
ObjectiveCBridgeFromNSArrayAnyObject 23706 23299 -1.7% 1.02x (?)
ObjectiveCBridgeFromNSArrayAnyObjectForced 3433 3472 +1.1% 0.99x
ObjectiveCBridgeFromNSArrayAnyObjectToString 40178 39582 -1.5% 1.02x
ObjectiveCBridgeFromNSArrayAnyObjectToStringForced 33703 34069 +1.1% 0.99x
ObjectiveCBridgeFromNSDictionaryAnyObject 124443 124661 +0.2% 1.00x (?)
ObjectiveCBridgeFromNSDictionaryAnyObjectForced 5050 5101 +1.0% 0.99x (?)
ObjectiveCBridgeFromNSDictionaryAnyObjectToString 93235 91433 -1.9% 1.02x (?)
ObjectiveCBridgeFromNSDictionaryAnyObjectToStringForced 104406 100599 -3.6% 1.04x (?)
ObjectiveCBridgeFromNSSetAnyObject 65459 68067 +4.0% 0.96x
ObjectiveCBridgeFromNSSetAnyObjectForced 4237 4276 +0.9% 0.99x (?)
ObjectiveCBridgeFromNSSetAnyObjectToString 68427 69997 +2.3% 0.98x
ObjectiveCBridgeFromNSSetAnyObjectToStringForced 68816 68962 +0.2% 1.00x (?)
ObjectiveCBridgeFromNSString 988 1003 +1.5% 0.99x (?)
ObjectiveCBridgeFromNSStringForced 1827 1845 +1.0% 0.99x
ObjectiveCBridgeStubDataAppend 3989 3850 -3.5% 1.04x
ObjectiveCBridgeStubDateAccess 182 182 +0.0% 1.00x
ObjectiveCBridgeStubDateMutation 272 272 +0.0% 1.00x
ObjectiveCBridgeStubFromArrayOfNSString 25351 25056 -1.2% 1.01x (?)
ObjectiveCBridgeStubFromNSDate 3595 3688 +2.6% 0.97x
ObjectiveCBridgeStubFromNSDateRef 4010 4072 +1.5% 0.98x
ObjectiveCBridgeStubFromNSString 532 540 +1.5% 0.99x
ObjectiveCBridgeStubFromNSStringRef 146 149 +2.1% 0.98x
ObjectiveCBridgeStubNSDataAppend 2457 2502 +1.8% 0.98x (?)
ObjectiveCBridgeStubNSDateMutationRef 12864 12882 +0.1% 1.00x (?)
ObjectiveCBridgeStubNSDateRefAccess 318 318 +0.0% 1.00x
ObjectiveCBridgeStubToArrayOfNSString 29138 29440 +1.0% 0.99x (?)
ObjectiveCBridgeStubToNSDate 14170 14831 +4.7% 0.96x (?)
ObjectiveCBridgeStubToNSDateRef 3387 3321 -1.9% 1.02x
ObjectiveCBridgeStubToNSString 1499 1502 +0.2% 1.00x
ObjectiveCBridgeStubToNSStringRef 118 117 -0.8% 1.01x
ObjectiveCBridgeStubURLAppendPath 221225 224793 +1.6% 0.98x
ObjectiveCBridgeStubURLAppendPathRef 223179 220677 -1.1% 1.01x (?)
ObjectiveCBridgeToNSArray 29489 29089 -1.4% 1.01x (?)
ObjectiveCBridgeToNSDictionary 48304 46564 -3.6% 1.04x
ObjectiveCBridgeToNSSet 40304 39991 -0.8% 1.01x (?)
ObjectiveCBridgeToNSString 1268 1268 +0.0% 1.00x
ObserverClosure 2338 2328 -0.4% 1.00x
ObserverForwarderStruct 913 909 -0.4% 1.00x (?)
ObserverPartiallyAppliedMethod 3803 3800 -0.1% 1.00x (?)
ObserverUnappliedMethod 2471 2509 +1.5% 0.98x (?)
OpenClose 3 3 +0.0% 1.00x
Phonebook 5699 5960 +4.6% 0.96x
PolymorphicCalls 17 17 +0.0% 1.00x
PopFrontArray 1294 1284 -0.8% 1.01x
PopFrontArrayGeneric 1280 1284 +0.3% 1.00x (?)
PopFrontUnsafePointer 6095 6093 -0.0% 1.00x (?)
PrefixAnyCollection 55 55 +0.0% 1.00x
PrefixAnySeqCntRange 50 50 +0.0% 1.00x
PrefixAnySeqCntRangeLazy 50 50 +0.0% 1.00x
PrefixAnySequence 5421 5574 +2.8% 0.97x
PrefixAnySequenceLazy 5497 5552 +1.0% 0.99x
PrefixArray 30 30 +0.0% 1.00x
PrefixArrayLazy 30 30 +0.0% 1.00x
PrefixSequence 1515 1515 +0.0% 1.00x
PrefixSequenceLazy 1459 1460 +0.1% 1.00x
PrefixWhileAnyCollection 93 93 +0.0% 1.00x
PrefixWhileAnyCollectionLazy 66 66 +0.0% 1.00x
PrefixWhileAnySeqCRangeIter 12917 12926 +0.1% 1.00x (?)
PrefixWhileAnySeqCRangeIterLazy 66 66 +0.0% 1.00x
PrefixWhileAnySeqCntRange 88 88 +0.0% 1.00x
PrefixWhileAnySeqCntRangeLazy 66 66 +0.0% 1.00x
PrefixWhileAnySequence 14345 14382 +0.3% 1.00x (?)
PrefixWhileAnySequenceLazy 1436 1436 +0.0% 1.00x
PrefixWhileArrayLazy 37 37 +0.0% 1.00x
PrefixWhileCountableRange 29 29 +0.0% 1.00x
PrefixWhileCountableRangeLazy 18 18 +0.0% 1.00x
PrefixWhileSequenceLazy 28 28 +0.0% 1.00x
Prims 761 790 +3.8% 0.96x
PrimsSplit 763 763 +0.0% 1.00x
ProtocolDispatch 3031 3030 -0.0% 1.00x (?)
RC4 171 170 -0.6% 1.01x
RGBHistogram 2202 2202 +0.0% 1.00x
RGBHistogramOfObjects 23390 23251 -0.6% 1.01x (?)
RangeAssignment 348 339 -2.6% 1.03x (?)
RangeIterationSigned64 151 152 +0.7% 0.99x (?)
RangeIterationUnsigned 151 153 +1.3% 0.99x
RecursiveOwnedParameter 2312 2304 -0.3% 1.00x
ReversedArray 47 45 -4.3% 1.04x
ReversedBidirectional 29221 29330 +0.4% 1.00x
SetExclusiveOr 2904 2902 -0.1% 1.00x (?)
SetExclusiveOr_OfObjects 8304 8168 -1.6% 1.02x (?)
SetIntersect 260 271 +4.2% 0.96x
SetIntersect_OfObjects 1731 1729 -0.1% 1.00x (?)
SetIsSubsetOf 294 294 +0.0% 1.00x
SetIsSubsetOf_OfObjects 366 366 +0.0% 1.00x
SetUnion 2607 2545 -2.4% 1.02x
SetUnion_OfObjects 7001 6910 -1.3% 1.01x
SevenBoom 1556 1521 -2.2% 1.02x (?)
SortLargeExistentials 8351 8323 -0.3% 1.00x
SortLettersInPlace 1154 1157 +0.3% 1.00x (?)
SortSortedStrings 857 881 +2.8% 0.97x
SortStrings 1639 1672 +2.0% 0.98x
SortStringsUnicode 8332 8116 -2.6% 1.03x
StackPromo 22681 22797 +0.5% 0.99x
StaticArray 5 5 +0.0% 1.00x
StrComplexWalk 1647 1587 -3.6% 1.04x
StrToInt 1826 1781 -2.5% 1.03x
StringAdder 3497 3512 +0.4% 1.00x
StringBuilder 1015 1029 +1.4% 0.99x
StringBuilderLong 1007 965 -4.2% 1.04x (?)
StringEdits 172059 172072 +0.0% 1.00x (?)
StringEnumRawValueInitialization 800 807 +0.9% 0.99x
StringFromLongWholeSubstring 176 175 -0.6% 1.01x
StringFromLongWholeSubstringGeneric 86 86 +0.0% 1.00x
StringHasPrefix 9 9 +0.0% 1.00x
StringHasPrefixUnicode 14931 15035 +0.7% 0.99x
StringHasSuffix 9 9 +0.0% 1.00x
StringHasSuffixUnicode 61621 61431 -0.3% 1.00x
StringInterpolation 10649 10983 +3.1% 0.97x
StringUTF16Builder 1878 1903 +1.3% 0.99x
StringWalk 1474 1490 +1.1% 0.99x
StringWithCString 66630 64738 -2.8% 1.03x
SubstringComparable 1614 1612 -0.1% 1.00x (?)
SubstringEqualString 1451 1427 -1.7% 1.02x
SubstringEquatable 3682 3701 +0.5% 0.99x
SubstringFromLongString 10 10 +0.0% 1.00x
SubstringFromLongStringGeneric 72 72 +0.0% 1.00x
SuffixAnyCollection 21 21 +0.0% 1.00x
SuffixAnySeqCRangeIter 5048 5045 -0.1% 1.00x (?)
SuffixAnySeqCRangeIterLazy 5047 5049 +0.0% 1.00x
SuffixAnySequence 6710 6709 -0.0% 1.00x (?)
SuffixAnySequenceLazy 6689 6674 -0.2% 1.00x
SuffixCountableRange 6 6 +0.0% 1.00x
SuffixCountableRangeLazy 6 6 +0.0% 1.00x
SuffixSequence 4648 4652 +0.1% 1.00x (?)
SuffixSequenceLazy 4646 4661 +0.3% 1.00x
SumUsingReduce 97 97 +0.0% 1.00x
SumUsingReduceInto 96 97 +1.0% 0.99x
SuperChars 85549 85405 -0.2% 1.00x (?)
TwoSum 944 945 +0.1% 1.00x (?)
TypeFlood 0 0 +0.0% 1.00x
UTF8Decode 254 254 +0.0% 1.00x
Walsh 393 398 +1.3% 0.99x (?)
XorLoop 345 345 +0.0% 1.00x

Unoptimized (Onone)

Regression (13)
TEST OLD NEW DELTA SPEEDUP
SuffixAnyCollectionLazy 47620 98605 +107.1% 0.48x
DropLastAnyCollectionLazy 47680 83272 +74.6% 0.57x
ArrayOfGenericPOD 1206 1382 +14.6% 0.87x
StringHasPrefix 1825 2065 +13.2% 0.88x
PrefixAnyCollectionLazy 141297 159737 +13.1% 0.88x
ArrayOfPOD 714 792 +10.9% 0.90x
ExclusivityGlobal 171 189 +10.5% 0.90x
StringHasSuffix 1998 2170 +8.6% 0.92x
CharacterLiteralsSmall 692 740 +6.9% 0.94x
ObjectiveCBridgeFromNSDictionaryAnyObject 124156 131956 +6.3% 0.94x
RangeAssignment 5686 6037 +6.2% 0.94x
ArrayAppendGenericStructs 1300 1375 +5.8% 0.95x
SevenBoom 1616 1702 +5.3% 0.95x (?)
Improvement (25)
TEST OLD NEW DELTA SPEEDUP
CaptureProp 123604 107923 -12.7% 1.15x
DropWhileArrayLazy 19837 17474 -11.9% 1.14x
PopFrontArray 10378 9511 -8.4% 1.09x
ArrayAppendRepeatCol 235885 217178 -7.9% 1.09x
PopFrontArrayGeneric 9201 8498 -7.6% 1.08x
PrefixArray 7018 6507 -7.3% 1.08x
DropWhileCountableRange 6634 6167 -7.0% 1.08x
ExclusivityInMatSet 329 306 -7.0% 1.08x
PrefixWhileCountableRange 18986 17683 -6.9% 1.07x
PrefixWhileAnySeqCntRange 38745 36203 -6.6% 1.07x
SuffixAnySeqCRangeIterLazy 46104 43109 -6.5% 1.07x
PrefixWhileAnyCollection 38655 36156 -6.5% 1.07x
DropWhileAnySeqCntRangeLazy 29003 27260 -6.0% 1.06x
DropWhileAnyCollectionLazy 29122 27443 -5.8% 1.06x
DropLastAnySeqCRangeIterLazy 48533 45773 -5.7% 1.06x
DropWhileAnySeqCntRange 26558 25070 -5.6% 1.06x
DropFirstArray 6885 6507 -5.5% 1.06x
PrefixAnySeqCRangeIter 24729 23375 -5.5% 1.06x (?)
DropLastAnySeqCRangeIter 48554 45928 -5.4% 1.06x
LazilyFilteredRange 719966 681623 -5.3% 1.06x
DropWhileAnyCollection 26331 25017 -5.0% 1.05x
DictionaryRemove 22739 21614 -4.9% 1.05x
DropWhileAnySeqCRangeIterLazy 28694 27292 -4.9% 1.05x
PrefixAnySeqCntRange 20696 19701 -4.8% 1.05x
DropWhileAnySeqCRangeIter 33109 31519 -4.8% 1.05x (?)
No Changes (296)
TEST OLD NEW DELTA SPEEDUP
AngryPhonebook 4940 4992 +1.1% 0.99x
AnyHashableWithAClass 84368 85430 +1.3% 0.99x
Array2D 640165 647581 +1.2% 0.99x
ArrayAppend 4915 4908 -0.1% 1.00x
ArrayAppendArrayOfInt 658 652 -0.9% 1.01x
ArrayAppendAscii 53558 52606 -1.8% 1.02x
ArrayAppendFromGeneric 662 656 -0.9% 1.01x
ArrayAppendLatin1 77943 82015 +5.2% 0.95x
ArrayAppendLazyMap 228111 228868 +0.3% 1.00x (?)
ArrayAppendOptionals 1304 1311 +0.5% 0.99x (?)
ArrayAppendReserved 4878 4648 -4.7% 1.05x
ArrayAppendSequence 77209 79291 +2.7% 0.97x
ArrayAppendStrings 15313 15246 -0.4% 1.00x (?)
ArrayAppendToFromGeneric 661 653 -1.2% 1.01x
ArrayAppendToGeneric 661 655 -0.9% 1.01x
ArrayAppendUTF16 76194 78306 +2.8% 0.97x
ArrayInClass 6612 6590 -0.3% 1.00x
ArrayLiteral 1767 1760 -0.4% 1.00x (?)
ArrayOfGenericRef 10033 10074 +0.4% 1.00x
ArrayOfRef 9210 9248 +0.4% 1.00x (?)
ArrayPlusEqualArrayOfInt 659 653 -0.9% 1.01x
ArrayPlusEqualFiveElementCollection 305564 292770 -4.2% 1.04x
ArrayPlusEqualSingleElementCollection 303166 290599 -4.1% 1.04x
ArrayPlusEqualThreeElements 11175 10841 -3.0% 1.03x
ArraySetElement 4789 4790 +0.0% 1.00x
ArraySubscript 89313 86517 -3.1% 1.03x (?)
ArrayValueProp 3597 3608 +0.3% 1.00x
ArrayValueProp2 19648 20030 +1.9% 0.98x (?)
ArrayValueProp3 4284 4284 +0.0% 1.00x
ArrayValueProp4 4220 4249 +0.7% 0.99x
BitCount 1460 1464 +0.3% 1.00x
ByteSwap 4044 4010 -0.8% 1.01x (?)
CStringLongAscii 4680 4746 +1.4% 0.99x
CStringLongNonAscii 2387 2449 +2.6% 0.97x (?)
CStringShortAscii 8824 8757 -0.8% 1.01x (?)
Calculator 1105 1125 +1.8% 0.98x
CharIndexing_ascii_unicodeScalars 503862 490645 -2.6% 1.03x
CharIndexing_ascii_unicodeScalars_Backwards 536169 522128 -2.6% 1.03x
CharIndexing_chinese_unicodeScalars 375366 369769 -1.5% 1.02x
CharIndexing_chinese_unicodeScalars_Backwards 402245 396123 -1.5% 1.02x (?)
CharIndexing_japanese_unicodeScalars 596390 586084 -1.7% 1.02x (?)
CharIndexing_japanese_unicodeScalars_Backwards 627425 630412 +0.5% 1.00x (?)
CharIndexing_korean_unicodeScalars 481975 478284 -0.8% 1.01x (?)
CharIndexing_korean_unicodeScalars_Backwards 513154 506854 -1.2% 1.01x
CharIndexing_punctuatedJapanese_unicodeScalars 87277 87209 -0.1% 1.00x (?)
CharIndexing_punctuatedJapanese_unicodeScalars_Backwards 90968 89021 -2.1% 1.02x
CharIndexing_punctuated_unicodeScalars 108795 106936 -1.7% 1.02x
CharIndexing_punctuated_unicodeScalars_Backwards 114719 114146 -0.5% 1.01x (?)
CharIndexing_russian_unicodeScalars 413034 407272 -1.4% 1.01x (?)
CharIndexing_russian_unicodeScalars_Backwards 436382 434441 -0.4% 1.00x (?)
CharIndexing_tweet_unicodeScalars 1000525 977249 -2.3% 1.02x (?)
CharIndexing_tweet_unicodeScalars_Backwards 1071383 1063105 -0.8% 1.01x (?)
CharIndexing_utf16_unicodeScalars 545560 540219 -1.0% 1.01x (?)
CharIndexing_utf16_unicodeScalars_Backwards 588993 576546 -2.1% 1.02x
CharIteration_ascii_unicodeScalars 188156 186998 -0.6% 1.01x
CharIteration_ascii_unicodeScalars_Backwards 323841 333408 +3.0% 0.97x
CharIteration_chinese_unicodeScalars 140614 139971 -0.5% 1.00x
CharIteration_chinese_unicodeScalars_Backwards 241967 249832 +3.3% 0.97x (?)
CharIteration_japanese_unicodeScalars 222138 221930 -0.1% 1.00x
CharIteration_japanese_unicodeScalars_Backwards 382911 395995 +3.4% 0.97x
CharIteration_korean_unicodeScalars 182410 181414 -0.5% 1.01x
CharIteration_korean_unicodeScalars_Backwards 314730 320751 +1.9% 0.98x (?)
CharIteration_punctuatedJapanese_unicodeScalars 33430 33416 -0.0% 1.00x
CharIteration_punctuatedJapanese_unicodeScalars_Backwards 57209 57914 +1.2% 0.99x (?)
CharIteration_punctuated_unicodeScalars 42018 41867 -0.4% 1.00x (?)
CharIteration_punctuated_unicodeScalars_Backwards 70617 73184 +3.6% 0.96x (?)
CharIteration_russian_unicodeScalars 156965 156041 -0.6% 1.01x
CharIteration_russian_unicodeScalars_Backwards 269285 275714 +2.4% 0.98x
CharIteration_tweet_unicodeScalars 367280 364828 -0.7% 1.01x
CharIteration_tweet_unicodeScalars_Backwards 634498 649140 +2.3% 0.98x
CharIteration_utf16_unicodeScalars 204917 203649 -0.6% 1.01x
CharIteration_utf16_unicodeScalars_Backwards 404103 402518 -0.4% 1.00x (?)
CharacterLiteralsLarge 6159 6171 +0.2% 1.00x
Chars 51347 51489 +0.3% 1.00x
ClassArrayGetter 1045 1045 +0.0% 1.00x
DeadArray 113167 114070 +0.8% 0.99x (?)
Dictionary 3085 3107 +0.7% 0.99x (?)
Dictionary2 3474 3474 +0.0% 1.00x
Dictionary2OfObjects 6065 6063 -0.0% 1.00x (?)
Dictionary3 1327 1316 -0.8% 1.01x (?)
Dictionary3OfObjects 2311 2313 +0.1% 1.00x (?)
DictionaryBridge 2680 2672 -0.3% 1.00x (?)
DictionaryGroup 5399 5207 -3.6% 1.04x
DictionaryGroupOfObjects 8252 8256 +0.0% 1.00x (?)
DictionaryLiteral 8581 8659 +0.9% 0.99x
DictionaryOfObjects 6538 6618 +1.2% 0.99x
DictionaryRemoveOfObjects 59115 59897 +1.3% 0.99x (?)
DictionarySwap 5410 5370 -0.7% 1.01x
DictionarySwapOfObjects 23090 23084 -0.0% 1.00x (?)
DropFirstAnyCollection 20220 19631 -2.9% 1.03x
DropFirstAnyCollectionLazy 144292 147813 +2.4% 0.98x
DropFirstAnySeqCRangeIter 30583 29457 -3.7% 1.04x (?)
DropFirstAnySeqCRangeIterLazy 30536 29530 -3.3% 1.03x
DropFirstAnySeqCntRange 20713 19762 -4.6% 1.05x
DropFirstAnySeqCntRangeLazy 20483 19517 -4.7% 1.05x
DropFirstAnySequence 15971 16185 +1.3% 0.99x
DropFirstAnySequenceLazy 15896 16359 +2.9% 0.97x
DropFirstArrayLazy 45648 44748 -2.0% 1.02x (?)
DropFirstCountableRange 472 468 -0.8% 1.01x
DropFirstCountableRangeLazy 41157 40139 -2.5% 1.03x
DropFirstSequence 14813 14928 +0.8% 0.99x
DropFirstSequenceLazy 14814 15042 +1.5% 0.98x
DropLastAnyCollection 6790 6618 -2.5% 1.03x
DropLastAnySeqCntRange 6755 6586 -2.5% 1.03x
DropLastAnySeqCntRangeLazy 6742 6492 -3.7% 1.04x (?)
DropLastAnySequence 33829 33812 -0.1% 1.00x
DropLastAnySequenceLazy 33748 33732 -0.0% 1.00x (?)
DropLastArray 2213 2139 -3.3% 1.03x
DropLastArrayLazy 15237 14928 -2.0% 1.02x
DropLastCountableRange 163 161 -1.2% 1.01x
DropLastCountableRangeLazy 13763 13318 -3.2% 1.03x
DropLastSequence 33429 33398 -0.1% 1.00x (?)
DropLastSequenceLazy 33372 33317 -0.2% 1.00x
DropWhileAnySequence 18873 18913 +0.2% 1.00x (?)
DropWhileAnySequenceLazy 15210 15141 -0.5% 1.00x
DropWhileArray 10518 10480 -0.4% 1.00x (?)
DropWhileCountableRangeLazy 27541 26707 -3.0% 1.03x
DropWhileSequence 17744 17934 +1.1% 0.99x
DropWhileSequenceLazy 13812 13921 +0.8% 0.99x
EqualStringSubstring 674 677 +0.4% 1.00x (?)
EqualSubstringString 672 674 +0.3% 1.00x (?)
EqualSubstringSubstring 787 789 +0.3% 1.00x (?)
EqualSubstringSubstringGenericEquatable 422 420 -0.5% 1.00x
ErrorHandling 7014 7025 +0.2% 1.00x (?)
ExclusivityIndependent 124 124 +0.0% 1.00x
FilterEvenUsingReduce 4315 4331 +0.4% 1.00x (?)
FilterEvenUsingReduceInto 2498 2507 +0.4% 1.00x (?)
FrequenciesUsingReduce 16040 16392 +2.2% 0.98x
FrequenciesUsingReduceInto 8905 9016 +1.2% 0.99x (?)
Hanoi 18984 19184 +1.1% 0.99x (?)
HashTest 17431 17595 +0.9% 0.99x
Histogram 9019 9000 -0.2% 1.00x (?)
Integrate 686 683 -0.4% 1.00x
IterateData 13588 13557 -0.2% 1.00x (?)
Join 1518 1520 +0.1% 1.00x (?)
LazilyFilteredArrayContains 1036974 1001616 -3.4% 1.04x
LazilyFilteredArrays 1759597 1766573 +0.4% 1.00x (?)
LessSubstringSubstring 793 792 -0.1% 1.00x (?)
LessSubstringSubstringGenericComparable 440 440 +0.0% 1.00x
LinkedList 40323 40430 +0.3% 1.00x
MapReduce 38597 39182 +1.5% 0.99x
MapReduceAnyCollection 38471 39070 +1.6% 0.98x
MapReduceAnyCollectionShort 51118 51192 +0.1% 1.00x (?)
MapReduceClass 44064 44082 +0.0% 1.00x (?)
MapReduceClassShort 54688 54687 -0.0% 1.00x (?)
MapReduceLazyCollection 34854 35014 +0.5% 1.00x
MapReduceLazyCollectionShort 46282 46243 -0.1% 1.00x (?)
MapReduceLazySequence 29949 29724 -0.8% 1.01x (?)
MapReduceSequence 46261 45985 -0.6% 1.01x (?)
MapReduceShort 51784 51010 -1.5% 1.02x
MapReduceShortString 282 283 +0.4% 1.00x (?)
MapReduceString 2675 2703 +1.0% 0.99x
Memset 47293 47296 +0.0% 1.00x (?)
MonteCarloE 968295 958784 -1.0% 1.01x
MonteCarloPi 4207253 4155473 -1.2% 1.01x (?)
NSDictionaryCastToSwift 6625 6653 +0.4% 1.00x (?)
NSError 734 731 -0.4% 1.00x (?)
NSStringConversion 389 405 +4.1% 0.96x
NopDeinit 171400 170465 -0.5% 1.01x
ObjectAllocation 1462 1466 +0.3% 1.00x (?)
ObjectiveCBridgeFromNSArrayAnyObject 25054 25405 +1.4% 0.99x (?)
ObjectiveCBridgeFromNSArrayAnyObjectForced 6771 6891 +1.8% 0.98x (?)
ObjectiveCBridgeFromNSArrayAnyObjectToString 41476 41408 -0.2% 1.00x (?)
ObjectiveCBridgeFromNSArrayAnyObjectToStringForced 34922 35012 +0.3% 1.00x (?)
ObjectiveCBridgeFromNSDictionaryAnyObjectForced 7930 7609 -4.0% 1.04x (?)
ObjectiveCBridgeFromNSDictionaryAnyObjectToString 96428 100141 +3.9% 0.96x (?)
ObjectiveCBridgeFromNSDictionaryAnyObjectToStringForced 100847 103938 +3.1% 0.97x (?)
ObjectiveCBridgeFromNSSetAnyObject 69290 69133 -0.2% 1.00x (?)
ObjectiveCBridgeFromNSSetAnyObjectForced 7384 7691 +4.2% 0.96x
ObjectiveCBridgeFromNSSetAnyObjectToString 74201 73928 -0.4% 1.00x (?)
ObjectiveCBridgeFromNSSetAnyObjectToStringForced 74337 73827 -0.7% 1.01x (?)
ObjectiveCBridgeFromNSString 3991 4059 +1.7% 0.98x
ObjectiveCBridgeFromNSStringForced 2246 2289 +1.9% 0.98x
ObjectiveCBridgeStubDataAppend 4662 4661 -0.0% 1.00x (?)
ObjectiveCBridgeStubDateAccess 1231 1232 +0.1% 1.00x
ObjectiveCBridgeStubDateMutation 682 671 -1.6% 1.02x
ObjectiveCBridgeStubFromArrayOfNSString 25281 25463 +0.7% 0.99x (?)
ObjectiveCBridgeStubFromNSDate 4000 3898 -2.5% 1.03x
ObjectiveCBridgeStubFromNSDateRef 4654 4591 -1.4% 1.01x (?)
ObjectiveCBridgeStubFromNSString 591 591 +0.0% 1.00x
ObjectiveCBridgeStubFromNSStringRef 198 198 +0.0% 1.00x
ObjectiveCBridgeStubNSDataAppend 2879 2911 +1.1% 0.99x (?)
ObjectiveCBridgeStubNSDateMutationRef 16114 16181 +0.4% 1.00x (?)
ObjectiveCBridgeStubNSDateRefAccess 1423 1421 -0.1% 1.00x (?)
ObjectiveCBridgeStubToArrayOfNSString 28834 28404 -1.5% 1.02x (?)
ObjectiveCBridgeStubToNSDate 15841 15137 -4.4% 1.05x (?)
ObjectiveCBridgeStubToNSDateRef 3466 3521 +1.6% 0.98x (?)
ObjectiveCBridgeStubToNSString 1560 1551 -0.6% 1.01x
ObjectiveCBridgeStubToNSStringRef 167 167 +0.0% 1.00x
ObjectiveCBridgeStubURLAppendPath 227999 230961 +1.3% 0.99x
ObjectiveCBridgeStubURLAppendPathRef 229424 229128 -0.1% 1.00x (?)
ObjectiveCBridgeToNSArray 29716 29726 +0.0% 1.00x (?)
ObjectiveCBridgeToNSDictionary 46441 47060 +1.3% 0.99x (?)
ObjectiveCBridgeToNSSet 41399 40783 -1.5% 1.02x (?)
ObjectiveCBridgeToNSString 1324 1326 +0.2% 1.00x
ObserverClosure 7027 6955 -1.0% 1.01x
ObserverForwarderStruct 5185 5145 -0.8% 1.01x
ObserverPartiallyAppliedMethod 8441 8439 -0.0% 1.00x (?)
ObserverUnappliedMethod 8825 8912 +1.0% 0.99x (?)
OpenClose 395 393 -0.5% 1.01x
Phonebook 21120 21078 -0.2% 1.00x
PolymorphicCalls 5278 5304 +0.5% 1.00x
PopFrontUnsafePointer 7856 7826 -0.4% 1.00x
PrefixAnyCollection 20194 19793 -2.0% 1.02x
PrefixAnySeqCRangeIterLazy 24326 23599 -3.0% 1.03x
PrefixAnySeqCntRangeLazy 20509 19547 -4.7% 1.05x
PrefixAnySequence 13094 13324 +1.8% 0.98x
PrefixAnySequenceLazy 12986 13333 +2.7% 0.97x
PrefixArrayLazy 45814 44776 -2.3% 1.02x
PrefixCountableRange 472 468 -0.8% 1.01x
PrefixCountableRangeLazy 41189 40177 -2.5% 1.03x
PrefixSequence 12066 12074 +0.1% 1.00x
PrefixSequenceLazy 11913 12031 +1.0% 0.99x
PrefixWhileAnyCollectionLazy 23439 22674 -3.3% 1.03x
PrefixWhileAnySeqCRangeIter 43925 42509 -3.2% 1.03x
PrefixWhileAnySeqCRangeIterLazy 23411 22632 -3.3% 1.03x
PrefixWhileAnySeqCntRangeLazy 23796 22675 -4.7% 1.05x
PrefixWhileAnySequence 32888 32895 +0.0% 1.00x (?)
PrefixWhileAnySequenceLazy 13436 13697 +1.9% 0.98x
PrefixWhileArray 17235 17943 +4.1% 0.96x (?)
PrefixWhileArrayLazy 15917 15374 -3.4% 1.04x
PrefixWhileCountableRangeLazy 22781 21837 -4.1% 1.04x
PrefixWhileSequence 31679 31747 +0.2% 1.00x (?)
PrefixWhileSequenceLazy 12533 12610 +0.6% 0.99x
Prims 10572 10704 +1.2% 0.99x (?)
PrimsSplit 10719 10757 +0.4% 1.00x
ProtocolDispatch 7577 7580 +0.0% 1.00x
ProtocolDispatch2 498 498 +0.0% 1.00x
RC4 19177 19261 +0.4% 1.00x (?)
RGBHistogram 34427 33971 -1.3% 1.01x (?)
RGBHistogramOfObjects 106021 105597 -0.4% 1.00x
RangeIterationSigned 17714 18008 +1.7% 0.98x
RangeIterationSigned64 51706 51147 -1.1% 1.01x (?)
RangeIterationUnsigned 47365 47316 -0.1% 1.00x
RecursiveOwnedParameter 11056 11045 -0.1% 1.00x (?)
ReversedArray 44570 44652 +0.2% 1.00x (?)
ReversedBidirectional 76222 74706 -2.0% 1.02x
ReversedDictionary 30293 30612 +1.1% 0.99x
SetExclusiveOr 23084 23072 -0.1% 1.00x (?)
SetExclusiveOr_OfObjects 48013 48246 +0.5% 1.00x
SetIntersect 12593 12691 +0.8% 0.99x
SetIntersect_OfObjects 12605 12613 +0.1% 1.00x (?)
SetIsSubsetOf 1884 1904 +1.1% 0.99x
SetIsSubsetOf_OfObjects 1583 1567 -1.0% 1.01x
SetUnion 11999 11980 -0.2% 1.00x (?)
SetUnion_OfObjects 33602 33798 +0.6% 0.99x
Sim2DArray 45191 45208 +0.0% 1.00x
SortLargeExistentials 17398 16677 -4.1% 1.04x
SortLettersInPlace 3057 3001 -1.8% 1.02x
SortSortedStrings 1441 1449 +0.6% 0.99x (?)
SortStrings 2563 2597 +1.3% 0.99x
SortStringsUnicode 9262 9092 -1.8% 1.02x
StackPromo 103128 102748 -0.4% 1.00x (?)
StaticArray 4688 4577 -2.4% 1.02x
StrComplexWalk 6981 6999 +0.3% 1.00x (?)
StrToInt 126359 125952 -0.3% 1.00x (?)
StringAdder 3764 3793 +0.8% 0.99x
StringBuilder 7187 7364 +2.5% 0.98x (?)
StringBuilderLong 1118 1114 -0.4% 1.00x (?)
StringEdits 378103 375075 -0.8% 1.01x (?)
StringEnumRawValueInitialization 12471 12912 +3.5% 0.97x
StringEqualPointerComparison 2643 2723 +3.0% 0.97x
StringFromLongWholeSubstring 216 213 -1.4% 1.01x
StringFromLongWholeSubstringGeneric 212 212 +0.0% 1.00x
StringHasPrefixUnicode 17225 17186 -0.2% 1.00x
StringHasSuffixUnicode 63467 63969 +0.8% 0.99x
StringInterpolation 13712 13569 -1.0% 1.01x (?)
StringMatch 34200 34728 +1.5% 0.98x (?)
StringUTF16Builder 8244 8304 +0.7% 0.99x (?)
StringWalk 12169 12048 -1.0% 1.01x
StringWithCString 55767 57328 +2.8% 0.97x
SubstringComparable 4273 4303 +0.7% 0.99x
SubstringEqualString 6557 6498 -0.9% 1.01x
SubstringEquatable 8399 8435 +0.4% 1.00x
SubstringFromLongString 17 17 +0.0% 1.00x
SubstringFromLongStringGeneric 112 113 +0.9% 0.99x (?)
SuffixAnyCollection 6754 6565 -2.8% 1.03x
SuffixAnySeqCRangeIter 45097 43144 -4.3% 1.05x
SuffixAnySeqCntRange 6746 6581 -2.4% 1.03x (?)
SuffixAnySeqCntRangeLazy 6744 6462 -4.2% 1.04x
SuffixAnySequence 31288 31239 -0.2% 1.00x
SuffixAnySequenceLazy 31327 31185 -0.5% 1.00x
SuffixArray 2196 2140 -2.6% 1.03x
SuffixArrayLazy 15199 14938 -1.7% 1.02x (?)
SuffixCountableRange 163 161 -1.2% 1.01x
SuffixCountableRangeLazy 13718 13331 -2.8% 1.03x
SuffixSequence 31052 31105 +0.2% 1.00x (?)
SuffixSequenceLazy 30961 30771 -0.6% 1.01x
SumUsingReduce 230210 230988 +0.3% 1.00x
SumUsingReduceInto 226205 227811 +0.7% 0.99x (?)
SuperChars 192995 192896 -0.1% 1.00x (?)
TwoSum 4403 4360 -1.0% 1.01x
TypeFlood 182 176 -3.3% 1.03x (?)
UTF8Decode 38437 38377 -0.2% 1.00x
Walsh 12538 12536 -0.0% 1.00x (?)
XorLoop 24646 24642 -0.0% 1.00x (?)
Hardware Overview
  Model Name: Mac mini
  Model Identifier: Macmini7,1
  Processor Name: Intel Core i5
  Processor Speed: 2.8 GHz
  Number of Processors: 1
  Total Number of Cores: 2
  L2 Cache (per Core): 256 KB
  L3 Cache: 3 MB
  Memory: 16 GB

@airspeedswift
Copy link
Member Author

Huh. Failure seems unrelated, lets try again.

@airspeedswift
Copy link
Member Author

@swift-ci please test

@swift-ci
Copy link
Contributor

swift-ci commented Dec 4, 2017

Build failed
Swift Test OS X Platform
Git Sha - 4e77f3b216c3cb4eb2c3b569e6c0d74fca462e37

@swift-ci
Copy link
Contributor

swift-ci commented Dec 4, 2017

Build failed
Swift Test Linux Platform
Git Sha - 4e77f3b216c3cb4eb2c3b569e6c0d74fca462e37

@DougGregor
Copy link
Member

FYI, #13246 addresses the crash I was seeing with attempts to use IndexDistance in this pull request.

@airspeedswift airspeedswift changed the title [stdlib][WIP]Eradicate IndexDistance associated type [stdlib] Eradicate IndexDistance associated type Dec 4, 2017
@DougGregor
Copy link
Member

Scratch that. #13250 is a more-appropriate fix for the deprecated IndexDistance type alias.

@airspeedswift
Copy link
Member Author

@swift-ci please test

@swift-ci
Copy link
Contributor

swift-ci commented Dec 7, 2017

Build failed
Swift Test Linux Platform
Git Sha - 32d43e93c619500098fd4cdfe678f21b6e1f4f79

@swift-ci
Copy link
Contributor

swift-ci commented Dec 7, 2017

Build failed
Swift Test OS X Platform
Git Sha - 32d43e93c619500098fd4cdfe678f21b6e1f4f79

@airspeedswift
Copy link
Member Author

@swift-ci please test

@airspeedswift
Copy link
Member Author

@swift-ci please test source compatibility

@swift-ci
Copy link
Contributor

swift-ci commented Dec 7, 2017

Build failed
Swift Test OS X Platform
Git Sha - b73e728a2774cbaea69ccc2cf3c22b5900f2a987

@swift-ci
Copy link
Contributor

swift-ci commented Dec 7, 2017

Build failed
Swift Test Linux Platform
Git Sha - b73e728a2774cbaea69ccc2cf3c22b5900f2a987

@airspeedswift
Copy link
Member Author

@swift-ci please test linux platform

@airspeedswift
Copy link
Member Author

@swift-ci please test source compatibility

@airspeedswift airspeedswift merged commit 4ddac3f into swiftlang:master Dec 8, 2017
airspeedswift added a commit to airspeedswift/swift that referenced this pull request Dec 8, 2017
* Eradicate IndexDistance associated type, replacing with Int everywhere

* Consistently use Int for ExistentialCollection’s IndexDistance type.

* Fix test for IndexDistance removal

* Remove a handful of no-longer-needed explicit types

* Add compatibility shims for non-Int index distances

* Test compatibility shim

* Move IndexDistance typealias into the Collection protocol
airspeedswift added a commit that referenced this pull request Dec 8, 2017
* Eradicate IndexDistance associated type, replacing with Int everywhere

* Consistently use Int for ExistentialCollection’s IndexDistance type.

* Fix test for IndexDistance removal

* Remove a handful of no-longer-needed explicit types

* Add compatibility shims for non-Int index distances

* Test compatibility shim

* Move IndexDistance typealias into the Collection protocol
tayloraswift pushed a commit to tayloraswift/swift-evolution that referenced this pull request Oct 24, 2018
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.

5 participants