const size_t kLeapfrogGCFrequency = 1500;
const size_t kCrudeMapSize = 10000;
-const size_t kCrudePassCount = 40000;
+const size_t kCrudePassCount = 400000;
const char* kCrudeBenchmarkName = "JunctionMapCrude";
const size_t kGrampaMapSize = 20000;
}
}
junction::DefaultQSBR.update(qsbrContext);
+ junction::DefaultQSBR.destroyContext(qsbrContext );
auto finish_time = std::chrono::system_clock::now();
auto dur = finish_time - start_time;
auto milisecs = std::chrono::duration_cast<std::chrono::milliseconds>(dur);
}
}
}
+ junction::DefaultQSBR.update(qsbrContext);
+ junction::DefaultQSBR.destroyContext(qsbrContext );
auto finish_time = std::chrono::system_clock::now();
auto dur = finish_time - start_time;
auto milisecs = std::chrono::duration_cast<std::chrono::milliseconds>(dur);
}
int main() {
+ run_crude_map<CrudeMap>(kCrudeMapSize, kCrudePassCount, kCrudeBenchmarkName,
+ kGCFrequency);
run_test<LeapfrogMap>(kLeapfrogMapSize, kLeapfrogPassCount,
kLeapfrogBenchmarkName, kLeapfrogGCFrequency );
run_test<LinearMap>(kLinearMapSize, kLinearPassCount, kLinearBenchmarkName,
kGCFrequency);
run_test<GrampaMap>(kGrampaMapSize, kGrampaPassCount, kGrampaBenchmarkName,
kGCFrequency);
- run_crude_map<CrudeMap>(kCrudeMapSize, kCrudePassCount, kCrudeBenchmarkName,
- kGCFrequency);
return 0;
}