summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorClement Tsang <34804052+ClementTsang@users.noreply.github.com>2022-12-30 03:06:48 -0500
committerGitHub <noreply@github.com>2022-12-30 03:06:48 -0500
commitefcf2bde2961d9b820609b56ddc77c666cb3b5bb (patch)
tree254f335b722ee7ba354071d8f09c0a7f1b65e2ce /tests
parent21a21b86c0bbfd02ae21e0602a02d1c30cb264fb (diff)
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.
Diffstat (limited to 'tests')
-rw-r--r--tests/util.rs1
1 files changed, 0 insertions, 1 deletions
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<String> {
}
/// 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() {