Skip to content

Commit

Permalink
Disabled additional stack trace deep of benchmarks by default
Browse files Browse the repository at this point in the history
  • Loading branch information
pmwmedia committed Jul 25, 2014
1 parent 5592581 commit cb78898
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion benchmark/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<property name="threading" value="both" />
<property name="runs" value="120" />
<property name="outliers" value="20" />
<property name="deep" value="20" />
<property name="deep" value="0" />
<property name="threads" value="16" />
<property name="iterations" value="200000" />
<property name="prime" value="10000000" />
Expand Down
4 changes: 2 additions & 2 deletions benchmark/src/org/pmw/benchmark/Application.java
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public class Application {

private static final int DEFAULT_RUNS = 1;
private static final int DEFAULT_OUTLIERS = 0;
private static final int DEFAULT_DEEP = 20;
private static final int DEFAULT_DEEP = 0;
private static final int DEFAULT_THREADS = Runtime.getRuntime().availableProcessors() * 2;
private static final long DEFAULT_ITERATIONS = 20_000L;
private static final long DEFAULT_PRIME = 100_000L;
Expand Down Expand Up @@ -237,7 +237,7 @@ private static void showHelp() {
System.out.println();
System.out.println(" -r --runs X Number of benchmark runs (default is 1)");
System.out.println(" -o --outliers X Number of outlier benchmark runs to exclude from result (default is 0)");
System.out.println(" -d --deep X Amount of additional stack trace deep for more realistic results (default is 20)");
System.out.println(" -d --deep X Amount of additional stack trace deep for more realistic results (default is 0)");
System.out.println(" -t --threads X Number of parallel threads in multi-threaded benchmarks (default is number of cores * 2)");
System.out.println(" -i --iterations X Number of logging iterations in output benchmark (default is 20,000)");
System.out.println(" -p --prime X Maximum prime to calculate in prime benchmark (default is 100,000)");
Expand Down

0 comments on commit cb78898

Please sign in to comment.