From efcf2bde2961d9b820609b56ddc77c666cb3b5bb Mon Sep 17 00:00:00 2001 From: Clement Tsang <34804052+ClementTsang@users.noreply.github.com> Date: Fri, 30 Dec 2022 03:06:48 -0500 Subject: other: use custom time chart grid implementation (#937) Pulls in the tui-rs grid logic so I can implement custom braille painting logic. We basically "flatten" the layering logic into a single layer by replacing resetting cells if the colour is different. This avoids the multiple allocations if we used multiple layers as intended with tui-rs. This gives us chart results similar to the current stable version, but with a flamegraph similar to the current master branch. --- tests/util.rs | 1 - 1 file changed, 1 deletion(-) (limited to 'tests') diff --git a/tests/util.rs b/tests/util.rs index 0e74eafa..f7dbebee 100644 --- a/tests/util.rs +++ b/tests/util.rs @@ -59,7 +59,6 @@ fn cross_runner() -> Option { } /// Returns the [`Command`] of a binary invocation of bottom. -/// pub fn btm_command() -> Command { let btm_exe = env!("CARGO_BIN_EXE_btm"); match cross_runner() { -- cgit v1.2.3