StringSub
com.netflix.atlas.core.util.StringSub
class StringSub
Quick sanity check on substitute changes. Main goal is to reduce some of the allocations seen in batch use-cases.
> run -wi 10 -i 10 -f1 -t1 .*StringSub.*
Initial results:
[info] Benchmark Mode Cnt Score Error Units
[info] StringSub.testParsingByHand thrpt 10 2223516.436 ± 43697.844 ops/s
[info] StringSub.testUsingRegex thrpt 10 267252.094 ± 6066.379 ops/s
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
Members list
In this article