Repository navigation
Highlights
- Faster report generation for large caches.
- Pull requests opened for inspection remain available offline without being counted as your own activity.
- Improved cache and coverage handling, including safer migrations for viewed pull requests.
- More reliable date and time handling across reports.
Performance
Report generation for large caches and long periods is faster. On a copy of a real cache (112,850 events, 2,928 pull requests, 388 repositories; 5 warm-up runs, then 50 runs; load + overview, p95):
| Period | Before | 0.2.0 |
|---|---|---|
| 366 days | 137.0 ms | 117.0 ms |
| 3,000 days | 161.8 ms | 132.2 ms |
| 30 days | 65.9 ms | 61.4 ms |
| 7 days | 38.9 ms | 39.1 ms |
On the synthetic benchmark (Apple M4, release build, 100,000 events, cargo bench --bench latency, p50 / p95), the differences from 0.1.6 are within run-to-run variation:
| 0.1.6 | 0.2.0 | Target (p95) | |
|---|---|---|---|
| 100k event aggregation (overview, 1 year) | 57.7 / 60.0 ms | 55.5 / 56.8 ms | ≤ 1000 ms |
| 100k event aggregation (daily, 1 year) | 57.5 / 59.0 ms | 55.4 / 58.6 ms | ≤ 1000 ms |
| Cached 7-day aggregation | 74.3 / 91.4 ms | 76.6 / 78.3 ms | ≤ 200 ms |
| Cached 30-day aggregation | 100.6 / 108.2 ms | 104.3 / 107.7 ms | ≤ 500 ms |
Install
npm install -g ghusage@0.2.0Prebuilt binaries are provided for macOS (Apple Silicon and Intel), Linux (x64 and arm64), and Windows (x64 and arm64).
See the README for setup and usage.
What's Changed
- feat(time): prototype Jiff migration by @tanahiro2010 in #18
- feat(time): complete chrono to jiff migration by @tanahiro2010 in #19
- chore(deps): bump signal-hook from 0.3.18 to 0.4.6 by @dependabot[bot] in #17
- ci: centralize Rust toolchain and dependency checks by @tanahiro2010 in #21
- fix(ci): pin toolchain action with input support by @tanahiro2010 in #22
- ci: add manual CI speed benchmark workflow by @tanahiro2010 in #23
- test: tolerate additional timeout retries on ARM by @tanahiro2010 in #24
- fix(ci): use runner temp path in benchmark workflow by @tanahiro2010 in #25
- fix(ci): support binary-only packages in split benchmark by @tanahiro2010 in #26
- ci: reuse repository toolchain setup across workflows by @tanahiro2010 in #27
- ci: establish workspace lint policy by @tanahiro2010 in #28
- refactor(clippy): apply machine-applicable lint fixes by @tanahiro2010 in #29
- fix(sync): skip copies of commits that commit search finds in other repositories by @yuu61 in #12
- refactor(visibility): restrict unreachable public items by @tanahiro2010 in #30
- refactor: split large application modules by @tanahiro2010 in #31
- refactor: split remaining large modules by @tanahiro2010 in #32
- refactor(tui): split app and ui modules by @tanahiro2010 in #33
- refactor: complete issue 11 structural cleanup by @tanahiro2010 in #41
- feat(domain): model coverage, viewed pull requests, and repository references by @tanahiro2010 in #42
- fix(storage): isolate viewed pull requests from activity by @tanahiro2010 in #44
- chore(ci): complete workspace lint rollout by @tanahiro2010 in #47
- chore(workflow): add pull request merge guidance by @tanahiro2010 in #48
- perf(report): reduce large cache report latency by @tanahiro2010 in #49
- chore(release): prepare 0.2.0 by @tanahiro2010 in #50
- chore(release): release 0.2.0 by @tanahiro2010 in #51
New Contributors
- @dependabot[bot] made their first contribution in #17
- @yuu61 made their first contribution in #12
Full Changelog: v0.1.6...v0.2.0