SmallHashMapModify

com.netflix.atlas.core.util.SmallHashMapModify

Check performance of creating a copy of the map when adding/removing a single pair.

> jmh:run -prof gc -wi 10 -i 10 -f1 -t1 .*SmallHashMapModify.*
...
[info] Benchmark                           Mode  Cnt        Score       Error  Units
[info] SmallHashMapModify.addPair         thrpt    5  2541571.202 ± 239240.513   ops/s
[info] SmallHashMapModify.removePair      thrpt    5  3840622.669 ± 439259.261   ops/s

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def addPair(bh: Blackhole): Unit
def removePair(bh: Blackhole): Unit