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

btcsuite / btcd / 23569826387
56%
master: 56%

Build:
Build:
LAST BUILD BRANCH: 2026-03-30-no-wrap-ipv4-in-ipv6
DEFAULT BRANCH: master
Ran 25 Mar 2026 11:43PM UTC
Jobs 4
Files 282
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

25 Mar 2026 11:37PM UTC coverage: 56.299% (+0.07%) from 56.232%
23569826387

Pull #2513

github

Roasbeef
treap: add benchmarks for batched Put, Delete, and mixed operations

In this commit, we add four benchmark functions to measure the
performance of the immutable treap's pool-based node recycling:

BenchmarkImmutablePutBatch exercises batched Put at batch sizes of 1,
10, 100, and 1000 keys using SHA-256 hashed keys to produce unordered
insertion patterns.

BenchmarkImmutableDeleteBatch measures batched Delete at the same
scales, first building a treap and then deleting all keys in one batch.

BenchmarkImmutablePutSequential simulates the IBD hot path by
performing 10 rounds of 100-key batch inserts into a growing treap,
exercising recycling across multiple Put calls.

BenchmarkImmutableMixedPutDelete mirrors the commitTx pattern in
dbcache.go by inserting 500 keys then deleting 250, measuring the
combined allocation overhead of interleaved batch operations.
Pull Request #2513: treap, ffldb: improve pool recycling, add batched Delete

119 of 120 new or added lines in 2 files covered. (99.17%)

6 existing lines in 2 files now uncovered.

32040 of 56910 relevant lines covered (56.3%)

450636.01 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
99.69
-0.31% database/internal/treap/immutable.go

Uncovered Existing Lines

Lines Coverage ∆ File
3
72.41
0.2% peer/peer.go
3
47.89
-0.1% rpcclient/infrastructure.go
Jobs
ID Job ID Ran Files Coverage
1 btcutilpsbt - 23569826387.1 25 Mar 2026 11:43PM UTC 98
21.79
GitHub Action Run
2 btcec - 23569826387.2 25 Mar 2026 11:43PM UTC 18
80.52
GitHub Action Run
3 btcutil - 23569826387.3 25 Mar 2026 11:43PM UTC 120
18.86
GitHub Action Run
4 btcd - 23569826387.4 25 Mar 2026 11:43PM UTC 250
50.99
GitHub Action Run
Source Files on build 23569826387
  • Tree
  • List 282
  • Changed 5
  • Source Changed 2
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #23569826387
  • Pull Request #2513
  • PR Base - master (#23569410477)
  • Delete
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