Perf tests ref 2 (#4458)

* Refactor MappingFrameworksPerfomance

* Increase warmups

* Simplify tests

* Fixed problem with one test using different object.
This commit is contained in:
Wosin 2018-06-18 17:56:50 +02:00 committed by Grzegorz Piwowarek
parent 974637a273
commit eac1e3c46c
1 changed files with 2 additions and 2 deletions

View File

@ -151,8 +151,8 @@ public class MappingFrameworksPerformance {
@Benchmark
@Group("simpleTest")
public Order dozerMapperSimpleBenchmark() {
return DOZER_CONVERTER.convert(sourceOrder);
public DestinationCode dozerMapperSimpleBenchmark() {
return DOZER_CONVERTER.convert(sourceCode);
}
@Benchmark