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.
This commit is contained in:
1 parent
90a6302149
commit
16ba94517b
7 files changed
+1523
-473
No files matched your search
@@ -7,6 +7,7 @@ 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"
|
||||
|
||||
Reference in new issue
Block a user