Skip to content

Commit fe9186d

Browse files
committed
Clean up of benchmark code
1 parent a47fa5a commit fe9186d

File tree

4 files changed

+4
-8
lines changed

4 files changed

+4
-8
lines changed

benchmark/src/main/scala/com/github/plokhotnyuk/jsoniter_scala/macros/ArrayOfBigIntsBenchmark.scala

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ package com.github.plokhotnyuk.jsoniter_scala.macros
33
import java.nio.charset.StandardCharsets._
44

55
import com.github.plokhotnyuk.jsoniter_scala.core._
6-
import org.openjdk.jmh.annotations.{Param, Setup}
76
//import com.github.plokhotnyuk.jsoniter_scala.macros.DslPlatformJson._
87
import play.api.libs.json.Json
98
//import com.github.plokhotnyuk.jsoniter_scala.macros.CirceEncodersDecoders._
@@ -12,7 +11,7 @@ import com.github.plokhotnyuk.jsoniter_scala.macros.JsoniterCodecs._
1211
import com.github.plokhotnyuk.jsoniter_scala.macros.PlayJsonFormats._
1312
import io.circe.parser._
1413
//import io.circe.syntax._
15-
import org.openjdk.jmh.annotations.Benchmark
14+
import org.openjdk.jmh.annotations.{Benchmark, Param, Setup}
1615

1716
import scala.collection.breakOut
1817

benchmark/src/main/scala/com/github/plokhotnyuk/jsoniter_scala/macros/ArrayOfBytesBenchmark.scala

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,12 @@ import java.nio.charset.StandardCharsets._
44

55
import com.github.plokhotnyuk.jsoniter_scala.core._
66
import com.github.plokhotnyuk.jsoniter_scala.macros.CirceEncodersDecoders._
7-
import org.openjdk.jmh.annotations.{Param, Setup}
87
//import com.github.plokhotnyuk.jsoniter_scala.macros.DslPlatformJson._
98
import com.github.plokhotnyuk.jsoniter_scala.macros.JacksonSerDesers._
109
import com.github.plokhotnyuk.jsoniter_scala.macros.JsoniterCodecs._
1110
import io.circe.parser._
1211
import io.circe.syntax._
13-
import org.openjdk.jmh.annotations.Benchmark
12+
import org.openjdk.jmh.annotations.{Benchmark, Param, Setup}
1413
import play.api.libs.json.Json
1514

1615
import scala.collection.breakOut

benchmark/src/main/scala/com/github/plokhotnyuk/jsoniter_scala/macros/MapOfIntsToBooleansBenchmark.scala

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,13 @@ package com.github.plokhotnyuk.jsoniter_scala.macros
33
import java.nio.charset.StandardCharsets._
44

55
import com.github.plokhotnyuk.jsoniter_scala.core._
6-
import org.openjdk.jmh.annotations.{Param, Setup}
76
//import com.github.plokhotnyuk.jsoniter_scala.macros.CirceEncodersDecoders._
87
import com.github.plokhotnyuk.jsoniter_scala.macros.JacksonSerDesers._
98
import com.github.plokhotnyuk.jsoniter_scala.macros.JsoniterCodecs._
109
import com.github.plokhotnyuk.jsoniter_scala.macros.PlayJsonFormats._
1110
import io.circe.parser._
1211
//import io.circe.syntax._
13-
import org.openjdk.jmh.annotations.Benchmark
12+
import org.openjdk.jmh.annotations.{Benchmark, Param, Setup}
1413
import play.api.libs.json.Json
1514

1615
import scala.collection.breakOut

benchmark/src/main/scala/com/github/plokhotnyuk/jsoniter_scala/macros/MutableBitSetBenchmark.scala

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
11
package com.github.plokhotnyuk.jsoniter_scala.macros
22

33
import com.github.plokhotnyuk.jsoniter_scala.core._
4-
import org.openjdk.jmh.annotations.{Param, Setup}
54
//import com.github.plokhotnyuk.jsoniter_scala.macros.CirceEncodersDecoders._
65
import com.github.plokhotnyuk.jsoniter_scala.macros.JacksonSerDesers._
76
import com.github.plokhotnyuk.jsoniter_scala.macros.JsoniterCodecs._
87
import com.github.plokhotnyuk.jsoniter_scala.macros.PlayJsonFormats._
98
//import io.circe.generic.auto._
109
//import io.circe.parser._
1110
//import io.circe.syntax._
12-
import org.openjdk.jmh.annotations.Benchmark
11+
import org.openjdk.jmh.annotations.{Benchmark, Param, Setup}
1312
import play.api.libs.json.Json
1413

1514
import scala.collection.mutable

0 commit comments

Comments
 (0)