You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by eb...@apache.org on 2016/09/22 13:33:45 UTC

commons-rng git commit: Run the benchmarks with the -server VM

Repository: commons-rng
Updated Branches:
  refs/heads/master 41feb7150 -> 521321454


Run the benchmarks with the -server VM


Project: http://git-wip-us.apache.org/repos/asf/commons-rng/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-rng/commit/52132145
Tree: http://git-wip-us.apache.org/repos/asf/commons-rng/tree/52132145
Diff: http://git-wip-us.apache.org/repos/asf/commons-rng/diff/52132145

Branch: refs/heads/master
Commit: 521321454ae9b21201bc9005253760b5e28eb223
Parents: 41feb71
Author: Emmanuel Bourg <eb...@apache.org>
Authored: Thu Sep 22 15:32:56 2016 +0200
Committer: Emmanuel Bourg <eb...@apache.org>
Committed: Thu Sep 22 15:32:56 2016 +0200

----------------------------------------------------------------------
 .../java/org/apache/commons/rng/GenerationTestPerformance.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-rng/blob/52132145/src/test/java/org/apache/commons/rng/GenerationTestPerformance.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/rng/GenerationTestPerformance.java b/src/test/java/org/apache/commons/rng/GenerationTestPerformance.java
index 21353c6..c3f52f8 100644
--- a/src/test/java/org/apache/commons/rng/GenerationTestPerformance.java
+++ b/src/test/java/org/apache/commons/rng/GenerationTestPerformance.java
@@ -39,7 +39,7 @@ import java.util.concurrent.TimeUnit;
 @Warmup(iterations = 5, time = 1, timeUnit = TimeUnit.SECONDS)
 @Measurement(iterations = 5, time = 1, timeUnit = TimeUnit.SECONDS)
 @State(Scope.Benchmark)
-@Fork(1)
+@Fork(value = 1, jvmArgs = {"-server", "-Xms128M", "-Xmx128M"})
 public class GenerationTestPerformance extends AbstractTestPerformance {
     /**
      * Number of random values to generate.