Skip to content

Commit

Permalink
Increase warmup for EqualsBenchmarks. (#8636)
Browse files Browse the repository at this point in the history
After #8620, there is a noticeable slowdown in `EqualsBenchmarks.equalsTrees` as suggested in #8620 (comment). After some digging, I realized that the number of warmup iterations is most probably insufficient. Let's increase the warmup for this benchmark and see if we can get its score down again.
  • Loading branch information
Akirathan authored Dec 29, 2023
1 parent 27431c1 commit 819741b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@
*/
@BenchmarkMode(Mode.AverageTime)
@Fork(1)
@Warmup(iterations = 3)
@Measurement(iterations = 2)
@Warmup(iterations = 7)
@Measurement(iterations = 3)
@OutputTimeUnit(TimeUnit.MILLISECONDS)
@State(Scope.Benchmark)
public class EqualsBenchmarks {
Expand Down

0 comments on commit 819741b

Please sign in to comment.