Skip to main content

Module measurements

Module measurements 

Source
Expand description

What opening a dataset cost, measured rather than guessed: every figure is one datui produced itself (its own listing times, request counts, byte totals). Where Polars reads, datui cannot count, so nothing is recorded; hence the optional fields (see docs/user-guide/dataset-info.md). Written atomically by reading threads, read by the render without blocking.

Structs§

Cost
One stretch of work, and what it cost.
Durations
The most recent durations of one kind of work, for its median, 99th percentile and worst.
LoopTimes
How long the event loop’s own work takes: each frame drawn and each event handled, for the debug overlay and the log.
Meter
What the open on screen cost, as measured; shared with reading threads (Arc, written through &self). Never cleared: each open builds a new one, since an abandoned load’s reads still run and would add to the next dataset’s figures.
OpenReport
What an open reports as it goes: footer progress and cost so far, handed down every route together and owned by the open that made them (see Meter).
OverTheWire
What datui asked for over a network, exactly.
Total
Every stretch added up: how long the open has taken, and what it asked for.