File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
trunk/validation-test/stdlib Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 1
1
---
2
- refs/heads/master: 5d901cec447c796c59bfcfd3fe0023b50cb2aa04
2
+ refs/heads/master: 6283df7b2334dcb72702dfb6f4eb863aa704d68b
3
3
refs/heads/master-next: 203b3026584ecad859eb328b2e12490099409cd5
4
4
refs/tags/osx-passed: b6b74147ef8a386f532cf9357a1bde006e552c54
5
5
refs/tags/swift-2.2-SNAPSHOT-2015-12-01-a: 6bb18e013c2284f2b45f5f84f2df2887dc0f7dea
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ func lowercase(_ str: String) -> String {
33
33
/// Make sure the hash function does not leak.
34
34
35
35
let dict = [ " foo " : 1 ]
36
- for _ in 0 ..< 10_000_000 {
36
+ for _ in 0 ..< 1_000_000 {
37
37
if lookup ( " \u{1F1E7} \u{1F1E7} " , dict) {
38
38
print ( " Found?! " )
39
39
}
@@ -56,9 +56,9 @@ getrusage(RUSAGE_SELF, &usage)
56
56
// CHECK: success
57
57
// CHECK-NOT: failure
58
58
59
- // We should not need 50MB for this.
60
- if usage. ru_maxrss > 50 * 1024 * 1024 {
61
- print ( " failure - should not need 50MB ! " )
59
+ // We should not need 10MB for this.
60
+ if usage. ru_maxrss > 10 * 1024 * 1024 {
61
+ print ( " failure - should not need 10MB ! " )
62
62
} else {
63
63
print ( " success " )
64
64
}
You can’t perform that action at this time.
0 commit comments