go FAST in debug mode
This commit is contained in:
@@ -124,7 +124,9 @@ fn mathTest(rand: Random, limit: i32, iteration: u32) !bool {
|
|||||||
print("Calculating", .{});
|
print("Calculating", .{});
|
||||||
for (1..4) |_| {
|
for (1..4) |_| {
|
||||||
print(".", .{});
|
print(".", .{});
|
||||||
std.Thread.sleep(2 * 1000 * 1000 * 1000);
|
if (comptime builtin.mode != .Debug) {
|
||||||
|
std.Thread.sleep(2 * 1000 * 1000 * 1000);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
print("\n", .{});
|
print("\n", .{});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user