Skip to content

Commit d196842

Browse files
authored
Merge pull request #36635 from xedin/move-two-tests-to-fast
[TypeChecker] NFC: Adjust scale thresholds and move to test-cases to "fast"
2 parents 669a49a + d155b5c commit d196842

File tree

3 files changed

+12
-15
lines changed

3 files changed

+12
-15
lines changed

validation-test/Sema/type_checker_perf/slow/rdar27585838.swift.gyb renamed to validation-test/Sema/type_checker_perf/fast/rdar27585838.swift.gyb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %scale-test --begin 1 --end 5 --step 1 --select NumLeafScopes %s --polynomial-threshold=1.7
1+
// RUN: %scale-test --begin 1 --end 20 --step 1 --select NumLeafScopes %s --polynomial-threshold=1.7
22
// REQUIRES: asserts,no_asan
33

44
enum Operation {
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
// RUN: %scale-test --begin 1 --end 20 --step 1 --select NumLeafScopes %s --polynomial-threshold 1.7
2+
// REQUIRES: asserts,no_asan
3+
4+
let derivative = { (t: Double) -> (Double) in
5+
return -2.0 / (
6+
(1.0 + t)
7+
%for i in range(1, N):
8+
* (1.0 + t)
9+
%end
10+
)
11+
}

validation-test/Sema/type_checker_perf/slow/rdar30606089.swift.gyb

Lines changed: 0 additions & 14 deletions
This file was deleted.

0 commit comments

Comments
 (0)