mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8290391: Reduce runtime of java.util package microbenchmarks
Reviewed-by: rriggs, redestad
This commit is contained in:
parent
bbc57483ce
commit
2cb659e7f4
16 changed files with 90 additions and 104 deletions
|
@ -34,6 +34,9 @@ import java.util.concurrent.TimeUnit;
|
|||
@BenchmarkMode(Mode.AverageTime)
|
||||
@OutputTimeUnit(TimeUnit.NANOSECONDS)
|
||||
@State(Scope.Thread)
|
||||
@Warmup(iterations = 4, time = 2)
|
||||
@Measurement(iterations = 4, time = 2)
|
||||
@Fork(value = 3)
|
||||
public class Base64Encode {
|
||||
|
||||
private Base64.Encoder encoder;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue