KeyValueQuery
com.netflix.atlas.core.model.KeyValueQuery
class KeyValueQuery
Check performance of special case in KeyValueQuery to use SmallHashMap.getOrNull when possible instead of Map.get. This avoids an allocation for the Option and a little bit of overhead for the lambda invocation. For tight loops such as checking the query for a high volume streaming path it provides a noticeable benefit.
> jmh:run -prof gc -wi 10 -i 10 -f1 -t1 .*KeyValueQuery.*
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
Members list
In this article