| 程序包 | 说明 |
|---|---|
| cn.mingfer.benchmark |
| 限定符和类型 | 字段和说明 |
|---|---|
protected Executable |
Benchmark.executable |
| 限定符和类型 | 方法和说明 |
|---|---|
static CountBenchmark |
Benchmark.ofCount(int count,
int threads,
Executable executable)
创建一个计数的性能测试实例
|
static TimingBenchmark |
Benchmark.ofTiming(Duration duration,
int threads,
Executable executable)
创建一个计时的性能测试实例
|
| 构造器和说明 |
|---|
Benchmark(int threads,
Executable executable) |
CountBenchmark(int count,
int threads,
Executable executable) |
TimingBenchmark(Duration duration,
int threads,
Executable executable) |
Copyright © 2022. All rights reserved.