summaryrefslogtreecommitdiff
path: root/bench/src/zg_width.zig
diff options
context:
space:
mode:
authorGravatar Jose Colon Rodriguez2024-07-18 08:04:58 -0400
committerGravatar Jose Colon Rodriguez2024-07-18 08:04:58 -0400
commit7ddce488e074c3f052949ba513a340446cea86e9 (patch)
treed546332da78d3cb061c9b98c72f6b39c8a394b2e /bench/src/zg_width.zig
parentMerge pull request 'refactor CodePoint.Iterator into a reusable fn' (#11) fro... (diff)
downloadzg-7ddce488e074c3f052949ba513a340446cea86e9.tar.gz
zg-7ddce488e074c3f052949ba513a340446cea86e9.tar.xz
zg-7ddce488e074c3f052949ba513a340446cea86e9.zip
Fixed benchmark duration printing
Diffstat (limited to 'bench/src/zg_width.zig')
-rw-r--r--bench/src/zg_width.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/bench/src/zg_width.zig b/bench/src/zg_width.zig
index 5ee8fe9..041d2c5 100644
--- a/bench/src/zg_width.zig
+++ b/bench/src/zg_width.zig
@@ -29,5 +29,5 @@ pub fn main() !void {
29 const width = display_width.strWidth(line); 29 const width = display_width.strWidth(line);
30 result += width; 30 result += width;
31 } 31 }
32 std.debug.print("zg DisplayWidth.strWidth: result: {}, took: {}\n", .{ result, std.fmt.fmtDuration(timer.lap() / std.time.ns_per_ms) }); 32 std.debug.print("zg DisplayWidth.strWidth: result: {}, took: {}\n", .{ result, std.fmt.fmtDuration(timer.lap()) });
33} 33}