aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile.bench.include
Commit message (Collapse)AuthorAgeFilesLines
* Merge #13586: refactor: add benchmarks to bech32::Encode/DecodeWladimir J. van der Laan2018-07-111-0/+1
|\ | | | | | | | | | | | | | | | | | | | | | | 189cf35f3e6d2cc9ed08eb23dd0ea36be28b6c11 Add simple bech32 benchmarks (Karl-Johan Alm) Pull request description: This PR adds benchmarks to `Encode()`/`Decode()`. The benchmark commit is duplicated in #13632. Tree-SHA512: 102a193e4af58c9cb23c66d3dc7e174aa6328edab0ed74f92deb7804db5c3d0601807b3e25a5472b5c72d6113cde0dbc9976315644671a8f14ecf349967dbaaa
| * Add simple bech32 benchmarksKarl-Johan Alm2018-07-031-0/+1
| |
* | Break circular dependency: init -> * -> init by extracting shutdown.hBen Woosley2018-06-251-1/+1
|/ | | | | | | | | | | | | | | | | | | | | | | | | Most includers just wanted to react to pending shutdown. This isolates access to `fRequestShutdown` and limits access to the shutdown api functions, including the new `AbortShutdown` for setting it to `false`. Note I originally called `AbortShutdown` `CancelShutdown` but that name was already taken by winuser.h https://travis-ci.org/bitcoin/bitcoin/jobs/386913329 This change also triggered a build error in bench. Fixing it required moving LIBBITCOIN_SERVER after LIBBITCOIN_WALLET in bench_bench_bitcoin_LDADD To make server definitions in src/net.cpp available to wallet methods in src/wallet/wallet.cpp. Specifically, solving: libbitcoin_wallet.a(libbitcoin_wallet_a-wallet.o): In function `CWalletTx::RelayWalletTransaction(CConnman*)': wallet.cpp:(.text+0x3f0e): undefined reference to `CConnman::NodeFullyConnected(CNode const*)' collect2: error: ld returned 1 exit status https://travis-ci.org/bitcoin/bitcoin/jobs/392133581 Need for remaining init.h includes confirmed via a thorough search with a more specific regex: \bInterrupt\(\)|\bShutdown\(\)|\bInitLogging\(\)|\bInitParameterInteraction\(\)|\bAppInitBasicSetup\(\)|\bAppInitParameterInteraction\(\)|\bAppInitSanityChecks\(\)|\bAppInitLockDataDirectory\(\)|\bAppInitMain\(\)|\bSetupServerArgs\(\)|\bLicenseInfo\(\)|g_wallet_init_interface|init.h
* Merge #13219: bench: Add block assemble benchmarkWladimir J. van der Laan2018-06-241-0/+1
|\ | | | | | | | | | | | | | | fa0fc1bc7edc7f1dd419db6776dcf89749cc1a00 bench: Add block assemble benchmark (MarcoFalke) Pull request description: Tree-SHA512: 614da28020b76154f4cb17752df226466d2d7da7a81f31812e10ca5b94987c7f5abab62b2f45a3a958663bd8cbf2191f3f23e497215196ad7a775f0ea8fb6116
| * bench: Add block assemble benchmarkMarcoFalke2018-05-131-0/+1
| |
* | Merge #13312: docs: Add a note about the source code filename naming conventionMarcoFalke2018-06-121-1/+1
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | e56771365b Do not use uppercase characters in source code filenames (practicalswift) 419a1983ca docs: Add a note about the source code filename naming convention (practicalswift) Pull request description: Add a note about the source code filename naming convention. Tree-SHA512: 8d329bd9e19bcd26e74b0862fb0bc2369b46095dbd3e69d34859908632763abd7c3d00ccc44ee059772ad4bae4460c2bcc1c0e22fd9d8876d57e5fcd346cea4b
| * | Do not use uppercase characters in source code filenamespracticalswift2018-05-231-1/+1
| |/
* | crypto: cleanup sha256 buildCory Fields2018-06-061-2/+0
| | | | | | | | | | Rather than appending all possible cpu variants to all targets, create a convenience variable that encompasses all.
* | 8-way AVX2 implementation for double SHA256 on 64-byte inputsPieter Wuille2018-05-291-0/+1
| |
* | 4-way SSE4.1 implementation for double SHA256 on 64-byte inputsPieter Wuille2018-05-291-0/+1
| |
* | Benchmark Merkle root computationPieter Wuille2018-05-081-0/+1
|/
* benchmark: Removed bench/perf.cppThomas Snider2018-04-181-2/+0
|
* Add new prevector benchmarks.Evan Klitzke2018-02-271-1/+1
| | | | | This prepares for a series of two additional commits which optimize prevector performance.
* Create getaddressinfo RPC and deprecate parts of validateaddressAndrew Chow2018-02-161-1/+1
| | | | | | | | | | | | | Moves the parts of validateaddress which require the wallet into getaddressinfo which is part of the wallet RPCs. Mark those parts of validateaddress which require the wallet as deprecated. Validateaddress will call getaddressinfo for the data that both share for right now. Moves IsMine functions to libbitcoin_common and then links libbitcoin_wallet before libbitcoin_common in order to prevent linker errors since IsMine is no longer used in libbitcoin_server.
* build: Make "make clean" remove all files created when running "make check"practicalswift2017-10-041-4/+5
| | | | | | | | | | | | | | | | | | | | More specifically: remove also obj/build.h and bench/data/block413567.raw.h. Before this patch: ``` $ diff -rq bitcoin-before-make/ bitcoin-after-make-and-make-clean/ | grep -E "^Only in bitcoin-after-make-and-make-clean/" | grep -v dirstamp Only in bitcoin-after-make-and-make-clean/src/bench/data: block413567.raw.h Only in bitcoin-after-make-and-make-clean/src/obj: build.h $ ``` After this patch: ``` $ diff -rq bitcoin-before-make/ bitcoin-after-make-and-make-clean/ | grep -E "^Only in bitcoin-after-make-and-make-clean/" | grep -v dirstamp $ ```
* leveldb: enable runtime-detected crc32 instructionsCory Fields2017-06-091-0/+1
|
* Merge #9505: Prevector Quick DestructWladimir J. van der Laan2017-03-141-1/+2
|\ | | | | | | | | | | | | 45a5aaf Only call clear on prevector if it isn't trivially destructible and don't loop in clear (Jeremy Rubin) aaa02e7 Add prevector destructor benchmark (Jeremy Rubin) Tree-SHA512: 52bc8163b65b71310252f2d578349d0ddc364a6c23795c5e06e101f5449f04c96cbdca41c0cffb1974b984b8e33006471137d92b8dd4a81a98e922610a94132a
| * Add prevector destructor benchmarkJeremy Rubin2017-01-101-1/+2
| |
* | Add Basic CheckQueue BenchmarkJeremy Rubin2017-01-091-0/+1
|/
* bench: Add support for measuring CPU cyclesWladimir J. van der Laan2016-11-221-1/+3
| | | | | | | This adds cycle min/max/avg to the statistics. Supported on x86 and x86_64 (natively through rdtsc), as well as Linux (perf syscall).
* Bugfix: Correctly replace generated headers and fail cleanlyLuke Dashjr2016-11-121-3/+5
| | | | Also removes generation of headers for *.raw files in test_bitcoin (none exist anymore)
* Add deserialize + CheckBlock benchmarks, and a full block hexMatt Corallo2016-11-091-1/+16
|
* bench: Add benchmark for lockedpool allocation/deallocationWladimir J. van der Laan2016-10-271-1/+2
|
* Add microbenchmarks to profile more code paths.Russell Yanofsky2016-10-181-1/+5
| | | | | | | | | | | | The new benchmarks exercise script validation, CCoinsDBView caching, mempool eviction, and wallet coin selection code. All of the benchmarks added here are extremely simple and don't necessarily mirror common real world conditions or interesting performance edge cases. Details about how specific benchmarks can be improved are noted in comments. Github-Issue: #7883
* Add MIT license to MakefilesLuke Dashjr2016-09-211-0/+4
|
* bench: Added base58 encoding/decoding benchmarksYuri Zhykin2016-05-271-1/+2
|
* bench: Add crypto hash benchmarksWladimir J. van der Laan2016-05-111-1/+2
| | | | | | | | | | | Add benchmarks for the cryptographic hash algorithms: - RIPEMD160 - SHA1 - SHA256 - SHA512 Continues work on #7883.
* Benchmark rolling bloom filterPieter Wuille2016-04-281-1/+2
|
* Merge #7349: Build against system UniValue when availableWladimir J. van der Laan2016-02-041-2/+2
|\ | | | | | | | | | | | | | | | | | | 42407ed build-unix: Update UniValue build conditions (Luke Dashjr) cdcad9f LDADD dependency order shuffling (Luke Dashjr) 62f7f2e Bugfix: Always include univalue in DIST_SUBDIRS (Luke Dashjr) 2356515 Change default configure option --with-system-univalue to "no" (Luke Dashjr) 5d3b29b doc: Add UniValue to build instructions (Luke Dashjr) ab22705 Build against system UniValue when available (Luke Dashjr) 2adf7e2 Bugfix: The var is LIBUNIVALUE,not LIBBITCOIN_UNIVALUE (Luke Dashjr)
| * LDADD dependency order shufflingLuke Dashjr2016-01-311-2/+2
| |
| * Bugfix: The var is LIBUNIVALUE,not LIBBITCOIN_UNIVALUELuke Dashjr2016-01-151-1/+1
| |
* | Build: Consensus: Move consensus files from common to its own module/packageJorge Timón2015-12-081-0/+1
|/
* build: Split hardening/fPIE options outCory Fields2015-11-091-2/+2
| | | | This allows for fPIE to be used selectively.
* Support very-fast-running benchmarksGavin Andresen2015-09-301-1/+1
| | | | | | Avoid calling gettimeofday every time through the benchmarking loop, by keeping track of how long each loop takes and doubling the number of iterations done between time checks when they take less than 1/16'th of the total elapsed time.
* Simple benchmarking frameworkGavin Andresen2015-09-301-0/+45
Benchmarking framework, loosely based on google's micro-benchmarking library (https://github.com/google/benchmark) Wny not use the Google Benchmark framework? Because adding Even More Dependencies isn't worth it. If we get a dozen or three benchmarks and need nanosecond-accurate timings of threaded code then switching to the full-blown Google Benchmark library should be considered. The benchmark framework is hard-coded to run each benchmark for one wall-clock second, and then spits out .csv-format timing information to stdout. It is left as an exercise for later (or maybe never) to add command-line arguments to specify which benchmark(s) to run, how long to run them for, how to format results, etc etc etc. Again, see the Google Benchmark framework for where that might end up. See src/bench/MilliSleep.cpp for a sanity-test benchmark that just benchmarks 'sleep 100 milliseconds.' To compile and run benchmarks: cd src; make bench Sample output: Benchmark,count,min,max,average Sleep100ms,10,0.101854,0.105059,0.103881