public class TimingBenchmark extends Benchmark<TimingBenchmark>
executable, reporters, service, threads| 限定符 | 构造器和说明 |
|---|---|
protected |
TimingBenchmark(Duration duration,
int threads,
Executable executable) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected CountDownLatch |
prepare(CountDownLatch latch) |
TimingBenchmark |
warmUp(Duration warmUp)
设置预热的时间段
|
protected TimingBenchmark(Duration duration, int threads, Executable executable)
public TimingBenchmark warmUp(Duration warmUp)
warmUp - 预热的时间段TimingBenchmark 对象protected CountDownLatch prepare(CountDownLatch latch)
prepare 在类中 Benchmark<TimingBenchmark>Copyright © 2022. All rights reserved.