Improve map matching benchmark

This commit is contained in:
Siarhei Fedartsou 2024-05-19 14:40:28 +02:00
parent 0800e5e268
commit 257569e8ca

View File

@ -11,8 +11,6 @@
#include "osrm/status.hpp" #include "osrm/status.hpp"
#include <boost/assert.hpp> #include <boost/assert.hpp>
#include <boost/optional/optional.hpp>
#include <cstdlib> #include <cstdlib>
#include <exception> #include <exception>
#include <iostream> #include <iostream>
@ -255,11 +253,10 @@ try
<< std::endl; << std::endl;
}; };
run_benchmark(std::nullopt); for (auto radius : std::vector<std::optional<double>>{std::nullopt, 5.0, 10.0, 15.0, 30.0})
run_benchmark(5.0); {
run_benchmark(10.0); run_benchmark(radius);
run_benchmark(15.0); }
run_benchmark(30.0);
return EXIT_SUCCESS; return EXIT_SUCCESS;
} }