Skip to content
This repository was archived by the owner on Apr 22, 2020. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
@OutputTimeUnit(TimeUnit.MILLISECONDS)
public class GraphLoadLdbc {

@Param({"LIGHT", "HEAVY", "HUGE"})
@Param({"HEAVY", "HUGE"})
GraphImpl graph;

@Param({"true", "false"})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public class PageRankBenchmark {
@Param({"5", "20", "100"})
int iterations;

@Param({"LIGHT", "HEAVY", "VIEW", "HUGE"})
@Param({"HEAVY", "VIEW", "HUGE"})
GraphImpl impl;

private GraphDatabaseAPI db;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
@OutputTimeUnit(TimeUnit.MILLISECONDS)
public class PageRankBenchmarkLdbc {

@Param({"LIGHT", "HEAVY", "HUGE"})
@Param({"HEAVY", "HUGE"})
GraphImpl graph;

@Param({"true", "false"})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public class TriangleCountBenchmark {
@Param({"true", "false"})
private boolean parallel;

@Param({"LIGHT", "HEAVY", "HUGE"})
@Param({"HEAVY", "HUGE"})
GraphImpl graph;

private int concurrency;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,6 @@

public enum UFBenchmarkCombination {

LIGHT_QUEUE(GraphImpl.LIGHT, UnionFindAlgo.QUEUE),
LIGHT_FORK_JOIN(GraphImpl.LIGHT, UnionFindAlgo.FORK_JOIN),
LIGHT_FJ_MERGE(GraphImpl.LIGHT, UnionFindAlgo.FJ_MERGE),
LIGHT_SEQ(GraphImpl.LIGHT, UnionFindAlgo.SEQ),

HEAVY_QUEUE(GraphImpl.HEAVY, UnionFindAlgo.QUEUE),
HEAVY_FORK_JOIN(GraphImpl.HEAVY, UnionFindAlgo.FORK_JOIN),
HEAVY_FJ_MERGE(GraphImpl.HEAVY, UnionFindAlgo.FJ_MERGE),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
@OutputTimeUnit(TimeUnit.MICROSECONDS)
public class UnionFindBenchmark {

@Param({"LIGHT_QUEUE", "LIGHT_FORK_JOIN", "LIGHT_FJ_MERGE", "LIGHT_SEQ", "HEAVY_QUEUE", "HEAVY_FORK_JOIN", "HEAVY_FJ_MERGE", "HEAVY_SEQ", "HUGE_QUEUE", "HUGE_FORK_JOIN", "HUGE_FJ_MERGE", "HUGE_SEQ", "HUGE_HUGE_QUEUE", "HUGE_HUGE_FORK_JOIN", "HUGE_HUGE_FJ_MERGE", "HUGE_HUGE_SEQ"})
@Param({"HEAVY_QUEUE", "HEAVY_FORK_JOIN", "HEAVY_FJ_MERGE", "HEAVY_SEQ", "HUGE_QUEUE", "HUGE_FORK_JOIN", "HUGE_FJ_MERGE", "HUGE_SEQ", "HUGE_HUGE_QUEUE", "HUGE_HUGE_FORK_JOIN", "HUGE_HUGE_FJ_MERGE", "HUGE_HUGE_SEQ"})
UFBenchmarkCombination uf;

private Graph theGraph;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
import org.neo4j.graphalgo.core.utils.paged.MemoryUsage;
import org.neo4j.graphalgo.core.utils.paged.PageUtil;
import org.neo4j.graphdb.Direction;
import org.neo4j.graphdb.GraphDatabaseService;
import org.neo4j.kernel.api.DataWriteOperations;
import org.neo4j.kernel.api.Statement;
import org.neo4j.kernel.api.TokenWriteOperations;
Expand Down Expand Up @@ -70,7 +71,7 @@ public void shouldLoadMoreWeights() throws Exception {
}

private void mkDb(final int nodes, final int relsPerNode) {
db.executeAndCommit(__ -> {
db.executeAndCommit((GraphDatabaseService __) -> {
try (Statement st = db.statement()) {
TokenWriteOperations token = st.tokenWriteOperations();
int type = token.relationshipTypeGetOrCreateForName("TYPE");
Expand Down