mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
8292623: Reduce runtime of java.io microbenchmarks
Reviewed-by: rriggs
This commit is contained in:
parent
dcd78020e4
commit
e561933907
10 changed files with 44 additions and 2 deletions
|
@ -36,6 +36,9 @@ import org.openjdk.jmh.annotations.*;
|
|||
*/
|
||||
@BenchmarkMode(Mode.Throughput)
|
||||
@OutputTimeUnit(TimeUnit.MILLISECONDS)
|
||||
@Fork(2)
|
||||
@Warmup(iterations = 4, time = 2, timeUnit = TimeUnit.SECONDS)
|
||||
@Measurement(iterations = 4, time = 2, timeUnit = TimeUnit.SECONDS)
|
||||
@State(Scope.Thread)
|
||||
public class FileWrite {
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue