Improve map matching benchmark
This commit is contained in:
parent
0800e5e268
commit
257569e8ca
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user