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

hyperledger / fabric-x-committer / 29743468061
91%
main: 91%

Build:
Build:
LAST BUILD BRANCH: bench-report-metrics
DEFAULT BRANCH: main
Ran 20 Jul 2026 12:48PM UTC
Jobs 3
Files 128
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 Jul 2026 12:43PM UTC coverage: 91.465% (-0.3%) from 91.727%
29743468061

Pull #688

github

liran-funaro
[loadgen] Remove the workload distribution

- Improvement

- The load generator's `Distribution` descriptor supported five variants
(`const`, `uniform`, `normal`, `bernoulli`, `discrete`), but only `const`
was ever used. Load generation holds each parameter at a fixed value so
results are deterministic and comparable across runs, so the unused
variants only added config surface, sample-YAML documentation, generator
types, and tests with no realized benefit. This collapses `Distribution`
down to plain constant values.

- Delete `distributions.go` and the orphaned
`Const`/`FloatToInt`/`FloatToPositiveInt`/`FloatToBoolean` generators;
`MultiGenerator.Count` is now a plain `int`.
- Replace the `*Distribution` profile fields with plain scalars:
read/read-write/blind-write counts and query size become `uint32`, the
minimal invalid-keys portion becomes `Probability`, and the dependency
gap becomes `uint64` (min 1).
- Keep per-transaction conflict injection (invalid signatures and
dependency probability) via a small `bernoulliGenerator`
(`rnd.Float64() < p`) with identical semantics to the previous
Bernoulli-based path.
- Update the sample `loadgen.yaml` documentation and the affected tests.

- Resolves #682

Signed-off-by: Liran Funaro <liran.funaro@gmail.com>
Pull Request #688: [loadgen] Remove the workload distribution

22 of 22 new or added lines in 4 files covered. (100.0%)

37 existing lines in 8 files now uncovered.

10331 of 11295 relevant lines covered (91.47%)

34871.6 hits per line

Coverage Regressions

Lines Coverage ∆ File
13
78.45
-2.33% service/sidecar/sidecar.go
10
84.7
-2.73% service/vc/database.go
4
88.31
-2.6% service/vc/committer.go
4
91.27
-1.75% service/vc/validator_committer_service.go
2
81.9
-1.9% service/query/query.go
2
85.76
-0.68% service/query/batcher.go
1
97.5
4.17% mock/coordinator.go
1
94.95
-1.01% loadgen/adapters/common.go
Jobs
ID Job ID Ran Files Coverage
1 core-db-test - 29743468061.1 20 Jul 2026 12:48PM UTC 99
45.6
GitHub Action Run
2 unit-test - 29743468061.2 20 Jul 2026 12:52PM UTC 92
84.5
GitHub Action Run
3 db-test - 29743468061.3 20 Jul 2026 12:51PM UTC 128
79.59
GitHub Action Run
Source Files on build 29743468061
  • Tree
  • List 128
  • Changed 17
  • Source Changed 0
  • Coverage Changed 17
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #688
  • PR Base - main (#29740145923)
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