Skip to content

Commit f3373c0

Browse files
committed
Add more zio-schema-json benchmarks
1 parent 79026ad commit f3373c0

File tree

45 files changed

+188
-14
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+188
-14
lines changed

jsoniter-scala-benchmark/js/src/main/scala-2/com/github/plokhotnyuk/jsoniter_scala/benchmark/Main.scala

+14-7
Original file line numberDiff line numberDiff line change
@@ -1246,7 +1246,8 @@ object Main {
12461246
B("jsoniterScala")(benchmark.jsoniterScala()),
12471247
B("smithy4sJson")(benchmark.smithy4sJson()),
12481248
B("uPickle")(benchmark.uPickle()),
1249-
B("zioJson")(benchmark.zioJson())
1249+
B("zioJson")(benchmark.zioJson()),
1250+
B("zioSchemaJson")(benchmark.zioSchemaJson())
12501251
))
12511252
}, {
12521253
val benchmark = new MapOfIntsToBooleansWriting { size = 128; setup() }
@@ -1258,7 +1259,8 @@ object Main {
12581259
B("jsoniterScalaPrealloc")(benchmark.jsoniterScalaPrealloc()),
12591260
B("smithy4sJson")(benchmark.smithy4sJson()),
12601261
B("uPickle")(benchmark.uPickle()),
1261-
B("zioJson")(benchmark.zioJson())
1262+
B("zioJson")(benchmark.zioJson()),
1263+
B("zioSchemaJson")(benchmark.zioSchemaJson())
12621264
))
12631265
}, {
12641266
val benchmark = new MissingRequiredFieldsReading { setup() }
@@ -1500,7 +1502,8 @@ object Main {
15001502
B("playJsonJsoniter")(benchmark.playJsonJsoniter()),
15011503
B("smithy4sJson")(benchmark.smithy4sJson()),
15021504
B("uPickle")(benchmark.uPickle()),
1503-
B("zioJson")(benchmark.zioJson())
1505+
B("zioJson")(benchmark.zioJson()),
1506+
B("zioSchemaJson")(benchmark.zioSchemaJson())
15041507
))
15051508
}, {
15061509
val benchmark = new StringOfAsciiCharsWriting { size = 128; setup() }
@@ -1515,7 +1518,8 @@ object Main {
15151518
B("playJsonJsoniter")(benchmark.playJsonJsoniter()),
15161519
B("smithy4sJson")(benchmark.smithy4sJson()),
15171520
B("uPickle")(benchmark.uPickle()),
1518-
B("zioJson")(benchmark.zioJson())
1521+
B("zioJson")(benchmark.zioJson()),
1522+
B("zioSchemaJson")(benchmark.zioSchemaJson())
15191523
))
15201524
}, {
15211525
val benchmark = new StringOfEscapedCharsReading { size = 128; setup() }
@@ -1529,7 +1533,8 @@ object Main {
15291533
B("playJsonJsoniter")(benchmark.playJsonJsoniter()),
15301534
B("smithy4sJson")(benchmark.smithy4sJson()),
15311535
B("uPickle")(benchmark.uPickle()),
1532-
B("zioJson")(benchmark.zioJson())
1536+
B("zioJson")(benchmark.zioJson()),
1537+
B("zioSchemaJson")(benchmark.zioSchemaJson())
15331538
))
15341539
}, {
15351540
val benchmark = new StringOfEscapedCharsWriting { size = 128; setup() }
@@ -1556,7 +1561,8 @@ object Main {
15561561
B("playJsonJsoniter")(benchmark.playJsonJsoniter()),
15571562
B("smithy4sJson")(benchmark.smithy4sJson()),
15581563
B("uPickle")(benchmark.uPickle()),
1559-
B("zioJson")(benchmark.zioJson())
1564+
B("zioJson")(benchmark.zioJson()),
1565+
B("zioSchemaJson")(benchmark.zioSchemaJson())
15601566
))
15611567
}, {
15621568
val benchmark = new StringOfNonAsciiCharsWriting { size = 128; setup() }
@@ -1571,7 +1577,8 @@ object Main {
15711577
B("playJsonJsoniter")(benchmark.playJsonJsoniter()),
15721578
B("smithy4sJson")(benchmark.smithy4sJson()),
15731579
B("uPickle")(benchmark.uPickle()),
1574-
B("zioJson")(benchmark.zioJson())
1580+
B("zioJson")(benchmark.zioJson()),
1581+
B("zioSchemaJson")(benchmark.zioSchemaJson())
15751582
))
15761583
}, {
15771584
val benchmark = new TwitterAPIReading { setup() }

jsoniter-scala-benchmark/js/src/main/scala-3/com/github/plokhotnyuk/jsoniter_scala/benchmark/Main.scala

+14-7
Original file line numberDiff line numberDiff line change
@@ -1155,7 +1155,8 @@ object Main {
11551155
B("jsoniterScala")(benchmark.jsoniterScala()),
11561156
B("smithy4sJson")(benchmark.smithy4sJson()),
11571157
B("uPickle")(benchmark.uPickle()),
1158-
B("zioJson")(benchmark.zioJson())
1158+
B("zioJson")(benchmark.zioJson()),
1159+
B("zioSchemaJson")(benchmark.zioSchemaJson())
11591160
))
11601161
}, {
11611162
val benchmark = new MapOfIntsToBooleansWriting { size = 128; setup() }
@@ -1166,7 +1167,8 @@ object Main {
11661167
B("jsoniterScalaPrealloc")(benchmark.jsoniterScalaPrealloc()),
11671168
B("smithy4sJson")(benchmark.smithy4sJson()),
11681169
B("uPickle")(benchmark.uPickle()),
1169-
B("zioJson")(benchmark.zioJson())
1170+
B("zioJson")(benchmark.zioJson()),
1171+
B("zioSchemaJson")(benchmark.zioSchemaJson())
11701172
))
11711173
}, {
11721174
val benchmark = new MissingRequiredFieldsReading { setup() }
@@ -1390,7 +1392,8 @@ object Main {
13901392
B("playJsonJsoniter")(benchmark.playJsonJsoniter()),
13911393
B("smithy4sJson")(benchmark.smithy4sJson()),
13921394
B("uPickle")(benchmark.uPickle()),
1393-
B("zioJson")(benchmark.zioJson())
1395+
B("zioJson")(benchmark.zioJson()),
1396+
B("zioSchemaJson")(benchmark.zioSchemaJson())
13941397
))
13951398
}, {
13961399
val benchmark = new StringOfAsciiCharsWriting { size = 128; setup() }
@@ -1404,7 +1407,8 @@ object Main {
14041407
B("playJsonJsoniter")(benchmark.playJsonJsoniter()),
14051408
B("smithy4sJson")(benchmark.smithy4sJson()),
14061409
B("uPickle")(benchmark.uPickle()),
1407-
B("zioJson")(benchmark.zioJson())
1410+
B("zioJson")(benchmark.zioJson()),
1411+
B("zioSchemaJson")(benchmark.zioSchemaJson())
14081412
))
14091413
}, {
14101414
val benchmark = new StringOfEscapedCharsReading { size = 128; setup() }
@@ -1417,7 +1421,8 @@ object Main {
14171421
B("playJsonJsoniter")(benchmark.playJsonJsoniter()),
14181422
B("smithy4sJson")(benchmark.smithy4sJson()),
14191423
B("uPickle")(benchmark.uPickle()),
1420-
B("zioJson")(benchmark.zioJson())
1424+
B("zioJson")(benchmark.zioJson()),
1425+
B("zioSchemaJson")(benchmark.zioSchemaJson())
14211426
))
14221427
}, {
14231428
val benchmark = new StringOfEscapedCharsWriting { size = 128; setup() }
@@ -1442,7 +1447,8 @@ object Main {
14421447
B("playJsonJsoniter")(benchmark.playJsonJsoniter()),
14431448
B("smithy4sJson")(benchmark.smithy4sJson()),
14441449
B("uPickle")(benchmark.uPickle()),
1445-
B("zioJson")(benchmark.zioJson())
1450+
B("zioJson")(benchmark.zioJson()),
1451+
B("zioSchemaJson")(benchmark.zioSchemaJson())
14461452
))
14471453
}, {
14481454
val benchmark = new StringOfNonAsciiCharsWriting { size = 128; setup() }
@@ -1456,7 +1462,8 @@ object Main {
14561462
B("playJsonJsoniter")(benchmark.playJsonJsoniter()),
14571463
B("smithy4sJson")(benchmark.smithy4sJson()),
14581464
B("uPickle")(benchmark.uPickle()),
1459-
B("zioJson")(benchmark.zioJson())
1465+
B("zioJson")(benchmark.zioJson()),
1466+
B("zioSchemaJson")(benchmark.zioSchemaJson())
14601467
))
14611468
}, {
14621469
val benchmark = new TwitterAPIReading { setup() }

jsoniter-scala-benchmark/js/src/test/scala-2/com/github/plokhotnyuk/jsoniter_scala/benchmark/MapOfIntsToBooleansReadingSpec.scala

+2
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ class MapOfIntsToBooleansReadingSpec extends BenchmarkSpecBase {
1818
benchmark.smithy4sJson() shouldBe benchmark.obj
1919
benchmark.uPickle() shouldBe benchmark.obj
2020
benchmark.zioJson() shouldBe benchmark.obj
21+
benchmark.zioSchemaJson() shouldBe benchmark.obj
2122
}
2223
"fail on invalid input" in {
2324
val b = benchmark
@@ -31,6 +32,7 @@ class MapOfIntsToBooleansReadingSpec extends BenchmarkSpecBase {
3132
intercept[Throwable](b.smithy4sJson())
3233
intercept[Throwable](b.uPickle())
3334
intercept[Throwable](b.zioJson())
35+
intercept[Throwable](b.zioSchemaJson())
3436
}
3537
}
3638
}

jsoniter-scala-benchmark/js/src/test/scala-2/com/github/plokhotnyuk/jsoniter_scala/benchmark/MapOfIntsToBooleansWritingSpec.scala

+1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ class MapOfIntsToBooleansWritingSpec extends BenchmarkSpecBase {
1818
toString(b.smithy4sJson()) shouldBe b.jsonString
1919
toString(b.uPickle()) shouldBe b.jsonString
2020
toString(b.zioJson()) shouldBe b.jsonString
21+
toString(b.zioSchemaJson()) shouldBe b.jsonString
2122
}
2223
}
2324
}

jsoniter-scala-benchmark/js/src/test/scala-2/com/github/plokhotnyuk/jsoniter_scala/benchmark/StringOfAsciiCharsReadingSpec.scala

+2
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ class StringOfAsciiCharsReadingSpec extends BenchmarkSpecBase {
1919
benchmark.smithy4sJson() shouldBe benchmark.obj
2020
benchmark.uPickle() shouldBe benchmark.obj
2121
benchmark.zioJson() shouldBe benchmark.obj
22+
benchmark.zioSchemaJson() shouldBe benchmark.obj
2223
}
2324
"fail on invalid input" in {
2425
val b = benchmark
@@ -33,6 +34,7 @@ class StringOfAsciiCharsReadingSpec extends BenchmarkSpecBase {
3334
intercept[Throwable](b.smithy4sJson())
3435
intercept[Throwable](b.uPickle())
3536
intercept[Throwable](b.zioJson())
37+
intercept[Throwable](b.zioSchemaJson())
3638
}
3739
}
3840
}

jsoniter-scala-benchmark/js/src/test/scala-2/com/github/plokhotnyuk/jsoniter_scala/benchmark/StringOfAsciiCharsWritingSpec.scala

+1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ class StringOfAsciiCharsWritingSpec extends BenchmarkSpecBase {
1919
toString(b.smithy4sJson()) shouldBe b.jsonString
2020
toString(b.uPickle()) shouldBe b.jsonString
2121
toString(b.zioJson()) shouldBe b.jsonString
22+
toString(b.zioSchemaJson()) shouldBe b.jsonString
2223
}
2324
}
2425
}

jsoniter-scala-benchmark/js/src/test/scala-2/com/github/plokhotnyuk/jsoniter_scala/benchmark/StringOfEscapedCharsReadingSpec.scala

+2
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ class StringOfEscapedCharsReadingSpec extends BenchmarkSpecBase {
1919
benchmark.smithy4sJson() shouldBe benchmark.obj
2020
benchmark.uPickle() shouldBe benchmark.obj
2121
benchmark.zioJson() shouldBe benchmark.obj
22+
benchmark.zioSchemaJson() shouldBe benchmark.obj
2223
}
2324
"fail on invalid input" in {
2425
val b = benchmark
@@ -33,6 +34,7 @@ class StringOfEscapedCharsReadingSpec extends BenchmarkSpecBase {
3334
intercept[Throwable](b.smithy4sJson())
3435
intercept[Throwable](b.uPickle())
3536
intercept[Throwable](b.zioJson())
37+
intercept[Throwable](b.zioSchemaJson())
3638
}
3739
}
3840
}

jsoniter-scala-benchmark/js/src/test/scala-2/com/github/plokhotnyuk/jsoniter_scala/benchmark/StringOfNonAsciiCharsReadingSpec.scala

+2
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ class StringOfNonAsciiCharsReadingSpec extends BenchmarkSpecBase {
1919
benchmark.smithy4sJson() shouldBe benchmark.obj
2020
benchmark.uPickle() shouldBe benchmark.obj
2121
benchmark.zioJson() shouldBe benchmark.obj
22+
benchmark.zioSchemaJson() shouldBe benchmark.obj
2223
}
2324
"fail on invalid input" in {
2425
val b = benchmark
@@ -33,6 +34,7 @@ class StringOfNonAsciiCharsReadingSpec extends BenchmarkSpecBase {
3334
intercept[Throwable](b.smithy4sJson())
3435
intercept[Throwable](b.uPickle())
3536
intercept[Throwable](b.zioJson())
37+
intercept[Throwable](b.zioSchemaJson())
3638
}
3739
}
3840
}

jsoniter-scala-benchmark/js/src/test/scala-2/com/github/plokhotnyuk/jsoniter_scala/benchmark/StringOfNonAsciiCharsWritingSpec.scala

+1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ class StringOfNonAsciiCharsWritingSpec extends BenchmarkSpecBase {
1919
toString(b.smithy4sJson()) shouldBe b.jsonString
2020
toString(b.uPickle()) shouldBe b.jsonString
2121
toString(b.zioJson()) shouldBe b.jsonString
22+
toString(b.zioSchemaJson()) shouldBe b.jsonString
2223
}
2324
}
2425
}

jsoniter-scala-benchmark/js/src/test/scala-3/com/github/plokhotnyuk/jsoniter_scala/benchmark/MapOfIntsToBooleansReadingSpec.scala

+2
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ class MapOfIntsToBooleansReadingSpec extends BenchmarkSpecBase {
1717
benchmark.smithy4sJson() shouldBe benchmark.obj
1818
benchmark.uPickle() shouldBe benchmark.obj
1919
benchmark.zioJson() shouldBe benchmark.obj
20+
benchmark.zioSchemaJson() shouldBe benchmark.obj
2021
}
2122
"fail on invalid input" in {
2223
val b = benchmark
@@ -28,6 +29,7 @@ class MapOfIntsToBooleansReadingSpec extends BenchmarkSpecBase {
2829
intercept[Throwable](b.playJsonJsoniter())
2930
intercept[Throwable](b.smithy4sJson())
3031
intercept[Throwable](b.zioJson())
32+
intercept[Throwable](b.zioSchemaJson())
3133
}
3234
}
3335
}

jsoniter-scala-benchmark/js/src/test/scala-3/com/github/plokhotnyuk/jsoniter_scala/benchmark/MapOfIntsToBooleansWritingSpec.scala

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ class MapOfIntsToBooleansWritingSpec extends BenchmarkSpecBase {
1717
toString(b.smithy4sJson()) shouldBe b.jsonString
1818
toString(b.uPickle()) shouldBe b.jsonString
1919
toString(b.zioJson()) shouldBe b.jsonString
20+
toString(b.zioSchemaJson()) shouldBe b.jsonString
2021
}
2122
}
2223
}

jsoniter-scala-benchmark/js/src/test/scala-3/com/github/plokhotnyuk/jsoniter_scala/benchmark/StringOfAsciiCharsReadingSpec.scala

+2
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ class StringOfAsciiCharsReadingSpec extends BenchmarkSpecBase {
1818
benchmark.smithy4sJson() shouldBe benchmark.obj
1919
benchmark.uPickle() shouldBe benchmark.obj
2020
benchmark.zioJson() shouldBe benchmark.obj
21+
benchmark.zioSchemaJson() shouldBe benchmark.obj
2122
}
2223
"fail on invalid input" in {
2324
val b = benchmark
@@ -31,6 +32,7 @@ class StringOfAsciiCharsReadingSpec extends BenchmarkSpecBase {
3132
intercept[Throwable](b.smithy4sJson())
3233
intercept[Throwable](b.uPickle())
3334
intercept[Throwable](b.zioJson())
35+
intercept[Throwable](b.zioSchemaJson())
3436
}
3537
}
3638
}

jsoniter-scala-benchmark/js/src/test/scala-3/com/github/plokhotnyuk/jsoniter_scala/benchmark/StringOfAsciiCharsWritingSpec.scala

+1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ class StringOfAsciiCharsWritingSpec extends BenchmarkSpecBase {
1818
toString(b.smithy4sJson()) shouldBe b.jsonString
1919
toString(b.uPickle()) shouldBe b.jsonString
2020
toString(b.zioJson()) shouldBe b.jsonString
21+
toString(b.zioSchemaJson()) shouldBe b.jsonString
2122
}
2223
}
2324
}

jsoniter-scala-benchmark/js/src/test/scala-3/com/github/plokhotnyuk/jsoniter_scala/benchmark/StringOfEscapedCharsReadingSpec.scala

+2
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ class StringOfEscapedCharsReadingSpec extends BenchmarkSpecBase {
1818
benchmark.smithy4sJson() shouldBe benchmark.obj
1919
benchmark.uPickle() shouldBe benchmark.obj
2020
benchmark.zioJson() shouldBe benchmark.obj
21+
benchmark.zioSchemaJson() shouldBe benchmark.obj
2122
}
2223
"fail on invalid input" in {
2324
val b = benchmark
@@ -31,6 +32,7 @@ class StringOfEscapedCharsReadingSpec extends BenchmarkSpecBase {
3132
intercept[Throwable](b.smithy4sJson())
3233
intercept[Throwable](b.uPickle())
3334
intercept[Throwable](b.zioJson())
35+
intercept[Throwable](b.zioSchemaJson())
3436
}
3537
}
3638
}

jsoniter-scala-benchmark/js/src/test/scala-3/com/github/plokhotnyuk/jsoniter_scala/benchmark/StringOfNonAsciiCharsReadingSpec.scala

+2
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ class StringOfNonAsciiCharsReadingSpec extends BenchmarkSpecBase {
1818
benchmark.smithy4sJson() shouldBe benchmark.obj
1919
benchmark.uPickle() shouldBe benchmark.obj
2020
benchmark.zioJson() shouldBe benchmark.obj
21+
benchmark.zioSchemaJson() shouldBe benchmark.obj
2122
}
2223
"fail on invalid input" in {
2324
val b = benchmark
@@ -31,6 +32,7 @@ class StringOfNonAsciiCharsReadingSpec extends BenchmarkSpecBase {
3132
intercept[Throwable](b.smithy4sJson())
3233
intercept[Throwable](b.uPickle())
3334
intercept[Throwable](b.zioJson())
35+
intercept[Throwable](b.zioSchemaJson())
3436
}
3537
}
3638
}

jsoniter-scala-benchmark/js/src/test/scala-3/com/github/plokhotnyuk/jsoniter_scala/benchmark/StringOfNonAsciiCharsWritingSpec.scala

+1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ class StringOfNonAsciiCharsWritingSpec extends BenchmarkSpecBase {
1818
toString(b.smithy4sJson()) shouldBe b.jsonString
1919
toString(b.uPickle()) shouldBe b.jsonString
2020
toString(b.zioJson()) shouldBe b.jsonString
21+
toString(b.zioSchemaJson()) shouldBe b.jsonString
2122
}
2223
}
2324
}

jsoniter-scala-benchmark/jvm/src/test/scala-2/com/github/plokhotnyuk/jsoniter_scala/benchmark/MapOfIntsToBooleansReadingSpec.scala

+2
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ class MapOfIntsToBooleansReadingSpec extends BenchmarkSpecBase {
2525
benchmark.uPickle() shouldBe benchmark.obj
2626
benchmark.weePickle() shouldBe benchmark.obj
2727
benchmark.zioJson() shouldBe benchmark.obj
28+
benchmark.zioSchemaJson() shouldBe benchmark.obj
2829
}
2930
"fail on invalid input" in {
3031
val b = benchmark
@@ -43,6 +44,7 @@ class MapOfIntsToBooleansReadingSpec extends BenchmarkSpecBase {
4344
intercept[Throwable](b.uPickle())
4445
intercept[Throwable](b.weePickle())
4546
intercept[Throwable](b.zioJson())
47+
intercept[Throwable](b.zioSchemaJson())
4648
}
4749
}
4850
}

jsoniter-scala-benchmark/jvm/src/test/scala-2/com/github/plokhotnyuk/jsoniter_scala/benchmark/MapOfIntsToBooleansWritingSpec.scala

+1
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ class MapOfIntsToBooleansWritingSpec extends BenchmarkSpecBase {
2525
toString(b.uPickle()) shouldBe b.jsonString
2626
toString(b.weePickle()) shouldBe b.jsonString
2727
toString(b.zioJson()) shouldBe b.jsonString
28+
toString(b.zioSchemaJson()) shouldBe b.jsonString
2829
}
2930
}
3031
}

jsoniter-scala-benchmark/jvm/src/test/scala-2/com/github/plokhotnyuk/jsoniter_scala/benchmark/StringOfAsciiCharsReadingSpec.scala

+2
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ class StringOfAsciiCharsReadingSpec extends BenchmarkSpecBase {
2626
benchmark.uPickle() shouldBe benchmark.obj
2727
benchmark.weePickle() shouldBe benchmark.obj
2828
benchmark.zioJson() shouldBe benchmark.obj
29+
benchmark.zioSchemaJson() shouldBe benchmark.obj
2930
}
3031
"fail on invalid input" in {
3132
val b = benchmark
@@ -47,6 +48,7 @@ class StringOfAsciiCharsReadingSpec extends BenchmarkSpecBase {
4748
intercept[Throwable](b.uPickle())
4849
intercept[Throwable](b.weePickle())
4950
intercept[Throwable](b.zioJson())
51+
intercept[Throwable](b.zioSchemaJson())
5052
}
5153
}
5254
}

jsoniter-scala-benchmark/jvm/src/test/scala-2/com/github/plokhotnyuk/jsoniter_scala/benchmark/StringOfAsciiCharsWritingSpec.scala

+1
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ class StringOfAsciiCharsWritingSpec extends BenchmarkSpecBase {
2525
toString(b.uPickle()) shouldBe b.jsonString
2626
toString(b.weePickle()) shouldBe b.jsonString
2727
toString(b.zioJson()) shouldBe b.jsonString
28+
toString(b.zioSchemaJson()) shouldBe b.jsonString
2829
}
2930
}
3031
}

jsoniter-scala-benchmark/jvm/src/test/scala-2/com/github/plokhotnyuk/jsoniter_scala/benchmark/StringOfEscapedCharsReadingSpec.scala

+2
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ class StringOfEscapedCharsReadingSpec extends BenchmarkSpecBase {
2626
benchmark.uPickle() shouldBe benchmark.obj
2727
benchmark.weePickle() shouldBe benchmark.obj
2828
benchmark.zioJson() shouldBe benchmark.obj
29+
benchmark.zioSchemaJson() shouldBe benchmark.obj
2930
}
3031
"fail on invalid input" in {
3132
val b = benchmark
@@ -47,6 +48,7 @@ class StringOfEscapedCharsReadingSpec extends BenchmarkSpecBase {
4748
intercept[Throwable](b.uPickle())
4849
intercept[Throwable](b.weePickle())
4950
intercept[Throwable](b.zioJson())
51+
intercept[Throwable](b.zioSchemaJson())
5052
}
5153
}
5254
}

0 commit comments

Comments
 (0)