Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F13115674
D1890.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1016 B
Subscribers
None
D1890.diff
View Options
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -239,6 +239,9 @@
# Test suite.
add_subdirectory(test)
+# Benchmark suite.
+add_subdirectory(bench)
+
# Wallet
if(BUILD_BITCOIN_WALLET)
add_subdirectory(wallet)
diff --git a/src/bench/CMakeLists.txt b/src/bench/CMakeLists.txt
new file mode 100644
--- /dev/null
+++ b/src/bench/CMakeLists.txt
@@ -0,0 +1,32 @@
+# Copyright (c) 2018 The Bitcoin developers
+
+project(bitcoin-bench)
+
+include_directories(.)
+
+add_executable(bitcoin-bench
+ EXCLUDE_FROM_ALL
+ base58.cpp
+ bench.cpp
+ bench_bitcoin.cpp
+ cashaddr.cpp
+ ccoins_caching.cpp
+# checkblock.cpp TODO Fix including bench/data/*.raw files
+ checkqueue.cpp
+ crypto_hash.cpp
+ Examples.cpp
+ lockedpool.cpp
+ mempool_eviction.cpp
+ perf.cpp
+ prevector.cpp
+ rollingbloom.cpp
+)
+
+target_link_libraries(bitcoin-bench common bitcoinconsensus server)
+
+add_custom_target(bench-bitcoin
+ COMMAND
+ ./bitcoin-bench
+ DEPENDS
+ bitcoin-bench
+)
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Mar 1, 11:42 (6 h, 11 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5187672
Default Alt Text
D1890.diff (1016 B)
Attached To
D1890: Added benchmark suite to cmake
Event Timeline
Log In to Comment