Package com.splout.db.benchmark

Examples of com.splout.db.benchmark.SploutBenchmark$StressThreadImpl


      Map<String, Object> obj = (Map<String, Object>) client
          .query(TABLESPACE, null, query, partition + "").getResult().get(0);
      rowIdsPerPartition.put(partition, Long.parseLong(obj.get("MAX(rowid)").toString()));
    }

    SploutBenchmark benchmark = new SploutBenchmark();
    for(int i = 0; i < nIterations; i++) {
      benchmark.stressTest(nThreads, nQueries, PageCountsStressThreadImpl.class, context);
      benchmark.printStats(System.out);
    }
  }
View Full Code Here


  public void start() throws InterruptedException {
    Map<String, Object> context = new HashMap<String, Object>();
    context.put("qnodes", qNodes);
    context.put("month", monthQueries + "");
    SploutBenchmark benchmark = new SploutBenchmark();
    for(int i = 0; i < nIterations; i++) {
      benchmark.stressTest(nThreads, nQueries, MeteoStressThreadImpl.class, context);
      benchmark.printStats(System.out);
    }
  }
View Full Code Here

TOP

Related Classes of com.splout.db.benchmark.SploutBenchmark$StressThreadImpl

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.