SmallHashMapJavaGet

com.netflix.atlas.core.util.SmallHashMapJavaGet

Check the overhead of java wrapper for use-cases that perform a lot of get calls.

> jmh:run -prof gc -wi 10 -i 10 -f1 -t1 .*SmallHashMapJavaGet.*
...
[info] Benchmark               Mode  Cnt         Score         Error  Units
[info] customGetFound         thrpt   10  94270900.203 ± 5825997.538  ops/s
[info] customGetNotFound      thrpt   10   6799704.339 ±  462769.738  ops/s
[info] scalaGetFound          thrpt   10  85325015.251 ± 4367808.653  ops/s
[info] scalaGetNotFound       thrpt   10   6385962.734 ±  318520.923  ops/s

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def customGetFound(bh: Blackhole): Unit
def customGetNotFound(bh: Blackhole): Unit
def scalaGetFound(bh: Blackhole): Unit
def scalaGetNotFound(bh: Blackhole): Unit