Skip to main content

Module measurements

Module measurements 

Source
Expand description

What opening a dataset cost, measured rather than guessed.

Every number here is one datui produced itself: it timed its own listing, counted its own requests, and added up the bytes it received. Where Polars does the reading datui cannot count the requests or the bytes, and this module records nothing rather than record a figure it cannot stand behind. That is why so much of what it holds is optional: a stretch reports a file count, a request count and a byte count only where it has one, and docs/user-guide/dataset-info.md says which routes have which.

The tallies are written by the threads doing the reading, which is why they are atomic, and read by the render, which is why nothing here ever blocks.

Structsยง

Cost
One stretch of work, and what it cost.
Meter
What the open on screen cost, as it is measured.
OpenReport
What an open reports as it goes: how far its footer pass has got, and what the work has cost so far.
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.