Files
swaits 16ba94517b Bucket in SQLite, draw the build-time bootstrap once, start sccache's server
Speed: the chart's counts come from GROUP BY over the bucket number, so
about 120 rows per table per range reach Rust instead of every saved row;
a range total is one indexed SUM. History counts the rows it hands out.

Build times: crates/stats gains Resampled, which draws the bootstrap once
for a set of languages and applies it to any number of hit sets; the
server keeps it and redraws only when an observation was added. The
views fill build_times, time saved and the 90% interval from the stats
crate, and the time-saved arithmetic of the server is gone.

Starting sccache: when nothing listens where the client looks
(SCCACHE_SERVER_UDS, or 127.0.0.1 at SCCACHE_SERVER_PORT), sccache
--start-server is run once and the counters read again; a failure is
reported as NotRunning and not retried for a minute.

Uses the api's Range::ALL, parse and label.
2026-11-28 11:57:10 -07:00

21 lines
521 B
TOML

[package]
name = "sccache-dash"
description = "Records sccache's counters and serves a dashboard for them on localhost"
version.workspace = true
edition.workspace = true
license.workspace = true
[dependencies]
sccache-dash-api = { path = "../api" }
sccache-dash-stats = { path = "../stats" }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
tiny_http = "0.12"
rusqlite = { version = "0.37", features = ["bundled"] }
wait-timeout = "0.2"
dirs = "6"
include_dir = "0.7"
[dev-dependencies]
tempfile = "3"