Repository navigation
ghusage 0.1.6
Changes
- JSON: in
diff_stats,additionsanddeletionsare nownullwhen no commit has known line counts (coverage: "unavailable"). Before, they were0, and onlycoverageshowed that the value was unknown rather than zero lines. Partial sums are still numbers, withcoverage: "partial". See JSON output. If a script reads these fields, handlenull.
Performance
No change to the speed of ghusage itself in this release. Measured on Apple M4 (release build, 100,000 events, 50 runs after 5 warm-up runs, cargo bench --bench latency):
| 0.1.5 | 0.1.6 | Target | |
|---|---|---|---|
| Cached 7-day aggregation, p95 | 85 ms | 82 ms | ≤ 200 ms |
| Cached 30-day aggregation, p95 | 118 ms | 106 ms | ≤ 500 ms |
| 100k event aggregation (overview), p95 | 75 ms | 65 ms | ≤ 1000 ms |
The differences are within run-to-run variation (both runs were taken on a busy machine); the code paths are unchanged.
Development
- CI now runs formatting, the benchmarks in test mode and the 100k-event terminal UI test on one Linux runner only, and links Windows tests with
rust-lld. Per-platform release builds run only for pull requests intorelease. A push todevwent from 5.0 to 3.0 minutes.
Install / update
npm install -g ghusage@0.1.6Full changelog: v0.1.5...v0.1.6
What's Changed
- chore: release 0.1.6 by @tanahiro2010 in #10
Full Changelog: v0.1.5...v0.1.6