diff options
Diffstat (limited to 'src/libzisp.zig')
| -rw-r--r-- | src/libzisp.zig | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/libzisp.zig b/src/libzisp.zig index 1a4789d..acaf002 100644 --- a/src/libzisp.zig +++ b/src/libzisp.zig @@ -303,7 +303,11 @@ test "parse bench" { std.mem.doNotOptimizeAway(timer.lap()); for (0..1000) |i| { _ = i; - std.mem.doNotOptimizeAway(io.parser.parse("(a b c (x y z (a b c (x y z (a b c (x y z (a b c (x y z (a b c (x y z (a b c (x y z (a b c (x y z) d e f) d e f) d e f) d e f) d e f) d e f) d e f) d e f) d e f) d e f) d e f) 1 2 3))")); + std.mem.doNotOptimizeAway(io.parser.parse( + \\(a b c (x y z (a b c (x y z (a b c (x y z (a b c (x y z (a b c + \\(x y z (a b c (x y z (a b c (x y z) d e f) d e f) d e f) d e f) + \\d e f) d e f) d e f) d e f) d e f) d e f) d e f) 1 2 3)) + )); } const ns: f64 = @floatFromInt(timer.lap()); const secs = ns / 1_000_000_000; |
