IntIntMap

com.netflix.atlas.core.util.IntIntMap
class IntIntMap

Sanity check for integer hash set.

> run -wi 10 -i 10 -f1 -t1 .*IntIntMap.*
...
load factor of 0.7

[info] Benchmark                        Mode  Cnt      Score     Error  Units
[info] IntIntMap.testIntIntHashMap800  thrpt   10  10374.640 ± 782.568  ops/s
[info] IntIntMap.testIntIntHashMap8k   thrpt   10    589.537 ±   8.124  ops/s
[info] IntIntMap.testJavaHashMap800    thrpt   10   4051.768 ± 499.362  ops/s
[info] IntIntMap.testJavaHashMap8k     thrpt   10   2846.103 ±  14.858  ops/s

load factor of 0.5

[info] Benchmark                        Mode  Cnt      Score     Error  Units
[info] IntIntMap.testIntIntHashMap800  thrpt   10  11713.871 ± 271.158  ops/s
[info] IntIntMap.testIntIntHashMap8k   thrpt   10   3963.805 ±  59.359  ops/s
[info] IntIntMap.testJavaHashMap800    thrpt   10   4371.380 ±  93.346  ops/s
[info] IntIntMap.testJavaHashMap8k     thrpt   10   2709.591 ±  71.376  ops/s

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def testIntIntHashMap800(bh: Blackhole): Unit
def testIntIntHashMap8k(bh: Blackhole): Unit
def testJavaHashMap800(bh: Blackhole): Unit
def testJavaHashMap8k(bh: Blackhole): Unit