Skip to content

zhangjie0303/cpp-benchmarks

 
 

Repository files navigation

A benchmark project for RocksDB/flatbuffers

Content

This repository derived from CppCMakeVcpkgTemplate.

Supports Linux/macOS/Windows on x64 and arm64.

Build

git clone --recursive git@github.com:dingodb/cpp-benchmarks.git
cmake --preset ninja-multiconfiguration-vcpkg
cmake --build ./builds/ninja-multiconfiguration-vcpkg/ --config Release

Prepare

Generate data for Get/Scan benchmarks:

$ ./builds/ninja-multiconfiguration-vcpkg/Release/prepare_rocksdb

Run

Run all benchmarks:

$ ./builds/ninja-multiconfiguration-vcpkg/Release/benchmark_rocksdb

Run Specific benchmark:

$ ./builds/ninja-multiconfiguration-vcpkg/Release/benchmark_rocksdb --benchmark_filter=BM_rocksdb_get 

Reference:

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 83.8%
  • Roff 10.1%
  • CMake 5.8%
  • Shell 0.3%