Skip to content

Commit

Permalink
Added Sharded Succinct-KV Support
Browse files Browse the repository at this point in the history
  • Loading branch information
anuragkh committed Aug 26, 2015
1 parent 655d721 commit 82b814f
Show file tree
Hide file tree
Showing 40 changed files with 18,057 additions and 21 deletions.
3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,9 @@ set(CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake-modules)

# Builds all of Succinct's sub-modules
add_subdirectory(core)
add_subdirectory(sharded)
add_subdirectory(construct)
add_subdirectory(sharded)
add_subdirectory(sharded-kv)
add_subdirectory(bench)

# Testing framework
Expand Down
4 changes: 3 additions & 1 deletion bench/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,16 @@ set(EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin)

file(MAKE_DIRECTORY ${EXECUTABLE_OUTPUT_PATH})

set(INCLUDE include ../core/include ../sharded/include)
set(INCLUDE include ../core/include ../sharded/include ../sharded-kv/include)
include_directories(${INCLUDE})
add_executable(fbench src/file_benchmark.cc)
add_executable(sbench src/shard_benchmark.cc)
add_executable(surebench src/regex_benchmark.cc)
add_executable(ssbench src/succinct_benchmark.cc)
add_executable(skvbench src/succinctkv_benchmark.cc)

target_link_libraries(fbench succinct)
target_link_libraries(sbench succinct)
target_link_libraries(surebench succinct)
target_link_libraries(ssbench sclient ${THRIFT_LIBRARIES})
target_link_libraries(skvbench skvclient ${THRIFT_LIBRARIES})
6 changes: 2 additions & 4 deletions bench/include/succinct_benchmark.h
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
#ifndef SUCCINCT_SERVER_BENCHMARK_H
#define SUCCINCT_SERVER_BENCHMARK_H
#ifndef SUCCINCT_BENCHMARK_H_
#define SUCCINCT_BENCHMARK_H_

#include "succinct_shard.h"
#include "benchmark.h"
#include "succinct_client.h"
#include "ports.h"

class SuccinctBenchmark : public Benchmark {
public:
Expand Down
Loading

0 comments on commit 82b814f

Please sign in to comment.