summaryrefslogtreecommitdiff
path: root/src/buffer.rs
diff options
context:
space:
mode:
authorMica White <botahamec@outlook.com>2026-07-03 16:17:35 -0400
committerMica White <botahamec@outlook.com>2026-07-03 16:19:17 -0400
commitf31fda79035077a9dab8dee07a11d71fac3ba791 (patch)
treea3c8eb295fd18831cb7ff803c984c32b5a823c2b /src/buffer.rs
parentbb7525206da1782fd9af49621aa52d87bd227838 (diff)
Profiling
Diffstat (limited to 'src/buffer.rs')
-rw-r--r--src/buffer.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/buffer.rs b/src/buffer.rs
index 9e91ae7..999a32c 100644
--- a/src/buffer.rs
+++ b/src/buffer.rs
@@ -59,6 +59,7 @@ impl Buffer {
}
fn render(&mut self) -> std::io::Result<()> {
+ puffin::profile_function!();
self.cells.sort_unstable_by_key(|cell| cell.z);
queue!(self.stdout, BeginSynchronizedUpdate, Clear(ClearType::All))?;
for cell in &self.cells {