• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

databendlabs / openraft / 24178945835
86%

Build:
DEFAULT BRANCH: main
Ran 09 Apr 2026 07:54AM UTC
Jobs 1
Files 260
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

09 Apr 2026 07:42AM UTC coverage: 86.354% (+0.4%) from 85.972%
24178945835

push

github

drmingdrmer
feat: add log stage display to RuntimeStatsDisplay

Display log stage latency data in all three RuntimeStatsDisplay modes:

- **Compact**: inline `log_stages(us): {name: [stats], ...}`
- **Multiline**: percentile summary per stage, plus per-segment
  timeline from `LogStages::segments()` (pre-rendered as a String
  to erase the `Instant` type parameter)
- **Human-readable**: tabled percentile grid, followed by a stacked
  `AsciiChart` showing the latency distribution across all 5 stages

Changes:
- Add `ascii_chart()` on `LogStageHistograms` to build a stacked
  `AsciiChart` from the 5 stage-to-stage histograms
- Add `log_stage_histograms` and `log_stages_display` fields to
  `RuntimeStatsDisplay`
- Add unit tests for all 3 display modes including human-readable
  with log-normal distributed test data

180 of 191 new or added lines in 4 files covered. (94.24%)

28 existing lines in 5 files now uncovered.

16194 of 18753 relevant lines covered (86.35%)

121802.14 hits per line

Uncovered Changes

Lines Coverage ∆ File
8
62.0
-34.88% openraft/src/core/runtime_stats/log_stage/histograms.rs
3
53.13
-2.61% openraft/src/core/runtime_stats/runtime_stats.rs

Coverage Regressions

Lines Coverage ∆ File
11
62.0
-34.88% openraft/src/core/runtime_stats/log_stage/histograms.rs
9
90.8
90.8% openraft/src/core/runtime_stats/runtime_stats_display.rs
3
86.96
-3.26% openraft/src/core/heartbeat/worker.rs
3
88.89
-11.11% openraft/src/core/sm/handle.rs
2
53.13
-2.61% openraft/src/core/runtime_stats/runtime_stats.rs
Jobs
ID Job ID Ran Files Coverage
1 24178945835.1 09 Apr 2026 07:54AM UTC 260
86.35
GitHub Action Run
Source Files on build 24178945835
  • Tree
  • List 260
  • Changed 7
  • Source Changed 4
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #24178945835
  • 2c4969e8 on github
  • Prev Build on main (#24136120416)
  • Next Build on main (#24312391936)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc