Added Raw C++ benchmarks (#6924)

This commit is contained in:
Derek Bailey
2021-11-15 15:19:03 -08:00
committed by GitHub
parent 0989fc5e59
commit 97a30171cb
5 changed files with 195 additions and 43 deletions

View File

@@ -29,15 +29,14 @@ FetchContent_MakeAvailable(
set(CPP_BENCH_DIR cpp)
set(CPP_FB_BENCH_DIR ${CPP_BENCH_DIR}/flatbuffers)
set(CPP_RAW_BENCH_DIR ${CPP_BENCH_DIR}/raw)
set(CPP_BENCH_FBS ${CPP_FB_BENCH_DIR}/bench.fbs)
set(CPP_BENCH_FB_GEN ${CPP_FB_BENCH_DIR}/bench_generated.h)
set(FlatBenchmark_SRCS
${CPP_BENCH_DIR}/benchmark_main.cpp
${CPP_BENCH_DIR}/bench.h
${CPP_FB_BENCH_DIR}/fb_bench.cpp
${CPP_FB_BENCH_DIR}/fb_bench.h
${CPP_BENCH_FB_GEN}
${CPP_RAW_BENCH_DIR}/raw_bench.cpp
)
# Generate the flatbuffers benchmark code from the flatbuffers schema using