bottom/src
Clement Tsang 9c3e60e74f
other: slightly reduce the CPU time spent for draws (#918)
* other: group all dataset draws in a time chart

We used to draw each data set separately as a new canvas. Now, in one
canvas, we draw all datasets.

Note that this changes how dataset  lines are drawn - rather than
drawing one on top of another, it now draws kinda all at once. This
effect is *kinda* a bit better IMO, but it might also look a bit
more cluttered.

* other: optimize truncate_text

Flamegraphs showed that this area seems to be a bit heavy at times with
some inefficient use of iterators and collection. This change should
hopefully optimize this a bit by reducing some collections or
reallocations.

There can also be some further optimizations with less allocations from
callers.

* Reduce some redundant draws
2022-11-29 03:53:58 -05:00
..
app other: slightly reduce the CPU time spent for draws (#918) 2022-11-29 03:53:58 -05:00
bin other: clean up some strings (#904) 2022-11-20 02:21:20 -05:00
canvas other: slightly reduce the CPU time spent for draws (#918) 2022-11-29 03:53:58 -05:00
components other: slightly reduce the CPU time spent for draws (#918) 2022-11-29 03:53:58 -05:00
options refactor: run cargo +nightly fmt with group_imports (#885) 2022-11-10 01:22:19 -05:00
units refactor: tables V2 (#749) 2022-10-12 16:25:38 -04:00
utils other: slightly reduce the CPU time spent for draws (#918) 2022-11-29 03:53:58 -05:00
widgets other: slightly reduce the CPU time spent for draws (#918) 2022-11-29 03:53:58 -05:00
app.rs refactor: move widgets out of the app folder nesting (#917) 2022-11-28 00:26:58 -05:00
canvas.rs bug: fix possible gaps with widget layout spacing (#916) 2022-11-26 05:00:38 -05:00
clap.rs other: change non-normalized shortcut (#912) 2022-11-22 05:12:35 -05:00
components.rs refactor: switch to pipe gauge implementation for basic cpu + mem (#829) 2022-10-13 10:17:26 -04:00
constants.rs other: non-normalized process CPU% cleanup and docs (#910) 2022-11-21 05:28:42 -05:00
data_conversion.rs refactor: move widgets out of the app folder nesting (#917) 2022-11-28 00:26:58 -05:00
lib.rs other: slightly reduce the CPU time spent for draws (#918) 2022-11-29 03:53:58 -05:00
options.rs refactor: move widgets out of the app folder nesting (#917) 2022-11-28 00:26:58 -05:00
units.rs refactor: move data passing for table to another step (#863) 2022-11-02 00:36:55 -04:00
utils.rs Change how we call time in data_collection step 2020-01-09 21:59:52 -05:00
widgets.rs refactor: move widgets out of the app folder nesting (#917) 2022-11-28 00:26:58 -05:00