mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-14 15:56:13 +03:00
misc: improve rebuildCells time logging
This commit is contained in:
@ -1877,9 +1877,11 @@ fn rebuildCells(
|
||||
color_palette: *const terminal.color.Palette,
|
||||
) !void {
|
||||
// const start = try std.time.Instant.now();
|
||||
// const start_micro = std.time.microTimestamp();
|
||||
// defer {
|
||||
// const end = std.time.Instant.now() catch unreachable;
|
||||
// std.log.warn("rebuildCells time={}us", .{end.since(start) / std.time.ns_per_us});
|
||||
// // "[rebuildCells time] <START us>\t<TIME_TAKEN us>"
|
||||
// std.log.warn("[rebuildCells time] {}\t{}", .{start_micro, end.since(start) / std.time.ns_per_us});
|
||||
// }
|
||||
|
||||
// Create an arena for all our temporary allocations while rebuilding
|
||||
|
Reference in New Issue
Block a user