From cb7889869d377959b5570d256f7c420ad931ba4c Mon Sep 17 00:00:00 2001 From: Martin Winandy Date: Fri, 25 Jul 2014 17:28:58 +0200 Subject: [PATCH] Disabled additional stack trace deep of benchmarks by default --- benchmark/build.xml | 2 +- benchmark/src/org/pmw/benchmark/Application.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/benchmark/build.xml b/benchmark/build.xml index 16d32e518..afefba393 100644 --- a/benchmark/build.xml +++ b/benchmark/build.xml @@ -5,7 +5,7 @@ - + diff --git a/benchmark/src/org/pmw/benchmark/Application.java b/benchmark/src/org/pmw/benchmark/Application.java index 3c627c778..a08cf9d5c 100644 --- a/benchmark/src/org/pmw/benchmark/Application.java +++ b/benchmark/src/org/pmw/benchmark/Application.java @@ -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; @@ -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)");