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:17:35 -0400
commite8fe3415e86e18ac97216ada94002d0a03ee3c8a (patch)
treeace0f8fd335729e8c4bb4c7d5eadbdd948e50286 /src/buffer.rs
parent73ffbee638c03da132aea0e5d600ca5e8144fd8e (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 {