diff options
| author | 2024-07-18 08:04:58 -0400 | |
|---|---|---|
| committer | 2024-07-18 08:04:58 -0400 | |
| commit | 7ddce488e074c3f052949ba513a340446cea86e9 (patch) | |
| tree | d546332da78d3cb061c9b98c72f6b39c8a394b2e /bench/src/ziglyph_caseless.zig | |
| parent | Merge pull request 'refactor CodePoint.Iterator into a reusable fn' (#11) fro... (diff) | |
| download | zg-7ddce488e074c3f052949ba513a340446cea86e9.tar.gz zg-7ddce488e074c3f052949ba513a340446cea86e9.tar.xz zg-7ddce488e074c3f052949ba513a340446cea86e9.zip | |
Fixed benchmark duration printing
Diffstat (limited to 'bench/src/ziglyph_caseless.zig')
| -rw-r--r-- | bench/src/ziglyph_caseless.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bench/src/ziglyph_caseless.zig b/bench/src/ziglyph_caseless.zig index 842de44..4a22c22 100644 --- a/bench/src/ziglyph_caseless.zig +++ b/bench/src/ziglyph_caseless.zig | |||
| @@ -31,5 +31,5 @@ pub fn main() !void { | |||
| 31 | @memcpy(buf[0..line.len], line); | 31 | @memcpy(buf[0..line.len], line); |
| 32 | prev_line = buf[0..line.len]; | 32 | prev_line = buf[0..line.len]; |
| 33 | } | 33 | } |
| 34 | std.debug.print("Ziglyph Normalizer.eqlCaseless: result: {}, took: {}\n", .{ result, std.fmt.fmtDuration(timer.lap() / std.time.ns_per_ms) }); | 34 | std.debug.print("Ziglyph Normalizer.eqlCaseless: result: {}, took: {}\n", .{ result, std.fmt.fmtDuration(timer.lap()) }); |
| 35 | } | 35 | } |