Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Performance

Time to first rows and peak memory, measured with scripts/bench/startup.py on a release build.

MeasureMeaning
First rowsFrom launch to the first drawn frame that shows the file’s rows
Peak RSSThe process’s resident high-water mark (VmHWM), from launch until 2 s after the first rows
WarmThe file is already in the page cache
ColdThe file is dropped from the page cache first (posix_fadvise DONTNEED)

Results

datui 0.4.0-dev, median of 5 runs (remote: 3). Terminal 120×30, default settings: the terminal does not answer the background color query of theme.mode = "auto", and nothing waits for it.

FileCacheFirst rowsPeak RSS
Parquet, 1M rows (13 MB)warm9 ms69 MiB
Parquet, 1M rows (13 MB)cold12 ms69 MiB
CSV, 1M rows (58 MB)warm16 ms180 MiB
CSV, 1M rows (58 MB)cold17 ms179 MiB
Parquet, 10M rows (132 MB)warm9 ms69 MiB
Parquet, 10M rows (132 MB)cold10 ms69 MiB
CSV, 10M rows (586 MB)warm12 ms695 MiB
CSV, 10M rows (586 MB)cold14 ms696 MiB
Parquet, 30M rows (397 MB)warm9 ms70 MiB
Parquet, 30M rows (397 MB)cold13 ms69 MiB
CSV, 30M rows (1,779 MB)warm12 ms1.43 GiB
CSV, 30M rows (1,779 MB)cold14 ms1.38 GiB
NYC yellow taxis, Jan 2025 (HTTPS, 59 MB Parquet)remote638 ms86 MiB
NOAA GHCN-D 2023 TMAX (s3://noaa-ghcn-pds/parquet/by_year/YEAR=2023/ELEMENT=TMAX/, 9 files)remote541 ms86 MiB
  • Only the rows on screen are read before the first frame, so first rows does not grow with the file.
  • CSV peak RSS grows with the file: the row count in the status bar reads the whole CSV in the 2 s after the first rows. A Parquet footer holds the count.
  • The HTTPS row includes downloading the file and answering the download question. The S3 row reads the footers and the first row group in place.
  • Remote rows depend on the network and the server.

Machine

CPUAMD Ryzen 7 9800X3D, 8 cores, 16 threads
Memory62 GiB
DiskSamsung 990 PRO NVMe, btrfs with zstd compression
OSArch Linux, kernel 7.2.8
DateOctober 5, 2026

Run benchmarks says how these are measured.