Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
code
PMem-based Data Structures
Commits
2a41ebea
Commit
2a41ebea
authored
Aug 25, 2019
by
Philipp Götze
Browse files
🔥
Little cleanup
parent
d07cbad6
Pipeline
#163
passed with stages
in 8 minutes and 54 seconds
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
cmake/Fetch3rdParty.cmake
View file @
2a41ebea
...
...
@@ -55,21 +55,6 @@ endif()
if
(
BUILD_BENCHMARKS
)
# Google Test ============================================================= #
#[[
FetchContent_Declare(
googletest
GIT_REPOSITORY https://github.com/google/googletest.git
GIT_TAG release-1.8.1
GIT_SHALLOW TRUE
)
FetchContent_GetProperties(googletest)
if(NOT googletest_POPULATED)
message(STATUS "Populating googletest")
FetchContent_Populate(googletest)
# add_subdirectory(${googletest_SOURCE_DIR} ${googletest_BINARY_DIR} EXCLUDE_FROM_ALL)
endif()
]]
# Google Benchmark ======================================================== #
FetchContent_Declare
(
benchmark
...
...
src/CMakeLists.txt
View file @
2a41ebea
...
...
@@ -53,16 +53,6 @@ include(Fetch3rdParty)
set
(
THREADS_PREFER_PTHREAD_FLAG ON
)
find_package
(
Threads REQUIRED
)
############################
# Google benchmark library #
############################
#
if
(
BUILD_GOOGLE_BENCH
)
set
(
TEST_INCLUDE_DIRS
${
THIRD_PARTY_DIR
}
/benchmark/include
CACHE INTERNAL
"TESTING: Include Directories"
FORCE
)
set
(
BENCHMARK_LIB
"
${
THIRD_PARTY_DIR
}
/benchmark/lib/libbenchmark.a"
)
endif
()
#################################
# Pre-built common dependencies #
#################################
...
...
src/bench/CMakeLists.txt
View file @
2a41ebea
include
(
../../cmake/Testing.cmake.in
)
if
(
BUILD_BENCHMARKS
)
do_bench
(
trees/tree_get
)
do_bench
(
trees/tree_traverse
)
do_bench
(
trees/tree_scan
)
do_bench
(
trees/tree_insert
)
do_bench
(
trees/tree_split
)
# PTABLE
#do_bench(ptable/insert ptable)
do_bench
(
ptable/scan ptable
)
do_bench
(
ptable/point ptable
)
endif
()
do_bench
(
trees/tree_get
)
do_bench
(
trees/tree_traverse
)
do_bench
(
trees/tree_scan
)
do_bench
(
trees/tree_insert
)
do_bench
(
trees/tree_split
)
# PTABLE
#do_bench(ptable/insert ptable)
do_bench
(
ptable/scan ptable
)
do_bench
(
ptable/point ptable
)
src/ptable/PTable.hpp
View file @
2a41ebea
...
...
@@ -29,7 +29,7 @@
#include "core/serialize.hpp"
#include "core/utils.hpp"
#include "core/VTableInfo.hpp"
#include "PBPTree.hpp"
#include "
pbptree/
PBPTree.hpp"
namespace
dbis
::
ptable
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment