Skip to content

Commit

Permalink
tests: add system-level parsec benchmarks for evm and lua runners; mi…
Browse files Browse the repository at this point in the history
…t-dci#251

Signed-off-by: Morgan Rockett <[email protected]>
  • Loading branch information
rockett-m committed Aug 1, 2024
1 parent 30797cb commit 26f2fa9
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 2 deletions.
28 changes: 26 additions & 2 deletions benchmarks/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,12 +1,19 @@
project(benchmarks)

include_directories(. ../src ../tools/watchtower ../3rdparty ../3rdparty/secp256k1/include)
include_directories(.
../src
../tools/watchtower
../3rdparty
../3rdparty/secp256k1/include)

set(SECP256K1_LIBRARY $<TARGET_FILE:secp256k1>)

add_executable(run_benchmarks low_level.cpp
transactions.cpp
uhs_leveldb.cpp
uhs_set.cpp
parsec_bm_evm.cpp
parsec_bm_lua.cpp
)

target_compile_options(run_benchmarks PRIVATE -ftest-coverage -fprofile-arcs)
Expand All @@ -25,5 +32,22 @@ target_link_libraries(run_benchmarks ${GTEST_LIBRARY}
serialization
crypto
secp256k1
evm_runner
lua_runner
ticket_machine
runtime_locking_shard
runners
agent
broker
directory
json_rpc_http
raft
${LEVELDB_LIBRARY}
${CMAKE_THREAD_LIBS_INIT})
${CMAKE_THREAD_LIBS_INIT}
${NURAFT_LIBRARY}
${JSON_LIBRARY}
${LUA_LIBRARY}
${CURL_LIBRARY}
${SECP256K1_LIBRARY}
${MHD_LIBRARY}
)
Empty file added benchmarks/parsec_bm_evm.cpp
Empty file.
Empty file added benchmarks/parsec_bm_lua.cpp
Empty file.

0 comments on commit 26f2fa9

Please sign in to comment.