Back to Colmap

Benchmarking

benchmark/runtime/README.md

4.0.4661 B
Original Source

Benchmarking

Installation

  1. Install google/benchmark. For example, using homebrew on a Mac: brew install google-benchmark.
  2. Build and run the benchmarking executables:
bash
cmake .. -DBENCHMARK_ENABLED=ON
ninja benchmark/runtime/benchmark_cost_functions

To reduce the variance, consider setting up your system appropriately following these instructions.

Running the benchmarks

Cost functions:

bash
./benchmark/runtime/benchmark_cost_functions --benchmark_display_aggregates_only=true --benchmark_repetitions=50