SmallHashMapEquals

com.netflix.atlas.core.util.SmallHashMapEquals

Check performance of comparing small hash maps for equality.

> jmh:run -prof jmh.extras.JFR -wi 10 -i 10 -f1 -t1 .*SmallHashMapEquals.*
...
[info] Benchmark                     Mode  Cnt          Score          Error  Units

[info] currentEquals                thrpt   10   47004215.059 ±  2291847.719  ops/s
[info] inheritedEquals              thrpt   10    2134457.383 ±   111821.520  ops/s
[info] dataEquals                   thrpt   10   51326103.645 ±   758297.787  ops/s
[info] selfEquals                   thrpt   10  351279563.043 ± 18578115.816  ops/s

[info] currentEqualsNot             thrpt   10  273893522.221 ±  7980051.600  ops/s
[info] inheritedEqualsNot           thrpt   10    2341207.187 ±   206356.584  ops/s
[info] dataEqualsNot                thrpt   10   32392263.165 ±  1289262.059  ops/s

[info] currentEqualHashCodes        thrpt   10   14601802.119 ±   360902.793  ops/s
[info] inheritedEqualHashCodes      thrpt   10     483515.784 ±    10044.781  ops/s

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def currentEqualHashCodes(bh: Blackhole): Unit
def currentEquals(bh: Blackhole): Unit
def currentEqualsNot(bh: Blackhole): Unit
def dataEquals(bh: Blackhole): Unit
def dataEqualsNot(bh: Blackhole): Unit
def inheritedEqualHashCodes(bh: Blackhole): Unit
def inheritedEquals(bh: Blackhole): Unit
def inheritedEqualsNot(bh: Blackhole): Unit
def selfEquals(bh: Blackhole): Unit