Skip to content

Benchmarks ​

The 0.3.x baseline is recorded in docs/BENCHMARKS.md. It is the number later releases compare against.

Suites ​

BenchFixtureRecords
plot_decimation1,000,000-point line in a 900×600 frameCPU painting, per-pixel M4, RDP simplification
large_tree10,000 expanded explorer rowsLayout and paint of a large tree
csv1,000,000 rows × 20 columnsOpening the file and the first visible frame
palette_filter10,000 rowsEmpty, prefix, and shortcut queries

Run it ​

bash
cargo bench --workspace --no-run
cargo bench --bench plot_decimation
cargo bench --bench large_tree
cargo bench --bench csv -- --sample-size 10 --measurement-time 15
cargo bench --bench palette_filter

The raw samples are under target/criterion. The weekly Benchmarks workflow uploads them as an artifact, so a regression has a comparable history.

0.3.1 baseline ​

BenchmarkTime
plot_decimation/line_1m_900x6008.49 ms
large_tree/10k_rows_900x60038.0 ms
csv/open_1m_rows_20_columns1.52 s
csv/first_frame_1m_rows_900x60013.0 ms
palette_filter/empty85 ns
palette_filter/prefix388 µs
palette_filter/shortcut393 µs

Reference machine: AMD Ryzen 9 6900HX, Linux 7.0, Rust 1.97.1, X11 under Xvfb. Compare on the same machine; a change larger than 10 % is reviewed.

0.7 data probe ​

cargo test --release --test data_budget -- --ignored --nocapture reports:

StepTime
Open 1M × 20 CSV + type inference3.7 s
Typed payload152 MiB
Filter column_3 > 500000017.9 ms
Sort one numeric column8.2 ms

The typed payload is far below the 0.3 string-cell baseline. The filter sits just above a 60 Hz frame and is the scan 0.9's level-of-detail work targets.

0.9 engine ​

cargo test --all-features --test gpu_plot renders a line through a real headless wgpu device, so the gpu feature is exercised locally by that test (the hosting CI workflow is manual). MinMaxPyramid and StreamingSeries cover the out-of-core and live paths. The streaming probe reports 52.7 M points/s (1,000,000 points in 18.9 ms), above the 1 M points/s target. The interactive 100M-point GPU target is recorded with each tagged run.

Released under MIT OR Apache-2.0. Icons: Lucide (ISC) and Material Icon Theme (MIT).