Skip to content

Commit 8f3be56

Browse files
committed
Add benchmark for LM16
1 parent f95b5b7 commit 8f3be56

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tools/src/main/java/com/graphhopper/tools/Measurement.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,8 +178,7 @@ protected DataReader importData() throws IOException {
178178
if (hopper.getLMFactoryDecorator().isEnabled()) {
179179
System.gc();
180180
isLM = true;
181-
int activeLMCount = 12;
182-
for (; activeLMCount > 3; activeLMCount -= 4) {
181+
for (int activeLMCount : Arrays.asList(4, 8, 12, 16)) {
183182
printTimeOfRouteQuery(hopper, isCH, isLM, count / 4, "routingLM" + activeLMCount, vehicleStr,
184183
true, false, activeLMCount, true, false, false, false);
185184
printTimeOfRouteQuery(hopper, isCH, isLM, count / 4, "routingLM" + activeLMCount + "_edge", vehicleStr,

0 commit comments

Comments
 (0)