SmallHashMapEntrySet
com.netflix.atlas.core.util.SmallHashMapEntrySet
class SmallHashMapEntrySet
Check the overhead of java wrapper for use-cases that iterate over the entry set.
> jmh:run -prof gc -wi 10 -i 10 -f1 -t1 .*SmallHashMapEntrySet.*
...
Benchmark Mode Cnt Score Error Units
customEntrySet thrpt 10 13480190.254 ± 351370.866 ops/s
scalaEntrySet thrpt 10 7782130.178 ± 514660.491 ops/s
customEntrySet gc.alloc.rate.norm 10 24.000 ± 0.001 B/op
scalaEntrySet gc.alloc.rate.norm 10 272.000 ± 0.001 B/op
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
Members list
In this article