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

cameri / nostream / 43903844407
78%
main: 79%

Build:
Build:
LAST BUILD BRANCH: rewrite/main
DEFAULT BRANCH: main
Ran 16 Nov 2026 04:11PM UTC
Jobs 1
Files 321
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

16 Nov 2026 04:06PM UTC coverage: 75.031% (-2.6%) from 77.582%
43903844407

push

github

web-flow
feat(storage): the benchmark rig, and the first LMDB recording (#1141)

The last slice of #864 (closed): the rig that produces
`docs/rewrite/benchmarks.md`, which the
cutover gate (#869) reads before it can retire the TypeScript
implementation. Filed as #1131
because 864 closed with the store slice.

## What is here

- **`crates/nostream-storage/examples/bench.rs`** — one workload, held
as named constants in the
file and echoed into the artifact, run through `Arc<dyn
EventRepository>` so the same call sites
measure either backend: a deterministic corpus, bulk load, a per-call
ingest, five read shapes,
nearest-rank percentiles, and a JSON artifact whose deterministic part
is identical across runs
of a seed while every host- and run-dependent value lives in one
`volatile` block.
- **`--verify`** — the oracle. It asserts the corpus's exact expected
totals per shape (200 / 20 000 /
99 602 / 20 000 / 1 020 000 at 50 000 events), non-empty windows per
iteration, percentile
  ordering and repeat agreement. Timings are never asserted.
- **`--repeats N`** — median/p10/p90 per shape and per rate, so a
contended host is visible rather
  than hidden by a point estimate.
- **`docs/rewrite/benchmarks.md`** +
**`docs/rewrite/benchmarks/lmdb-50k-seed7.json`** — the
recording, its conditions, its arithmetic and the decisions D1–D9 that
define what it measures
  and what it does not.
- **Two CI steps** in the existing `rust-checks` job: the benchmark unit
tests (which
`cargo test --workspace` does not run, measured) and the Postgres arm
where a database exists.
- One empty changeset, as `CLAUDE.md` requires, and the ADR 0012
amendment that retires "the
  benchmark rig, which does not exist".

## The recording, and what it is worth

One host, four cores, `Intel i7-10700T @ 2.00GHz`, load 43.32 at the
first of three repeats, release
profile, 50 000 events, seed 7, `--repeats 3`, regenerated after the
round-6 fixes (load 48.79). `create` (one write per call, the relay's
o... (continued)

4353 of 6342 branches covered (68.64%)

Branch coverage included in aggregate %.

9470 of 12081 relevant lines covered (78.39%)

747.54 hits per line

Coverage Regressions

Lines Coverage ∆ File
101
11.15
-47.84% src/utils/relay-probe/ws-protocol-probe.ts
30
67.53
-15.26% src/scripts/export-events.ts
20
9.62
-55.77% src/controllers/admission/get-admission-check-controller.ts
16
64.82
-13.57% src/import-events.ts
14
50.91
-38.18% src/utils/admin-health.ts
11
54.17
-45.83% src/factories/web-app-factory.ts
10
12.0
-56.0% src/controllers/invoices/get-invoice-status-controller.ts
9
17.5
-32.5% src/handlers/request-handlers/rate-limiter-middleware.ts
8
93.85
-2.77% src/repositories/event-repository.ts
7
32.0
-44.0% src/factories/payments-processors/lnbits-payments-processor-factory.ts
7
29.63
-40.74% src/factories/payments-processors/opennode-payments-processor-factory.ts
7
33.33
-52.38% src/factories/rate-limiter-factory.ts
6
57.14
-42.86% src/factories/controllers/post-invoice-controller-factory.ts
6
63.64
-18.18% src/utils/relay-probe/dns-probe.ts
6
18.0
-12.0% src/utils/relay-probe/tls-probe.ts
5
64.06
-15.63% src/cache/client.ts
5
58.33
-41.67% src/factories/controllers/get-admission-check-controller-factory.ts
5
50.0
-31.25% src/factories/payments-processor-factory.ts
4
41.67
-41.67% src/factories/payments-processors/lnurl-payments-processor-factory.ts
4
42.86
-57.14% src/handlers/request-handlers/nodeinfo-handler.ts
4
57.14
-42.86% src/utils/monitor-identity.ts
3
74.77
-5.61% src/adapters/redis-adapter.ts
3
37.5
-12.5% src/app/worker.ts
3
57.14
-42.86% src/factories/controllers/get-invoice-status-controller-factory.ts
3
78.38
-21.62% src/routes/index.ts
3
93.01
-2.18% src/utils/event.ts
3
41.67
-5.21% src/utils/relay-probe/nip11-probe.ts
2
78.57
-7.14% src/repositories/invoice-repository.ts
2
80.56
-2.78% src/services/event-import-service.ts
2
33.33
-66.67% src/utils/misc.ts
2
76.79
-2.68% src/utils/nip66-events.ts
2
85.11
-4.26% src/utils/relay-probe-targets.ts
2
86.81
-0.5% src/utils/settings-config.ts
1
96.67
-3.33% src/adapters/web-server-adapter.ts
1
85.71
-2.14% src/app/relay-monitor-worker.ts
1
83.33
-16.67% src/factories/controllers/lnbits-callback-controller-factory.ts
1
75.0
-25.0% src/factories/controllers/opennode-callback-controller-factory.ts
1
81.48
-5.56% src/utils/nip66-nip11-tags.ts
1
87.88
-6.06% src/utils/relay-probe-snapshot.ts
Jobs
ID Job ID Ran Files Coverage
1 Unit - 43903844407.1 16 Nov 2026 04:11PM UTC 321
75.03
GitHub Action Run
Source Files on build 43903844407
  • Tree
  • List 321
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #43903844407
  • a56b895b on github
  • Prev Build on rewrite/main (#43803240174)
  • Next Build on rewrite/main (#43904420785)
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