UriParsing

com.netflix.atlas.pekko.UriParsing
class UriParsing

Compare different ways to adjust path for a URI.

> jmh:run -prof stack -prof gc -wi 5 -i 10 -f1 -t1 .*UriParsing.*
...
Benchmark                            Mode  Cnt         Score        Error   Units
addPath                             thrpt   10   6430310.311 ± 108825.698   ops/s
addSegment                          thrpt   10   9973181.589 ± 280533.182   ops/s
parse                               thrpt   10    567621.328 ±   8144.481   ops/s

Benchmark                            Mode  Cnt         Score        Error   Units
addPath                gc.alloc.rate.norm   10       296.060 ±      0.003    B/op
addSegment             gc.alloc.rate.norm   10       240.040 ±      0.002    B/op
parse                  gc.alloc.rate.norm   10      5680.749 ±      0.019    B/op

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def addPath(bh: Blackhole): Unit
def addSegment(bh: Blackhole): Unit
def parse(bh: Blackhole): Unit