mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-15 00:06:09 +03:00
misc: improve rebuildCells time logging
This commit is contained in:
@ -1877,9 +1877,11 @@ fn rebuildCells(
|
|||||||
color_palette: *const terminal.color.Palette,
|
color_palette: *const terminal.color.Palette,
|
||||||
) !void {
|
) !void {
|
||||||
// const start = try std.time.Instant.now();
|
// const start = try std.time.Instant.now();
|
||||||
|
// const start_micro = std.time.microTimestamp();
|
||||||
// defer {
|
// defer {
|
||||||
// const end = std.time.Instant.now() catch unreachable;
|
// 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
|
// Create an arena for all our temporary allocations while rebuilding
|
||||||
|
Reference in New Issue
Block a user