Skip to content

Commit 8de1636

Browse files
committed
Store some benchmark results and fix filespec.
1 parent eaaf176 commit 8de1636

File tree

2 files changed

+28
-1
lines changed

2 files changed

+28
-1
lines changed

bench/run.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ std::vector<double> generate_uniform(std::size_t n) {
1919
}
2020

2121
void BM_45K_geojson_nodes(benchmark::State& state) {
22-
std::string points_str = utils::read_file("./test/test-files/osm-nodes-45331-epsg-3857.geojson");
22+
std::string points_str = utils::read_file("./test-files/osm-nodes-45331-epsg-3857.geojson");
2323
std::vector<double> coords = utils::get_geo_json_points(points_str);
2424

2525
while (state.KeepRunning()) {

bench_results

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
Debug:
2+
3+
Run on (8 X 2600 MHz CPU s)
4+
2019-11-14 09:43:59
5+
------------------------------------------------------------
6+
Benchmark Time CPU Iterations
7+
------------------------------------------------------------
8+
BM_45K_geojson_nodes 94 ms 94 ms 7
9+
BM_uniform/2000 3 ms 3 ms 213
10+
BM_uniform/100000 232 ms 231 ms 3
11+
BM_uniform/200000 517 ms 517 ms 1
12+
BM_uniform/500000 1429 ms 1427 ms 1
13+
BM_uniform/1000000 3084 ms 3081 ms 1
14+
15+
Release:
16+
17+
Run on (8 X 2600 MHz CPU s)
18+
2019-11-14 09:46:33
19+
------------------------------------------------------------
20+
Benchmark Time CPU Iterations
21+
------------------------------------------------------------
22+
BM_45K_geojson_nodes 23 ms 23 ms 31
23+
BM_uniform/2000 1 ms 1 ms 1010
24+
BM_uniform/100000 65 ms 64 ms 10
25+
BM_uniform/200000 158 ms 157 ms 4
26+
BM_uniform/500000 449 ms 448 ms 2
27+
BM_uniform/1000000 1075 ms 1074 ms 1

0 commit comments

Comments
 (0)