Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Usage

Clone

git clone --recurse-submodules https://github.com/Xiaoccer/quick_bench.git

Write benchmark

Write your own benchmark test cases in the benchmark directory and add corresponding files in benchmark/CMakeLists.txt.

Configure

cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -S . -B "build"

Note: Compilation defaults to using C++17 and -O3 optimization level.

Compile

cd build && make -j && make install

The binaries can be found in the build/output directory. The compare.py is also located there.

To use the compare.py, ensure Python 3.10 or above is installed. Install the required packages using pip:

pip3 install -r requirements.txt

Enjoy using the project!

About

Build a quick benchmark using Google Benchmark

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages