public class CountBenchmark extends Benchmark<CountBenchmark>
executable, reporters, service, threads| 限定符 | 构造器和说明 |
|---|---|
protected |
CountBenchmark(int count,
int threads,
Executable executable) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected CountDownLatch |
prepare(CountDownLatch latch) |
CountBenchmark |
warmUp(int warmUp)
设置预热的次数
|
protected CountBenchmark(int count,
int threads,
Executable executable)
public CountBenchmark warmUp(int warmUp)
warmUp - 预热次数,必须为正整数CountDownLatchprotected CountDownLatch prepare(CountDownLatch latch)
prepare 在类中 Benchmark<CountBenchmark>Copyright © 2022. All rights reserved.