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

powersemmi / ruststream / 34958896633
96%

Build:
DEFAULT BRANCH: main
Ran 15 Sep 2026 10:40AM UTC
Jobs 1
Files 99
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

15 Sep 2026 10:36AM UTC coverage: 96.464%. Remained the same
34958896633

push

github

web-flow
feat: benchmark the framework's own code (#365)

* feat(#364): measure what the framework costs per message

Benchmarks of the framework's own code: instructions and allocations per
message for consuming, replying, slot publishing, typed headers, batches and
a request round trip, each against a hand-written loop over the same
in-process queue doing the same decode, the same read and the same
settlement. The difference between the two is the framework.

`just bench` runs them and writes the document the benchmarks page reads.
Instructions come from callgrind and allocations from DHAT, both exact; a
wall-clock pair through divan is printed and never gated.

Two ways of writing the measurement down fail silently, and the module notes
say so: restricting collection to the framework's own frames counts the
parity of the nesting rather than the work, and the harness default toggles
on a name the compiler also spells into generic instances the body reaches.
Collection is therefore switched on for one frame of the suite's own.

* ci(#364): gate a pull request on the cost of a message

A job that installs valgrind and the pinned runner, measures the merge base
with the same benchmarks, then measures the pull request against it. More
than two percent of instructions in a gated scenario fails it, and so does an
allocation above what the scenario declares; wall time only prints.

Measuring the base is best effort: a pull request that changes the surface
the benchmarks use cannot build them against the base, and the run then
reports without comparing rather than failing on what it cannot measure.

* docs(#364): publish the cost of the code next to the throughput pair

The benchmarks page now carries two tables. The first is unchanged: what a
service costs against a raw client on a real broker. The second is new:
instructions and allocations per message for the framework's own code, with
the hand-written loop it is compared against and the difference between them.
... (continued)

60 of 61 new or added lines in 2 files covered. (98.36%)

2 existing lines in 1 file now uncovered.

14760 of 15301 relevant lines covered (96.46%)

195.16 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
98.34
-0.09% src/runtime/dispatch.rs

Coverage Regressions

Lines Coverage ∆ File
2
98.34
-0.09% src/runtime/dispatch.rs
Jobs
ID Job ID Ran Files Coverage
1 34958896633.1 15 Sep 2026 10:40AM UTC 99
96.46
GitHub Action Run
Source Files on build 34958896633
  • Tree
  • List 99
  • Changed 3
  • Source Changed 3
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #34958896633
  • d5ff3374 on github
  • Prev Build on main (#34943840964)
  • Next Build on main (#34964815500)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc