com.netflix.atlas.eval.stream

Members list

Type members

Classlikes

Compare decoding a ByteString to JSON:

Compare decoding a ByteString to JSON:

  1. ByteString > String > Json.decode
  2. ByteString > Array[Byte] (reused) > Json.decode
> jmh:run -prof gc -wi 10 -i 10 -f1 -t1 .*ByteStringDecode.*

Initial results:

Throughput:

Benchmark                   Mode  Cnt       Score       Error   Units
decodeFromByteString       thrpt   10  344793.104 ± 11891.506   ops/s
decodeFromString           thrpt   10  299394.816 ±  9240.783   ops/s


Allocation rate per operation:

Benchmark                   Mode  Cnt       Score       Error   Units
decodeFromByteString       thrpt   10    3928.000 ±     0.002    B/op
decodeFromString           thrpt   10    4680.001 ±     0.002    B/op

Attributes

Supertypes
class Object
trait Matchable
class Any