File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
benchmark/src/commonMain/kotlin/io/github/optimumcode/json/schema/benchmark Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -2,16 +2,15 @@ package io.github.optimumcode.json.schema.benchmark
22
33import kotlinx.benchmark.BenchmarkMode
44import kotlinx.benchmark.BenchmarkTimeUnit
5- import kotlinx.benchmark.Mode.AverageTime
6- import kotlinx.benchmark.Mode.Throughput
5+ import kotlinx.benchmark.Mode
76import kotlinx.benchmark.OutputTimeUnit
87import kotlinx.benchmark.Param
98import kotlinx.benchmark.Scope
109import kotlinx.benchmark.State
1110
1211@State(Scope .Benchmark )
1312@OutputTimeUnit(BenchmarkTimeUnit .SECONDS )
14- @BenchmarkMode(Throughput )
13+ @BenchmarkMode(Mode . Throughput )
1514class CommonThroughputBench : AbstractCommonBenchmark () {
1615 @Param(" object" )
1716 override var objectPath: String = " "
@@ -22,7 +21,7 @@ class CommonThroughputBench : AbstractCommonBenchmark() {
2221
2322@State(Scope .Benchmark )
2423@OutputTimeUnit(BenchmarkTimeUnit .MICROSECONDS )
25- @BenchmarkMode(AverageTime )
24+ @BenchmarkMode(Mode . AverageTime )
2625class CommonAvgTimeBench : AbstractCommonBenchmark () {
2726 @Param(" object" )
2827 override var objectPath: String = " "
You can’t perform that action at this time.
0 commit comments