From 9f3a505bf5a8094dd04864f5af91f1e6fc3cc20d Mon Sep 17 00:00:00 2001 From: PJ Fanning Date: Thu, 1 Feb 2024 10:42:52 +0100 Subject: [PATCH] Update ByteString_asInputStream_Benchmark.scala --- .../pekko/util/ByteString_asInputStream_Benchmark.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bench-jmh/src/main/scala/org/apache/pekko/util/ByteString_asInputStream_Benchmark.scala b/bench-jmh/src/main/scala/org/apache/pekko/util/ByteString_asInputStream_Benchmark.scala index debf76bcc78..36fb2b9e2d5 100644 --- a/bench-jmh/src/main/scala/org/apache/pekko/util/ByteString_asInputStream_Benchmark.scala +++ b/bench-jmh/src/main/scala/org/apache/pekko/util/ByteString_asInputStream_Benchmark.scala @@ -25,7 +25,7 @@ import org.openjdk.jmh.infra.Blackhole /** * Compares ByteString.asInputStream and new ByteStreamArray(ByteString.toArray). - */ + */ @State(Scope.Benchmark) @Measurement(timeUnit = TimeUnit.MILLISECONDS) class ByteString_asInputStream_Benchmark { @@ -53,7 +53,7 @@ class ByteString_asInputStream_Benchmark { [info] ByteString_asInputStream_Benchmark.single_bs_bytes_to_input_stream 10 thrpt 3 619077.237 ± 200242.708 ops/s [info] ByteString_asInputStream_Benchmark.single_bs_bytes_to_input_stream 100 thrpt 3 50481.984 ± 78485.741 ops/s [info] ByteString_asInputStream_Benchmark.single_bs_bytes_to_input_stream 1000 thrpt 3 4271.984 ± 1061.978 ops/s - */ + */ @Setup def setup(): Unit = {