Skip to content

Commit da0c518

Browse files
committed
benchmark: use throughput instead of average time
1 parent 4e40fa8 commit da0c518

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/jmh/java/dev/drtheo/autojson/benchmark/comparison/AutoVsGsonBenchmark.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
@Measurement(iterations = 10)
1515
@Fork(value = 1, warmups = 1)
1616
@OutputTimeUnit(TimeUnit.NANOSECONDS)
17-
@BenchmarkMode(Mode.AverageTime)
17+
@BenchmarkMode(Mode.Throughput)
1818
@State(Scope.Thread)
1919
public class AutoVsGsonBenchmark {
2020

0 commit comments

Comments
 (0)