go FAST in debug mode

This commit is contained in:
2025-03-31 07:52:43 -04:00
parent b415be3ddc
commit ee5ef262f6

View File

@@ -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", .{});
} }