Skip to content
Snippets Groups Projects
Select Git revision
  • f40fbb565ac828b425ca71f129af5b011740393d
  • main default protected
  • test_convolution
  • add_memory_tests
  • multi-matrix-multiply
  • add_precompiled_assemply
  • remove_unused_code
7 results

microbenchmarks

  • 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.