summaryrefslogtreecommitdiffstats
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* tools: census how wide each module's interface actually isdev11 days2-0/+363
| | | | | | | | | | | | | | | | | | | | | | An interface is only as narrow as the items a module hands out, and nobody had counted them: 585 pub items across 27 modules, 146 of which nothing outside their own module ever names. That is not an interface, it is a hole in the module boundary, and every one of them is a thing a later refactor cannot change without a grep across the crate. The census counts pub items per module, how many of them are dead, how many of those a test does name (the integration tests are separate crates, so a name only they use is genuinely pub and the honest thing is to count it rather than pretend it is private), the glob re-exports that flatten a namespace, and the crate:: edge set between modules. The edge set is already acyclic, which is the useful surprise: a layer map can be declared over the graph as it stands rather than after breaking something. It also says where the width is — db hands out 226 items, http 68 of which 54 are dead — so the work has an order. Baseline for all of it: 273 tests passing, clippy -D warnings clean, release build clean.
* tools: census the final treeaur-build11 days1-0/+1
|
* tools: record the final wall measurementaur-build11 days1-0/+1
|
* tools: record the suite's cost before and afteraur-build12 days1-0/+2
| | | | | | | 137.9s and 7,017 execs became 121.3s and 4,616, with the 1,090 vercmp spawns gone entirely. Short of the 105s and 3,500 target: what is left is fsync on the scratch filesystem and the mirror clone/fetch cluster, neither of which these four changes were allowed to touch.
* fix: what clippy -D warnings was holdingaur-build12 days1-0/+1
| | | | | Sandbox::default was a hand-written derivable_impl, and copy_tree borrowed an owned PathBuf.
* tools: fix the record path in suite-costaur-build12 days2-6/+4
|
* tests: record the vercmp oracle instead of spawning it 1,089 timesaur-build12 days1-0/+45
| | | | | | | | | The differential against pacman's vercmp is the suite's second biggest process cost, and its verdicts are a function of two strings plus the pacman that produced them. They are recorded in testcorpus/vercmp-oracle.tsv now and compared in process on every run, antisymmetry of the table included. The live differential is still there - AUR_LIVE_VERCMP=1 runs it and says so when it is not run.
* tools: record the plain baseline row alongside the census rowaur-build12 days2-5/+11
|
* tools: measure the suite's wall, cpu and process churnaur-build12 days2-0/+123
The suite spends most of its time waiting, so wall time alone hides what actually changes when the harness improves. This records wall, descendant cpu, and a successful-execve census (PATH probes excluded) in one run, and appends a row to tools/suite-cost.md.