Package net.relatedwork.server.neo4jHelper.benchmarks

Examples of net.relatedwork.server.neo4jHelper.benchmarks.FriendOfAFriendQueryBenchmark


  /**
   * @param args
   */
  public static void main(String[] args) {
    EmbeddedReadOnlyGraphDatabase graphDB = new EmbeddedReadOnlyGraphDatabase(Config.get().neo4jDbPath);
    FriendOfAFriendQueryBenchmark foafqb = new FriendOfAFriendQueryBenchmark(graphDB);
   
    int cnt = 0;
   
    System.out.println("done start benchmark");
   
    for (int i = 0;i<4;i++){
      for (int j = 1;j<10;j++){
        int base = (int)Math.pow(10, i);
          foafqb.coAuthorBenchmark(base*j);
      }
    }
   
    System.out.println("done with benchmark");
  }
View Full Code Here

TOP

Related Classes of net.relatedwork.server.neo4jHelper.benchmarks.FriendOfAFriendQueryBenchmark

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.