Renamed fdbbench to flowbench

This commit is contained in:
sfc-gh-tclinkenbeard 2020-08-03 15:10:31 -07:00
parent 603f2ef769
commit 273d34be1a
10 changed files with 12 additions and 12 deletions

View File

@ -177,9 +177,9 @@ else()
include(CPack)
endif()
set(BUILD_BENCHMARK OFF CACHE BOOL "Build microbenchmark program (builds google microbenchmark dependency)")
if(BUILD_BENCHMARK)
add_subdirectory(fdbbench)
set(BUILD_FLOWBENCH OFF CACHE BOOL "Build microbenchmark program (builds google microbenchmark dependency)")
if(BUILD_FLOWBENCH)
add_subdirectory(flowbench)
endif()
if(CMAKE_SYSTEM_NAME STREQUAL "FreeBSD")

View File

@ -20,12 +20,12 @@
#include "benchmark/benchmark.h"
#include "fdbbench/GlobalData.h"
#include "fdbclient/CommitTransaction.h"
#include "fdbclient/FDBTypes.h"
#include "fdbclient/MutationList.h"
#include "flow/Arena.h"
#include "flow/FastAlloc.h"
#include "flowbench/GlobalData.h"
void populate(Standalone<VectorRef<MutationRef>>& mutations, size_t items, size_t size, KeyRef key, ValueRef value) {
mutations = Standalone<VectorRef<MutationRef>>{};

View File

@ -20,11 +20,11 @@
#include "benchmark/benchmark.h"
#include "fdbbench/GlobalData.h"
#include "fdbclient/CommitTransaction.h"
#include "fdbclient/FDBTypes.h"
#include "flow/Arena.h"
#include "flow/FastAlloc.h"
#include "flowbench/GlobalData.h"
static constexpr bool EMPLACE_BACK = true;
static constexpr bool PUSH_BACK = false;

View File

@ -20,12 +20,12 @@
#include "benchmark/benchmark.h"
#include "fdbbench/GlobalData.h"
#include "fdbclient/FDBTypes.h"
#include "flow/flow.h"
#include "flow/TLSConfig.actor.h"
#include "flow/ThreadHelper.actor.h"
#include "flow/network.h"
#include "flowbench/GlobalData.h"
#include <thread>

View File

@ -1,5 +1,5 @@
set(FDBBENCH_SRCS
fdbbench.actor.cpp
set(FLOWBENCH_SRCS
flowbench.actor.cpp
BenchIterate.cpp
BenchPopulate.cpp
BenchRef.cpp
@ -7,7 +7,7 @@ set(FDBBENCH_SRCS
GlobalData.h
GlobalData.cpp)
project (fdbbench)
project (flowbench)
# include the configurations from benchmark.cmake
configure_file(benchmark.cmake googlebenchmark-download/CMakeLists.txt)
# executing the configuration step
@ -36,5 +36,5 @@ add_subdirectory(
EXCLUDE_FROM_ALL
)
include_directories(${CMAKE_CURRENT_BINARY_DIR}/googlebenchmark-src/include)
add_flow_target(EXECUTABLE NAME fdbbench SRCS ${FDBBENCH_SRCS})
target_link_libraries(fdbbench benchmark pthread flow fdbclient)
add_flow_target(EXECUTABLE NAME flowbench SRCS ${FLOWBENCH_SRCS})
target_link_libraries(flowbench benchmark pthread flow fdbclient)

View File

@ -1,5 +1,5 @@
/*
* fdbbench.actor.cpp
* flowbench.actor.cpp
*
* This source file is part of the FoundationDB open source project
*