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