Class Benchmark.BenchmarkResult

java.lang.Object
cloud.opencode.base.test.benchmark.Benchmark.BenchmarkResult
Enclosing class:
Benchmark

public static class Benchmark.BenchmarkResult extends Object
Benchmark result 基准测试结果
Since:
JDK 25, opencode-base-test V1.0.0
Author:
Leon Soo www.LeonSoo.com
  • Constructor Details

    • BenchmarkResult

      public BenchmarkResult(String name, List<Long> times)
  • Method Details

    • getName

      public String getName()
    • getMin

      public long getMin()
    • getMax

      public long getMax()
    • getAverage

      public double getAverage()
    • getCount

      public long getCount()
    • getMinDuration

      public Duration getMinDuration()
    • getMaxDuration

      public Duration getMaxDuration()
    • getAverageDuration

      public Duration getAverageDuration()
    • getOpsPerSecond

      public double getOpsPerSecond()
    • toString

      public String toString()
      Overrides:
      toString in class Object