Package org.eclipse.jetty.requestlog.jmh
Class RequestLogBenchmark
- java.lang.Object
-
- org.eclipse.jetty.requestlog.jmh.RequestLogBenchmark
-
public class RequestLogBenchmark extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description RequestLogBenchmark()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
append(java.lang.String s, java.lang.StringBuilder b)
static void
logAddr(java.lang.StringBuilder b, java.lang.String request)
java.lang.String
logFixed(java.lang.String request)
java.lang.String
logIterate(java.lang.String request)
static void
logLength(java.lang.StringBuilder b, java.lang.String request)
java.lang.String
logMethodHandle(java.lang.String request)
static void
logURI(java.lang.StringBuilder b, java.lang.String request)
static void
main(java.lang.String[] args)
java.lang.String
testFixed()
java.lang.String
testHandle()
java.lang.String
testIterate()
-
-
-
Method Detail
-
append
public static void append(java.lang.String s, java.lang.StringBuilder b)
-
logURI
public static void logURI(java.lang.StringBuilder b, java.lang.String request)
-
logLength
public static void logLength(java.lang.StringBuilder b, java.lang.String request)
-
logAddr
public static void logAddr(java.lang.StringBuilder b, java.lang.String request)
-
logFixed
public java.lang.String logFixed(java.lang.String request)
-
logIterate
public java.lang.String logIterate(java.lang.String request)
-
logMethodHandle
public java.lang.String logMethodHandle(java.lang.String request)
-
testFixed
public java.lang.String testFixed()
-
testIterate
public java.lang.String testIterate()
-
testHandle
public java.lang.String testHandle()
-
main
public static void main(java.lang.String[] args) throws org.openjdk.jmh.runner.RunnerException
- Throws:
org.openjdk.jmh.runner.RunnerException
-
-