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

databendlabs / openraft / 20344216752 / 1
88%
main: 88%

Build:
DEFAULT BRANCH: main
Ran 18 Dec 2025 04:49PM UTC
Files 238
Run time 8s
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

18 Dec 2025 03:48PM UTC coverage: 92.48% (-0.09%) from 92.566%
20344216752.1

push

github

drmingdrmer
perf: use Vec instead of HashMap for RuntimeStats counters

Replace HashMap-based counting with Vec and direct indexing for better
performance. Each Name enum now has an `index()` method and `COUNT`
constant for O(1) array access instead of hash lookups.

Changes:
- Add `COUNT` and `index()` to `RaftMsgName`, `CommandName`, `ExternalCommandName`, `SMCommandName`
- Replace `HashMap<Name, u64>` with `Vec<u64>` in `RuntimeStats`
- Add tests to verify index-to-name mappings are correct

15187 of 16422 relevant lines covered (92.48%)

147596.18 hits per line

Source Files on job 20344216752.1
  • Tree
  • List 238
  • Changed 13
  • Source Changed 9
  • Coverage Changed 12
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 20344216752
  • 74a344ae on github
  • Prev Job for on main (#20340037209.1)
  • Next Job for on main (#20344985625.1)
  • 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