Server half of sccache-dash
Polls sccache's counters every 10 s, keeps a JSON-lines history, and serves the page and its API on 127.0.0.1: one difference-with-reset mechanism behind every range, per-language time saved, problems, a copyable summary, and extra tables for multi-level and distributed caches. The page is embedded from crates/ui/dist when it exists, with a placeholder until then. POST /api/zero refuses foreign Host and Origin headers. Tests run against a stand-in sccache script; sample fixtures for the multi-level and distributed shapes are made up.
This commit is contained in:
1 parent
a8e7bd66cf
commit
3cbc02e631
18 files changed
+3654
No files matched your search
@@ -0,0 +1,10 @@
|
||||
//! The server half of sccache-dash: it asks sccache for its counters, keeps their history and
|
||||
//! serves the page that draws them.
|
||||
|
||||
pub mod app;
|
||||
pub mod history;
|
||||
pub mod http;
|
||||
pub mod pretty;
|
||||
pub mod stats;
|
||||
pub mod systemd;
|
||||
pub mod view;
|
||||
Reference in new issue
Block a user