Re-add bench_bitcoin to gitian binaries #13292

pull jonasschnelli wants to merge 1 commits into bitcoin:master from jonasschnelli:2018/05/bench_gitian changing 3 files +3 −3
  1. jonasschnelli commented at 7:59 AM on May 21, 2018: contributor

    bench_bitcoin is getting more valuable and it's handy to have around for benchmark comparison. Partially reverts #7776 and #8175

  2. jonasschnelli added the label Build system on May 21, 2018
  3. MarcoFalke commented at 4:05 PM on May 21, 2018: member

    Slightly tend to -0 on shipping the bench binary. I believe the bench is only useful when comparing the output of a code change while keeping itself unchanged. Note that the bench framework changes significantly between releases, so there would be not much value in having it shipped.

    I assume your motivation is to ship them on https://bitcoin.jonasschnelli.ch/, in which case I suggest to patch the gitian descriptor locally.

  4. jonasschnelli commented at 6:45 PM on May 21, 2018: contributor

    I assume your motivation is to ship them on https://bitcoin.jonasschnelli.ch/, in which case I suggest to patch the gitian descriptor locally.

    Not only. I was just confronted with comparing different computer systems (mostly barebones) and the bench would have given me first datapoints (for SHA2, etc.).

  5. laanwj commented at 6:13 PM on May 23, 2018: member

    I'm also ~0 on this. I agree that my original rationale, that bench is useless (at the time it had only one or two tests), no longer holds. Still there's not much point in running it for normal users.

    The advantage of adding this has to be balanced against the extra space the extra binary will take up in the distributions.

  6. MarcoFalke commented at 7:45 PM on May 23, 2018: member

    Not only. I was just confronted with comparing different computer systems (mostly barebones) and the bench would have given me first datapoints (for SHA2, etc.).

    Oh, thats a good use case I haven't thought of. Though, in that case you are most likely a sys-admin-kind of person and can compile (or gitian build) from source?

  7. sipa commented at 6:10 PM on May 24, 2018: member

    No strong opinion, but in general I don't see much value to adding a benchmark (a tool mostly useful for developers) to the release distribution. On the other hand, it also doesn't hurt much.

  8. laanwj commented at 4:40 PM on June 5, 2018: member

    On the other hand, it also doesn't hurt much.

    Interestingly, the bench_bitcoin is larger than bitcoind here (both on Ubuntu 16.04 and 18.04, though these are dynamic executable sizes, the ones in the distribution will be larger as they link boost etc statically):

    7,6M src/bench/bench_bitcoin
    6,5M src/bitcoind
    
  9. MarcoFalke commented at 4:51 PM on June 5, 2018: member

    bench includes the 1Mb block?

  10. laanwj commented at 6:07 PM on June 7, 2018: member

    bench includes the 1Mb block?

    Seems like a reasonable explanation. It'd probably add about 11M in that case (to the uncompressed size), in the 0.16.0 archive the bitcoind executable is:

    -rwxr-xr-x  1 user user 9,8M feb 22 20:19 bitcoind
    
  11. Re-add bench_bitcoin to gitian binaries 7f1d638cbc
  12. jonasschnelli force-pushed on Jun 11, 2018
  13. laanwj commented at 4:44 PM on June 24, 2018: member

    It looks like there's not much agreement to do this, closing for now.

  14. laanwj closed this on Jun 24, 2018

  15. MarcoFalke commented at 2:41 PM on February 13, 2020: member

    fyi, DrahtBot will ship the bench_bitcoin on gitian builds

  16. DrahtBot locked this on Feb 15, 2022

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-13 21:15 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me