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

Chia-Network / chia_rs / 14995941233
81%

Build:
DEFAULT BRANCH: main
Ran 13 May 2025 12:36PM UTC
Jobs 1
Files 123
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

13 May 2025 11:55AM UTC coverage: 65.204% (-1.7%) from 66.879%
14995941233

push

github

web-flow
Add a benchmark tool to measure the computation time for different conditions (#1038)

* add flag for checking if we decrement

* add cost for observing any condition

* checkpoint

* develop benchmark further

* shape of benchmark (non functioning)

* add list lengthening

* Update crates/chia-consensus/src/gen/conditions.rs

Co-authored-by: Arvid Norberg <arvid.norberg@gmail.com>

* Update crates/chia-consensus/src/gen/conditions.rs

Co-authored-by: Arvid Norberg <arvid.norberg@gmail.com>

* add validate conditions and validate signature for true benchmarking

* fix conditions (we run now!)

* real pubkey

* clippy fixes

* use process_single_spend in benchmarking

* coin spend passes

* fix signature

* move towards linreg

* print slopes

* add linreg to chia_tools

* fix slopes

* add 4 more test cases

* fmt

* add more conditions

* add aggsig conditions

* add remaining aggsig conditions

* fix cons_condition

* use slices instead of vectors in benchmark-conditions-cost.rs

* fixup linreg dependency

* compute predicted costs for conditions

* clippy fixes

* add support for pairs and add bench for announcements and messages

* fmt

* clippy

* div 2 slope

* plot measurements using gnuplot, to validate the results are linear and don't have too many outliers affecting the result

* scale up the condition counter rather than dividing the slope by 2

* gitignore  .pngs

* add 100 free conditions

* revert conditions costing changes

* fmt and clippy

* remove unused code

* fmt

* more commented code removal

* remove "cost" counter

---------

Co-authored-by: Arvid Norberg <arvid.norberg@gmail.com>
Co-authored-by: Arvid Norberg <arvid@libtorrent.org>

0 of 423 new or added lines in 1 file covered. (0.0%)

11011 of 16887 relevant lines covered (65.2%)

846961.08 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
423
0.0
crates/chia-tools/src/bin/benchmark-condition-costs.rs
Jobs
ID Job ID Ran Files Coverage
1 14995941233.1 13 May 2025 12:36PM UTC 123
65.2
GitHub Action Run
Source Files on build 14995941233
  • Tree
  • List 123
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #14995941233
  • dfb519d7 on github
  • Prev Build on main (#14932251912)
  • Next Build on main (#15020329126)
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