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

tari-project / tari / 6926646656
61%

Build:
DEFAULT BRANCH: development
Ran 20 Nov 2023 12:34PM UTC
Jobs 1
Files 717
Run time 49s
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 Nov 2023 07:04AM UTC coverage: 75.994% (-0.02%) from 76.01%
6926646656

push

github

web-flow
test: update and fix Merkle benchmarks (#5964)

Description
---
Updates and fixes Merkle benchmarks.

Closes #5962.

Motivation and Context
---
Recent work in #5954 removes mutable Merkle mountain range (MMR) code,
which became unused with the addition of sparse Merkle trees (SMTs).
Some existing benchmarks were removed or moved to accommodate this
change. During review, some minor issues were identified:
- An existing MMR and SMT benchmark reused tree structures between
benchmark iterations, which could provide incorrect timing data.
- New SMT benchmarks used bespoke timing code that didn't take full
advantage of Criterion's functionality.

This PR fixes these issues, albeit at the expense of more benchmark
setup overhead. This shouldn't be particularly problematic, as
benchmarks are only run manually as needed.

How Has This Been Tested?
---
The benchmarks run and appear to give reasonable data.

What process can a PR reviewer use to test or verify this change?
---
Check that the updated and new benchmarks exercise the desired
functionality. Check that operations use fresh tree structures for each
test iteration as needed, to ensure correct timing data.

73721 of 97009 relevant lines covered (75.99%)

207657.17 hits per line

Jobs
ID Job ID Ran Files Coverage
1 6926646656.1 20 Nov 2023 12:34PM UTC 0
75.99
GitHub Action Run
Source Files on build 6926646656
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #6926646656
  • 3886df4a on github
  • Prev Build on development (#6905702763)
  • Next Build on development (#6941029044)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc