Forked from masonmark/WastingTimeOnStackOverflowTests.swift
Created
June 25, 2018 05:41
-
-
Save vanics/44ec35a4ed668c84e40148ea55ef7ae3 to your computer and use it in GitHub Desktop.
Revisions
-
masonmark revised this gist
Sep 18, 2016 . 1 changed file with 3 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -12,7 +12,9 @@ import XCTest // /// Each test checks the validity of 2,192 different integers, using one of the two /// methods. The end result is that both ways are fast and any difference is extremely /// marginal. (Hard to measure since it is so small, but the second way might be on the /// order of 0.00000005 seconds faster.) Therfore, I will use the first (IMO less /// puke-looking) method henceforth. /// /// Related SO discussion: http://stackoverflow.com/a/35512668/164017 -
masonmark revised this gist
Sep 18, 2016 . 2 changed files with 78 additions and 79 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -42,7 +42,7 @@ class WastingTimeOnStackOverflowTests: XCTestCase { } } func test_performance_of_manual_index_check() { let a = makeArray(1_000_000) var results: [Bool] = [] This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,114 +1,113 @@ Test Suite 'Selected tests' started at 2016-09-18 20:02:00.406 Test Suite 'DerployerTests.xctest' started at 2016-09-18 20:02:00.407 Test Suite 'WastingTimeOnStackOverflowTests' started at 2016-09-18 20:02:00.407 Test Case '-[DerployerTests.WastingTimeOnStackOverflowTests test_performance_of_manual_index_check]' started. /Users/mason/Code/derployer/WastingTimeOnStackOverflowTests.swift:57: Test Case '-[DerployerTests.WastingTimeOnStackOverflowTests test_performance_of_manual_index_check]' measured [Time, seconds] average: 0.001, relative standard deviation: 15.168%, values: [0.000755, 0.000564, 0.000498, 0.000502, 0.000531, 0.000483, 0.000478, 0.000480, 0.000497, 0.000486], performanceMetricID:com.apple.XCTPerformanceMetric_WallClockTime, baselineName: "", baselineAverage: , maxPercentRegression: 10.000%, maxPercentRelativeStandardDeviation: 10.000%, maxRegression: 0.100, maxStandardDeviation: 0.100 Test Case '-[DerployerTests.WastingTimeOnStackOverflowTests test_performance_of_manual_index_check]' passed (1.470 seconds). Test Case '-[DerployerTests.WastingTimeOnStackOverflowTests test_performance_of_array_indices_contains]' started. /Users/mason/Code/derployer/WastingTimeOnStackOverflowTests.swift:42: Test Case '-[DerployerTests.WastingTimeOnStackOverflowTests test_performance_of_array_indices_contains]' measured [Time, seconds] average: 0.001, relative standard deviation: 6.247%, values: [0.000734, 0.000635, 0.000634, 0.000628, 0.000639, 0.000628, 0.000630, 0.000630, 0.000641, 0.000736], performanceMetricID:com.apple.XCTPerformanceMetric_WallClockTime, baselineName: "", baselineAverage: , maxPercentRegression: 10.000%, maxPercentRelativeStandardDeviation: 10.000%, maxRegression: 0.100, maxStandardDeviation: 0.100 Test Case '-[DerployerTests.WastingTimeOnStackOverflowTests test_performance_of_array_indices_contains]' passed (1.320 seconds). Test Suite 'WastingTimeOnStackOverflowTests' passed at 2016-09-18 20:02:03.198. Executed 2 tests, with 0 failures (0 unexpected) in 2.789 (2.791) seconds Test Suite 'DerployerTests.xctest' passed at 2016-09-18 20:02:03.199. Executed 2 tests, with 0 failures (0 unexpected) in 2.789 (2.792) seconds Test Suite 'Selected tests' passed at 2016-09-18 20:02:03.199. Executed 2 tests, with 0 failures (0 unexpected) in 2.789 (2.793) seconds Test session log: /Users/mason/Library/Developer/Xcode/DerivedData/Derployer-aviznqlnnemdnpbomkyrkjakvgot/Logs/Test/E7063509-AD7D-441D-80E6-E8C77924AD51/Session-DerployerTests-2016-09-18_200151-q10aCG.log Program ended with exit code: 0 Test Suite 'Selected tests' started at 2016-09-18 20:02:25.250 Test Suite 'DerployerTests.xctest' started at 2016-09-18 20:02:25.251 Test Suite 'WastingTimeOnStackOverflowTests' started at 2016-09-18 20:02:25.252 Test Case '-[DerployerTests.WastingTimeOnStackOverflowTests test_performance_of_manual_index_check]' started. /Users/mason/Code/derployer/WastingTimeOnStackOverflowTests.swift:57: Test Case '-[DerployerTests.WastingTimeOnStackOverflowTests test_performance_of_manual_index_check]' measured [Time, seconds] average: 0.000, relative standard deviation: 11.841%, values: [0.000671, 0.000476, 0.000475, 0.000473, 0.000518, 0.000473, 0.000473, 0.000473, 0.000476, 0.000473], performanceMetricID:com.apple.XCTPerformanceMetric_WallClockTime, baselineName: "", baselineAverage: , maxPercentRegression: 10.000%, maxPercentRelativeStandardDeviation: 10.000%, maxRegression: 0.100, maxStandardDeviation: 0.100 Test Case '-[DerployerTests.WastingTimeOnStackOverflowTests test_performance_of_manual_index_check]' passed (1.440 seconds). Test Case '-[DerployerTests.WastingTimeOnStackOverflowTests test_performance_of_array_indices_contains]' started. /Users/mason/Code/derployer/WastingTimeOnStackOverflowTests.swift:42: Test Case '-[DerployerTests.WastingTimeOnStackOverflowTests test_performance_of_array_indices_contains]' measured [Time, seconds] average: 0.001, relative standard deviation: 7.898%, values: [0.000810, 0.000647, 0.000631, 0.000643, 0.000641, 0.000630, 0.000629, 0.000654, 0.000653, 0.000631], performanceMetricID:com.apple.XCTPerformanceMetric_WallClockTime, baselineName: "", baselineAverage: , maxPercentRegression: 10.000%, maxPercentRelativeStandardDeviation: 10.000%, maxRegression: 0.100, maxStandardDeviation: 0.100 Test Case '-[DerployerTests.WastingTimeOnStackOverflowTests test_performance_of_array_indices_contains]' passed (1.316 seconds). Test Suite 'WastingTimeOnStackOverflowTests' passed at 2016-09-18 20:02:28.009. Executed 2 tests, with 0 failures (0 unexpected) in 2.756 (2.757) seconds Test Suite 'DerployerTests.xctest' passed at 2016-09-18 20:02:28.009. Executed 2 tests, with 0 failures (0 unexpected) in 2.756 (2.758) seconds Test Suite 'Selected tests' passed at 2016-09-18 20:02:28.010. Executed 2 tests, with 0 failures (0 unexpected) in 2.756 (2.760) seconds Test session log: /Users/mason/Library/Developer/Xcode/DerivedData/Derployer-aviznqlnnemdnpbomkyrkjakvgot/Logs/Test/21F33912-F263-4517-BA84-C0AEDA118421/Session-DerployerTests-2016-09-18_200223-qRi5NH.log Program ended with exit code: 0 Test Suite 'Selected tests' started at 2016-09-18 20:02:42.762 Test Suite 'DerployerTests.xctest' started at 2016-09-18 20:02:42.763 Test Suite 'WastingTimeOnStackOverflowTests' started at 2016-09-18 20:02:42.763 Test Case '-[DerployerTests.WastingTimeOnStackOverflowTests test_performance_of_manual_index_check]' started. /Users/mason/Code/derployer/WastingTimeOnStackOverflowTests.swift:57: Test Case '-[DerployerTests.WastingTimeOnStackOverflowTests test_performance_of_manual_index_check]' measured [Time, seconds] average: 0.000, relative standard deviation: 11.815%, values: [0.000676, 0.000489, 0.000476, 0.000473, 0.000486, 0.000475, 0.000480, 0.000481, 0.000488, 0.000473], performanceMetricID:com.apple.XCTPerformanceMetric_WallClockTime, baselineName: "", baselineAverage: , maxPercentRegression: 10.000%, maxPercentRelativeStandardDeviation: 10.000%, maxRegression: 0.100, maxStandardDeviation: 0.100 Test Case '-[DerployerTests.WastingTimeOnStackOverflowTests test_performance_of_manual_index_check]' passed (1.385 seconds). Test Case '-[DerployerTests.WastingTimeOnStackOverflowTests test_performance_of_array_indices_contains]' started. /Users/mason/Code/derployer/WastingTimeOnStackOverflowTests.swift:42: Test Case '-[DerployerTests.WastingTimeOnStackOverflowTests test_performance_of_array_indices_contains]' measured [Time, seconds] average: 0.001, relative standard deviation: 6.254%, values: [0.000738, 0.000753, 0.000684, 0.000633, 0.000636, 0.000637, 0.000629, 0.000690, 0.000684, 0.000652], performanceMetricID:com.apple.XCTPerformanceMetric_WallClockTime, baselineName: "", baselineAverage: , maxPercentRegression: 10.000%, maxPercentRelativeStandardDeviation: 10.000%, maxRegression: 0.100, maxStandardDeviation: 0.100 Test Case '-[DerployerTests.WastingTimeOnStackOverflowTests test_performance_of_array_indices_contains]' passed (1.234 seconds). Test Suite 'WastingTimeOnStackOverflowTests' passed at 2016-09-18 20:02:45.383. Executed 2 tests, with 0 failures (0 unexpected) in 2.619 (2.620) seconds Test Suite 'DerployerTests.xctest' passed at 2016-09-18 20:02:45.384. Executed 2 tests, with 0 failures (0 unexpected) in 2.619 (2.621) seconds Test Suite 'Selected tests' passed at 2016-09-18 20:02:45.384. Executed 2 tests, with 0 failures (0 unexpected) in 2.619 (2.622) seconds Test session log: /Users/mason/Library/Developer/Xcode/DerivedData/Derployer-aviznqlnnemdnpbomkyrkjakvgot/Logs/Test/1A038853-AAC4-4D9C-9D1A-7AE9548DDE92/Session-DerployerTests-2016-09-18_200241-6vx1h7.log Program ended with exit code: 0 Test Suite 'Selected tests' started at 2016-09-18 20:03:02.231 Test Suite 'DerployerTests.xctest' started at 2016-09-18 20:03:02.232 Test Suite 'WastingTimeOnStackOverflowTests' started at 2016-09-18 20:03:02.233 Test Case '-[DerployerTests.WastingTimeOnStackOverflowTests test_performance_of_manual_index_check]' started. /Users/mason/Code/derployer/WastingTimeOnStackOverflowTests.swift:57: Test Case '-[DerployerTests.WastingTimeOnStackOverflowTests test_performance_of_manual_index_check]' measured [Time, seconds] average: 0.001, relative standard deviation: 11.661%, values: [0.000675, 0.000477, 0.000485, 0.000474, 0.000485, 0.000481, 0.000496, 0.000474, 0.000536, 0.000475], performanceMetricID:com.apple.XCTPerformanceMetric_WallClockTime, baselineName: "", baselineAverage: , maxPercentRegression: 10.000%, maxPercentRelativeStandardDeviation: 10.000%, maxRegression: 0.100, maxStandardDeviation: 0.100 Test Case '-[DerployerTests.WastingTimeOnStackOverflowTests test_performance_of_manual_index_check]' passed (1.384 seconds). Test Case '-[DerployerTests.WastingTimeOnStackOverflowTests test_performance_of_array_indices_contains]' started. /Users/mason/Code/derployer/WastingTimeOnStackOverflowTests.swift:42: Test Case '-[DerployerTests.WastingTimeOnStackOverflowTests test_performance_of_array_indices_contains]' measured [Time, seconds] average: 0.001, relative standard deviation: 5.320%, values: [0.000752, 0.000641, 0.000631, 0.000630, 0.000651, 0.000642, 0.000631, 0.000639, 0.000645, 0.000642], performanceMetricID:com.apple.XCTPerformanceMetric_WallClockTime, baselineName: "", baselineAverage: , maxPercentRegression: 10.000%, maxPercentRelativeStandardDeviation: 10.000%, maxRegression: 0.100, maxStandardDeviation: 0.100 Test Case '-[DerployerTests.WastingTimeOnStackOverflowTests test_performance_of_array_indices_contains]' passed (1.250 seconds). Test Suite 'WastingTimeOnStackOverflowTests' passed at 2016-09-18 20:03:04.869. Executed 2 tests, with 0 failures (0 unexpected) in 2.635 (2.636) seconds Test Suite 'DerployerTests.xctest' passed at 2016-09-18 20:03:04.869. Executed 2 tests, with 0 failures (0 unexpected) in 2.635 (2.637) seconds Test Suite 'Selected tests' passed at 2016-09-18 20:03:04.870. Executed 2 tests, with 0 failures (0 unexpected) in 2.635 (2.639) seconds Test session log: /Users/mason/Library/Developer/Xcode/DerivedData/Derployer-aviznqlnnemdnpbomkyrkjakvgot/Logs/Test/F5E97D45-31A0-46C4-BB6C-9964258E8BF1/Session-DerployerTests-2016-09-18_200300-jM7U0n.log Program ended with exit code: 0 Test Suite 'Selected tests' started at 2016-09-18 20:03:25.724 Test Suite 'DerployerTests.xctest' started at 2016-09-18 20:03:25.725 Test Suite 'WastingTimeOnStackOverflowTests' started at 2016-09-18 20:03:25.725 Test Case '-[DerployerTests.WastingTimeOnStackOverflowTests test_performance_of_manual_index_check]' started. /Users/mason/Code/derployer/WastingTimeOnStackOverflowTests.swift:57: Test Case '-[DerployerTests.WastingTimeOnStackOverflowTests test_performance_of_manual_index_check]' measured [Time, seconds] average: 0.001, relative standard deviation: 14.009%, values: [0.000745, 0.000523, 0.000537, 0.000531, 0.000508, 0.000476, 0.000473, 0.000506, 0.000511, 0.000496], performanceMetricID:com.apple.XCTPerformanceMetric_WallClockTime, baselineName: "", baselineAverage: , maxPercentRegression: 10.000%, maxPercentRelativeStandardDeviation: 10.000%, maxRegression: 0.100, maxStandardDeviation: 0.100 Test Case '-[DerployerTests.WastingTimeOnStackOverflowTests test_performance_of_manual_index_check]' passed (1.386 seconds). Test Case '-[DerployerTests.WastingTimeOnStackOverflowTests test_performance_of_array_indices_contains]' started. /Users/mason/Code/derployer/WastingTimeOnStackOverflowTests.swift:42: Test Case '-[DerployerTests.WastingTimeOnStackOverflowTests test_performance_of_array_indices_contains]' measured [Time, seconds] average: 0.001, relative standard deviation: 6.207%, values: [0.000768, 0.000646, 0.000649, 0.000644, 0.000658, 0.000715, 0.000648, 0.000631, 0.000650, 0.000632], performanceMetricID:com.apple.XCTPerformanceMetric_WallClockTime, baselineName: "", baselineAverage: , maxPercentRegression: 10.000%, maxPercentRelativeStandardDeviation: 10.000%, maxRegression: 0.100, maxStandardDeviation: 0.100 Test Case '-[DerployerTests.WastingTimeOnStackOverflowTests test_performance_of_array_indices_contains]' passed (1.319 seconds). Test Suite 'WastingTimeOnStackOverflowTests' passed at 2016-09-18 20:03:28.431. Executed 2 tests, with 0 failures (0 unexpected) in 2.704 (2.706) seconds Test Suite 'DerployerTests.xctest' passed at 2016-09-18 20:03:28.432. Executed 2 tests, with 0 failures (0 unexpected) in 2.704 (2.707) seconds Test Suite 'Selected tests' passed at 2016-09-18 20:03:28.432. Executed 2 tests, with 0 failures (0 unexpected) in 2.704 (2.708) seconds Test session log: /Users/mason/Library/Developer/Xcode/DerivedData/Derployer-aviznqlnnemdnpbomkyrkjakvgot/Logs/Test/C31C5B0A-2E55-4B78-BDF5-AD111DE8126D/Session-DerployerTests-2016-09-18_200324-63N4Bi.log Program ended with exit code: 0 -
masonmark renamed this gist
Sep 18, 2016 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
masonmark renamed this gist
Sep 18, 2016 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
masonmark created this gist
Sep 18, 2016 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,63 @@ // WastingTimeOnStackOverflowTests.swift Created by mason on 2016-09-18. import XCTest /// Measures performance of two different ways of checking whether an index is valid /// for a given array (the variable "a" is an array of 1,000,000 unique strings, and /// "val" is the index to be checked): /// /// a.indices.contains(val) /// vs: /// val > 0 && val < (a.count - 1) // /// Each test checks the validity of 2,192 different integers, using one of the two /// methods. The end result is that both ways are fast and any difference is extremely /// marginal. Therfore, I will use the first (IMO less puke-looking) method henceforth. /// /// Related SO discussion: http://stackoverflow.com/a/35512668/164017 class WastingTimeOnStackOverflowTests: XCTestCase { func makeArray(_ count: Int) -> [String] { var a: [String] = [] for _ in 0..<count { a.append(UUID().uuidString) } return a; } func test_performance_of_array_indices_contains() { let a = makeArray(1_000_000) var results: [Bool] = [] self.measure { for val in self.testValues { let indexIsValid = a.indices.contains(val) results.append(indexIsValid) } } } func test_performance_of_manual_index_check_1_000_000() { let a = makeArray(1_000_000) var results: [Bool] = [] self.measure { for val in self.testValues { let indexIsValid = val > 0 && val < (a.count - 1) results.append(indexIsValid) } } } // The testValues array contains 2192 integers: let testValues = [8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, 8, 6, 7, 5, 3, 0, 9, 483989, 100_000_000, 453453, 43, 34535, 6456566, 234433242, ] } This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,114 @@ Test Suite 'Selected tests' started at 2016-09-18 19:53:30.228 Test Suite 'DerployerTests.xctest' started at 2016-09-18 19:53:30.229 Test Suite 'WastingTimeOnStackOverflowTests' started at 2016-09-18 19:53:30.230 Test Case '-[DerployerTests.WastingTimeOnStackOverflowTests test_performance_of_manual_index_check_1_000_000]' started. /Users/mason/Code/derployer/WastingTimeOnStackOverflowTests.swift:57: Test Case '-[DerployerTests.WastingTimeOnStackOverflowTests test_performance_of_manual_index_check_1_000_000]' measured [Time, seconds] average: 0.001, relative standard deviation: 10.823%, values: [0.000670, 0.000487, 0.000489, 0.000474, 0.000494, 0.000501, 0.000569, 0.000497, 0.000494, 0.000508], performanceMetricID:com.apple.XCTPerformanceMetric_WallClockTime, baselineName: "", baselineAverage: , maxPercentRegression: 10.000%, maxPercentRelativeStandardDeviation: 10.000%, maxRegression: 0.100, maxStandardDeviation: 0.100 Test Case '-[DerployerTests.WastingTimeOnStackOverflowTests test_performance_of_manual_index_check_1_000_000]' passed (1.457 seconds). Test Case '-[DerployerTests.WastingTimeOnStackOverflowTests test_performance_of_array_indices_contains]' started. /Users/mason/Code/derployer/WastingTimeOnStackOverflowTests.swift:42: Test Case '-[DerployerTests.WastingTimeOnStackOverflowTests test_performance_of_array_indices_contains]' measured [Time, seconds] average: 0.001, relative standard deviation: 7.524%, values: [0.000801, 0.000630, 0.000638, 0.000635, 0.000652, 0.000628, 0.000679, 0.000634, 0.000677, 0.000638], performanceMetricID:com.apple.XCTPerformanceMetric_WallClockTime, baselineName: "", baselineAverage: , maxPercentRegression: 10.000%, maxPercentRelativeStandardDeviation: 10.000%, maxRegression: 0.100, maxStandardDeviation: 0.100 Test Case '-[DerployerTests.WastingTimeOnStackOverflowTests test_performance_of_array_indices_contains]' passed (1.220 seconds). Test Suite 'WastingTimeOnStackOverflowTests' passed at 2016-09-18 19:53:32.909. Executed 2 tests, with 0 failures (0 unexpected) in 2.678 (2.679) seconds Test Suite 'DerployerTests.xctest' passed at 2016-09-18 19:53:32.909. Executed 2 tests, with 0 failures (0 unexpected) in 2.678 (2.680) seconds Test Suite 'Selected tests' passed at 2016-09-18 19:53:32.910. Executed 2 tests, with 0 failures (0 unexpected) in 2.678 (2.681) seconds Test session log: /Users/mason/Library/Developer/Xcode/DerivedData/Derployer-aviznqlnnemdnpbomkyrkjakvgot/Logs/Test/D898CC8C-5BB3-4C68-9E0A-A59ED87E270A/Session-DerployerTests-2016-09-18_195319-9Ui0b9.log Program ended with exit code: 0 Test Suite 'Selected tests' started at 2016-09-18 19:53:57.957 Test Suite 'DerployerTests.xctest' started at 2016-09-18 19:53:57.959 Test Suite 'WastingTimeOnStackOverflowTests' started at 2016-09-18 19:53:57.959 Test Case '-[DerployerTests.WastingTimeOnStackOverflowTests test_performance_of_manual_index_check_1_000_000]' started. /Users/mason/Code/derployer/WastingTimeOnStackOverflowTests.swift:57: Test Case '-[DerployerTests.WastingTimeOnStackOverflowTests test_performance_of_manual_index_check_1_000_000]' measured [Time, seconds] average: 0.001, relative standard deviation: 15.303%, values: [0.000738, 0.000492, 0.000480, 0.000474, 0.000489, 0.000474, 0.000476, 0.000476, 0.000489, 0.000476], performanceMetricID:com.apple.XCTPerformanceMetric_WallClockTime, baselineName: "", baselineAverage: , maxPercentRegression: 10.000%, maxPercentRelativeStandardDeviation: 10.000%, maxRegression: 0.100, maxStandardDeviation: 0.100 Test Case '-[DerployerTests.WastingTimeOnStackOverflowTests test_performance_of_manual_index_check_1_000_000]' passed (1.291 seconds). Test Case '-[DerployerTests.WastingTimeOnStackOverflowTests test_performance_of_array_indices_contains]' started. /Users/mason/Code/derployer/WastingTimeOnStackOverflowTests.swift:42: Test Case '-[DerployerTests.WastingTimeOnStackOverflowTests test_performance_of_array_indices_contains]' measured [Time, seconds] average: 0.001, relative standard deviation: 6.807%, values: [0.000785, 0.000650, 0.000652, 0.000652, 0.000679, 0.000659, 0.000745, 0.000641, 0.000651, 0.000712], performanceMetricID:com.apple.XCTPerformanceMetric_WallClockTime, baselineName: "", baselineAverage: , maxPercentRegression: 10.000%, maxPercentRelativeStandardDeviation: 10.000%, maxRegression: 0.100, maxStandardDeviation: 0.100 Test Case '-[DerployerTests.WastingTimeOnStackOverflowTests test_performance_of_array_indices_contains]' passed (1.219 seconds). Test Suite 'WastingTimeOnStackOverflowTests' passed at 2016-09-18 19:54:00.469. Executed 2 tests, with 0 failures (0 unexpected) in 2.509 (2.510) seconds Test Suite 'DerployerTests.xctest' passed at 2016-09-18 19:54:00.470. Executed 2 tests, with 0 failures (0 unexpected) in 2.509 (2.511) seconds Test Suite 'Selected tests' passed at 2016-09-18 19:54:00.470. Executed 2 tests, with 0 failures (0 unexpected) in 2.509 (2.512) seconds Test session log: /Users/mason/Library/Developer/Xcode/DerivedData/Derployer-aviznqlnnemdnpbomkyrkjakvgot/Logs/Test/6311B60A-1464-43C8-A180-C61D15178719/Session-DerployerTests-2016-09-18_195356-PXmiA8.log Program ended with exit code: 0 Test Suite 'Selected tests' started at 2016-09-18 19:54:26.019 Test Suite 'DerployerTests.xctest' started at 2016-09-18 19:54:26.020 Test Suite 'WastingTimeOnStackOverflowTests' started at 2016-09-18 19:54:26.021 Test Case '-[DerployerTests.WastingTimeOnStackOverflowTests test_performance_of_manual_index_check_1_000_000]' started. /Users/mason/Code/derployer/WastingTimeOnStackOverflowTests.swift:57: Test Case '-[DerployerTests.WastingTimeOnStackOverflowTests test_performance_of_manual_index_check_1_000_000]' measured [Time, seconds] average: 0.001, relative standard deviation: 11.903%, values: [0.000674, 0.000476, 0.000481, 0.000478, 0.000503, 0.000474, 0.000573, 0.000567, 0.000506, 0.000476], performanceMetricID:com.apple.XCTPerformanceMetric_WallClockTime, baselineName: "", baselineAverage: , maxPercentRegression: 10.000%, maxPercentRelativeStandardDeviation: 10.000%, maxRegression: 0.100, maxStandardDeviation: 0.100 Test Case '-[DerployerTests.WastingTimeOnStackOverflowTests test_performance_of_manual_index_check_1_000_000]' passed (1.422 seconds). Test Case '-[DerployerTests.WastingTimeOnStackOverflowTests test_performance_of_array_indices_contains]' started. /Users/mason/Code/derployer/WastingTimeOnStackOverflowTests.swift:42: Test Case '-[DerployerTests.WastingTimeOnStackOverflowTests test_performance_of_array_indices_contains]' measured [Time, seconds] average: 0.001, relative standard deviation: 5.572%, values: [0.000734, 0.000631, 0.000665, 0.000642, 0.000726, 0.000726, 0.000659, 0.000674, 0.000666, 0.000630], performanceMetricID:com.apple.XCTPerformanceMetric_WallClockTime, baselineName: "", baselineAverage: , maxPercentRegression: 10.000%, maxPercentRelativeStandardDeviation: 10.000%, maxRegression: 0.100, maxStandardDeviation: 0.100 Test Case '-[DerployerTests.WastingTimeOnStackOverflowTests test_performance_of_array_indices_contains]' passed (1.217 seconds). Test Suite 'WastingTimeOnStackOverflowTests' passed at 2016-09-18 19:54:28.661. Executed 2 tests, with 0 failures (0 unexpected) in 2.639 (2.640) seconds Test Suite 'DerployerTests.xctest' passed at 2016-09-18 19:54:28.661. Executed 2 tests, with 0 failures (0 unexpected) in 2.639 (2.641) seconds Test Suite 'Selected tests' passed at 2016-09-18 19:54:28.662. Executed 2 tests, with 0 failures (0 unexpected) in 2.639 (2.643) seconds Test session log: /Users/mason/Library/Developer/Xcode/DerivedData/Derployer-aviznqlnnemdnpbomkyrkjakvgot/Logs/Test/F84ADC48-5B4E-48C3-9FC4-7CC38D3399D2/Session-DerployerTests-2016-09-18_195424-0DXzei.log Program ended with exit code: 0 Test Suite 'Selected tests' started at 2016-09-18 19:54:54.754 Test Suite 'DerployerTests.xctest' started at 2016-09-18 19:54:54.755 Test Suite 'WastingTimeOnStackOverflowTests' started at 2016-09-18 19:54:54.755 Test Case '-[DerployerTests.WastingTimeOnStackOverflowTests test_performance_of_manual_index_check_1_000_000]' started. /Users/mason/Code/derployer/WastingTimeOnStackOverflowTests.swift:57: Test Case '-[DerployerTests.WastingTimeOnStackOverflowTests test_performance_of_manual_index_check_1_000_000]' measured [Time, seconds] average: 0.001, relative standard deviation: 14.101%, values: [0.000734, 0.000476, 0.000511, 0.000487, 0.000496, 0.000484, 0.000577, 0.000494, 0.000487, 0.000542], performanceMetricID:com.apple.XCTPerformanceMetric_WallClockTime, baselineName: "", baselineAverage: , maxPercentRegression: 10.000%, maxPercentRelativeStandardDeviation: 10.000%, maxRegression: 0.100, maxStandardDeviation: 0.100 Test Case '-[DerployerTests.WastingTimeOnStackOverflowTests test_performance_of_manual_index_check_1_000_000]' passed (1.353 seconds). Test Case '-[DerployerTests.WastingTimeOnStackOverflowTests test_performance_of_array_indices_contains]' started. /Users/mason/Code/derployer/WastingTimeOnStackOverflowTests.swift:42: Test Case '-[DerployerTests.WastingTimeOnStackOverflowTests test_performance_of_array_indices_contains]' measured [Time, seconds] average: 0.001, relative standard deviation: 5.728%, values: [0.000753, 0.000640, 0.000642, 0.000669, 0.000696, 0.000654, 0.000648, 0.000736, 0.000711, 0.000655], performanceMetricID:com.apple.XCTPerformanceMetric_WallClockTime, baselineName: "", baselineAverage: , maxPercentRegression: 10.000%, maxPercentRelativeStandardDeviation: 10.000%, maxRegression: 0.100, maxStandardDeviation: 0.100 Test Case '-[DerployerTests.WastingTimeOnStackOverflowTests test_performance_of_array_indices_contains]' passed (1.233 seconds). Test Suite 'WastingTimeOnStackOverflowTests' passed at 2016-09-18 19:54:57.343. Executed 2 tests, with 0 failures (0 unexpected) in 2.586 (2.588) seconds Test Suite 'DerployerTests.xctest' passed at 2016-09-18 19:54:57.343. Executed 2 tests, with 0 failures (0 unexpected) in 2.586 (2.589) seconds Test Suite 'Selected tests' passed at 2016-09-18 19:54:57.344. Executed 2 tests, with 0 failures (0 unexpected) in 2.586 (2.590) seconds Test session log: /Users/mason/Library/Developer/Xcode/DerivedData/Derployer-aviznqlnnemdnpbomkyrkjakvgot/Logs/Test/59B68E77-B4FE-46CE-ACD2-4B918C7D004E/Session-DerployerTests-2016-09-18_195453-RtftKu.log Program ended with exit code: 0 Test Suite 'Selected tests' started at 2016-09-18 19:55:36.420 Test Suite 'DerployerTests.xctest' started at 2016-09-18 19:55:36.421 Test Suite 'WastingTimeOnStackOverflowTests' started at 2016-09-18 19:55:36.421 Test Case '-[DerployerTests.WastingTimeOnStackOverflowTests test_performance_of_manual_index_check_1_000_000]' started. /Users/mason/Code/derployer/WastingTimeOnStackOverflowTests.swift:57: Test Case '-[DerployerTests.WastingTimeOnStackOverflowTests test_performance_of_manual_index_check_1_000_000]' measured [Time, seconds] average: 0.001, relative standard deviation: 14.683%, values: [0.000730, 0.000487, 0.000487, 0.000473, 0.000477, 0.000480, 0.000474, 0.000474, 0.000490, 0.000509], performanceMetricID:com.apple.XCTPerformanceMetric_WallClockTime, baselineName: "", baselineAverage: , maxPercentRegression: 10.000%, maxPercentRelativeStandardDeviation: 10.000%, maxRegression: 0.100, maxStandardDeviation: 0.100 Test Case '-[DerployerTests.WastingTimeOnStackOverflowTests test_performance_of_manual_index_check_1_000_000]' passed (1.333 seconds). Test Case '-[DerployerTests.WastingTimeOnStackOverflowTests test_performance_of_array_indices_contains]' started. /Users/mason/Code/derployer/WastingTimeOnStackOverflowTests.swift:42: Test Case '-[DerployerTests.WastingTimeOnStackOverflowTests test_performance_of_array_indices_contains]' measured [Time, seconds] average: 0.001, relative standard deviation: 9.281%, values: [0.000825, 0.000643, 0.000767, 0.000738, 0.000676, 0.000753, 0.000647, 0.000635, 0.000657, 0.000631], performanceMetricID:com.apple.XCTPerformanceMetric_WallClockTime, baselineName: "", baselineAverage: , maxPercentRegression: 10.000%, maxPercentRelativeStandardDeviation: 10.000%, maxRegression: 0.100, maxStandardDeviation: 0.100 Test Case '-[DerployerTests.WastingTimeOnStackOverflowTests test_performance_of_array_indices_contains]' passed (1.250 seconds). Test Suite 'WastingTimeOnStackOverflowTests' passed at 2016-09-18 19:55:39.005. Executed 2 tests, with 0 failures (0 unexpected) in 2.583 (2.584) seconds Test Suite 'DerployerTests.xctest' passed at 2016-09-18 19:55:39.006. Executed 2 tests, with 0 failures (0 unexpected) in 2.583 (2.585) seconds Test Suite 'Selected tests' passed at 2016-09-18 19:55:39.006. Executed 2 tests, with 0 failures (0 unexpected) in 2.583 (2.587) seconds Test session log: /Users/mason/Library/Developer/Xcode/DerivedData/Derployer-aviznqlnnemdnpbomkyrkjakvgot/Logs/Test/534ABBAC-7955-446A-86B1-9F69D35AFCEA/Session-DerployerTests-2016-09-18_195534-XpCVlW.log Program ended with exit code: 0