File tree 1 file changed +3
-4
lines changed
benchmark/src/commonMain/kotlin/io/github/optimumcode/json/schema/benchmark
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
2
2
3
3
import kotlinx.benchmark.BenchmarkMode
4
4
import kotlinx.benchmark.BenchmarkTimeUnit
5
- import kotlinx.benchmark.Mode.AverageTime
6
- import kotlinx.benchmark.Mode.Throughput
5
+ import kotlinx.benchmark.Mode
7
6
import kotlinx.benchmark.OutputTimeUnit
8
7
import kotlinx.benchmark.Param
9
8
import kotlinx.benchmark.Scope
10
9
import kotlinx.benchmark.State
11
10
12
11
@State(Scope .Benchmark )
13
12
@OutputTimeUnit(BenchmarkTimeUnit .SECONDS )
14
- @BenchmarkMode(Throughput )
13
+ @BenchmarkMode(Mode . Throughput )
15
14
class CommonThroughputBench : AbstractCommonBenchmark () {
16
15
@Param(" object" )
17
16
override var objectPath: String = " "
@@ -22,7 +21,7 @@ class CommonThroughputBench : AbstractCommonBenchmark() {
22
21
23
22
@State(Scope .Benchmark )
24
23
@OutputTimeUnit(BenchmarkTimeUnit .MICROSECONDS )
25
- @BenchmarkMode(AverageTime )
24
+ @BenchmarkMode(Mode . AverageTime )
26
25
class CommonAvgTimeBench : AbstractCommonBenchmark () {
27
26
@Param(" object" )
28
27
override var objectPath: String = " "
You can’t perform that action at this time.
0 commit comments