Skip to content
This repository was archived by the owner on Apr 22, 2020. It is now read-only.

Commit 5b05643

Browse files
committed
add empty source ids
1 parent 10fec64 commit 5b05643

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

benchmark/src/main/java/org/neo4j/graphalgo/bench/PageRankBenchmark.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141
import org.openjdk.jmh.annotations.Warmup;
4242

4343
import java.util.concurrent.TimeUnit;
44+
import java.util.stream.LongStream;
4445

4546
/**
4647
* @author mknobloch
@@ -108,20 +109,18 @@ public void tearDown() {
108109
db.shutdown();
109110
}
110111

111-
/*
112112
@Benchmark
113113
public PageRankResult run() throws Exception {
114114
final Graph graph = new GraphLoader(db)
115115
.withDirection(Direction.OUTGOING)
116116
.load(impl.impl);
117117
try {
118118
return PageRankAlgorithm
119-
.of(graph, 0.85)
119+
.of(graph, 0.85, LongStream.empty())
120120
.compute(iterations)
121121
.result();
122122
} finally {
123123
graph.release();
124124
}
125125
}
126-
*/
127126
}

0 commit comments

Comments
 (0)