Set the amount of memory used by the benchmark

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1658398 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Emmanuel Bourg 2015-02-09 13:48:34 +00:00
parent 78e2b24633
commit 41fe7087b5
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ import org.supercsv.io.CsvListReader;
import org.supercsv.prefs.CsvPreference; import org.supercsv.prefs.CsvPreference;
@BenchmarkMode(Mode.AverageTime) @BenchmarkMode(Mode.AverageTime)
@Fork(value = 1, jvmArgs = "-server") @Fork(value = 1, jvmArgs = {"-server", "-Xms128M", "-Xmx128M"})
@Threads(1) @Threads(1)
@Warmup(iterations = 5) @Warmup(iterations = 5)
@Measurement(iterations = 20) @Measurement(iterations = 20)