Skip to content
Snippets Groups Projects
Select Git revision
  • master
  • migration-script-update
  • fix-setup-py-and-readme
  • dev-nico
  • SDC-708-add-ldv-migrate-script
  • allow_python36
6 results

ldv_utils

  • Clone with SSH
  • Clone with HTTPS
  • Microbenchmarks

    A collection of microbenchmarks for C++ code.

    Building

    The project relies on CMake to build the code.

    # clone the current project then create a build configuration by running
    cmake -B build [path_to_repository]
    make -C build

    you can specify another build program by providing the option -G, for example to use Ninja -G Ninja. The commands executes will then be

    cmake -B build [path_to_repository]
    ninja -C build

    To execute the code you can just run

    build/microbenchmarks

    Add another benchmark

    If you want to add another benchmark you can add a c++ into benchmarks and then add it to the CMakeLists.txt file in the target sections.