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

powersemmi / ruststream / 35491848525
96%

Build:
DEFAULT BRANCH: main
Ran 20 Sep 2026 05:34AM 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

20 Sep 2026 05:30AM UTC coverage: 96.489% (+0.008%) from 96.481%
35491848525

push

github

web-flow
perf: a delivery is one reference count, and a transform can name a destination from bytes it already holds (#386)

* perf: a transform names a destination without allocating

The destination of an outgoing message was a `Cow<'a, str>` whose lifetime is the publish
call's, so a name read off the delivery being answered could only be copied into it. That is the
direct reply-to path, which is how request-reply works on every broker that has one.

`OutgoingName` gives the field a third form, a shared buffer, beside the borrow and the owned
string. `HeaderMap::get_shared` hands a header value over as the counted bytes the map stores, so
a reply address becomes a destination through a UTF-8 check and nothing else. Every call site
converts, so a literal at a mount site still borrows and still costs nothing.

* perf: a delivery is one reference count, not one per field (#387)

The in-memory broker held a delivery's name, payload and headers as three independently counted
buffers, so every hand-over - the fanout copy per subscriber, a requeue, a replay off the publish
log - was three atomic increments and three decrements. Nothing in the consumer contract asks for
that: every accessor it names returns a borrow, so one shared block serves all of them. What
differs per copy, the log position and the attempt count, stays outside the block.

The broker-author contract states the rule, since a broker crate's delivery wraps a client message
whose name, payload and headers are usually three counted things again.

The gated suite cannot see this: it counts instructions, and an atomic read-modify-write is one
instruction to callgrind whatever the cache line does. One wall-clock scenario measures a consume
on a runtime with worker threads, where the delivery crosses a core between the publishing thread
and the dispatching one.

* build: allow the string type under the path an impl spells it with

`Str` is an alias: the public-API check names it where a signature writes... (continued)

73 of 73 new or added lines in 5 files covered. (100.0%)

14893 of 15435 relevant lines covered (96.49%)

192.14 hits per line

Jobs
ID Job ID Ran Files Coverage
1 35491848525.1 20 Sep 2026 05:34AM UTC 99
96.49
GitHub Action Run
Source Files on build 35491848525
  • Tree
  • List 99
  • Changed 7
  • Source Changed 7
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #35491848525
  • 7b4ece64 on github
  • Prev Build on main (#35471091069)
  • Next Build on main (#35492021027)
  • 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