renderer/metal: don't log

This commit is contained in:
Mitchell Hashimoto
2024-05-01 19:49:50 -07:00
parent 74236d2db6
commit bc0e4c6d8f

View File

@ -1669,6 +1669,12 @@ fn rebuildCells(
cursor_style_: ?renderer.CursorStyle, cursor_style_: ?renderer.CursorStyle,
color_palette: *const terminal.color.Palette, color_palette: *const terminal.color.Palette,
) !void { ) !void {
// const start = try std.time.Instant.now();
// defer {
// const end = std.time.Instant.now() catch unreachable;
// std.log.warn("rebuildCells time={}us", .{end.since(start) / std.time.ns_per_us});
// }
// Create an arena for all our temporary allocations while rebuilding // Create an arena for all our temporary allocations while rebuilding
var arena = ArenaAllocator.init(self.alloc); var arena = ArenaAllocator.init(self.alloc);
defer arena.deinit(); defer arena.deinit();
@ -1851,9 +1857,9 @@ fn rebuildCells(
} }
// Log some things // Log some things
log.debug("rebuildCells complete cached_runs={}", .{ // log.debug("rebuildCells complete cached_runs={}", .{
self.font_shaper_cache.count(), // self.font_shaper_cache.count(),
}); // });
} }
fn updateCell( fn updateCell(