Skip to content

Commit eac1e3c

Browse files
Wosinpivovarit
authored andcommitted
Perf tests ref 2 (eugenp#4458)
* Refactor MappingFrameworksPerfomance * Increase warmups * Simplify tests * Fixed problem with one test using different object.
1 parent 974637a commit eac1e3c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎performance-tests/src/test/java/com/baeldung/performancetests/benchmark/MappingFrameworksPerformance.java‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,8 +151,8 @@ public DestinationCode modelMapperBenchmark() {
151151

152152
@Benchmark
153153
@Group("simpleTest")
154-
public Order dozerMapperSimpleBenchmark() {
155-
return DOZER_CONVERTER.convert(sourceOrder);
154+
public DestinationCode dozerMapperSimpleBenchmark() {
155+
return DOZER_CONVERTER.convert(sourceCode);
156156
}
157157

158158
@Benchmark

0 commit comments

Comments
 (0)