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

Chaguar / committer / 44492967923
91%
main: 91%

Build:
Build:
LAST BUILD BRANCH: bench/sidecar-end-to-end
DEFAULT BRANCH: main
Ran 19 Nov 2026 09:11AM UTC
Jobs 3
Files 140
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

19 Nov 2026 09:01AM UTC coverage: 90.517% (-0.2%) from 90.758%
44492967923

Pull #895

github

liran-funaro
[sidecar, test] Add an end-to-end sidecar benchmark

#### Type of change

- Test update

#### Description

- Adds `BenchmarkSidecarEndToEnd`, which drives the whole sidecar on one machine over block sizes 100 to 10,000. A block is pulled over the orderer's Deliver stream and its signatures verified, mapped, sent to the coordinator over a real gRPC stream, its statuses collected, and appended to an on-disk ledger. Only the orderer (`mock.Orderer` with `PrepareInPlace`) and the coordinator (a stub that echoes `COMMITTED`) are stubbed.
- Sweeps the ledger's `sync-interval` (1, the default, and 100) and the TX ID index (on and off) at every block size, to show what each costs on the append path.
- Widens `mock.NewOrdererTestEnv`, `OrdererTestEnv.StartServers` and `test.NewPreAllocatedLocalHostServerConfig` from `*testing.T` to `testing.TB`.

#### Related issues

- resolves #792
- related to #911

Signed-off-by: Liran Funaro <liran.funaro@gmail.com>
Pull Request #895: [sidecar, test] Add an end-to-end sidecar benchmark

10108 of 11167 relevant lines covered (90.52%)

23999.26 hits per line

Coverage Regressions

Lines Coverage ∆ File
15
77.7
-3.22% service/sidecar/sidecar.go
7
83.48
-2.1% service/vc/database.go
4
94.23
-3.85% mock/coordinator.go
3
90.51
-1.09% service/sidecar/relay.go
3
90.32
-1.61% service/vc/validator_committer_service.go
2
93.5
-1.0% service/coordinator/coordinator.go
2
86.57
-1.49% service/vc/committer.go
1
76.0
-2.0% utils/utils.go
1
85.33
-1.33% loadgen/adapters/verifier.go
Jobs
ID Job ID Ran Files Coverage
1 core-db-test - 44492967923.1 19 Nov 2026 09:11AM UTC 107
49.43
GitHub Action Run
2 unit-test - 44492967923.2 19 Nov 2026 09:11AM UTC 93
85.88
GitHub Action Run
3 db-test - 44492967923.3 19 Nov 2026 09:11AM UTC 140
78.25
GitHub Action Run
Source Files on build 44492967923
  • Tree
  • List 140
  • Changed 16
  • Source Changed 0
  • Coverage Changed 16
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #895
  • PR Base - main (#44482317277)
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