Package org.zalando.logbook
Class HttpLogFormatterBenchmark
java.lang.Object
org.zalando.logbook.HttpLogFormatterBenchmark
- Direct Known Subclasses:
HttpLogFormatterBenchmark_jmhType_B1
public class HttpLogFormatterBenchmark
extends java.lang.Object
-
Constructor Summary
Constructors Constructor Description HttpLogFormatterBenchmark() -
Method Summary
Modifier and Type Method Description java.lang.ObjectdefaultRequest(RequestResponseState state, HttpLogFormatterState httpLogFormatterState)java.lang.ObjectdefaultResponse(RequestResponseState state, HttpLogFormatterState httpLogFormatterState)java.lang.ObjectfastJsonRequest(RequestResponseState state, HttpLogFormatterState httpLogFormatterState)java.lang.ObjectfastJsonResponse(RequestResponseState state, HttpLogFormatterState httpLogFormatterState)java.lang.ObjectjsonRequest(RequestResponseState state, HttpLogFormatterState httpLogFormatterState)java.lang.ObjectjsonResponse(RequestResponseState state, HttpLogFormatterState httpLogFormatterState)static voidmain(java.lang.String[] args)
-
Constructor Details
-
HttpLogFormatterBenchmark
public HttpLogFormatterBenchmark()
-
-
Method Details
-
jsonRequest
public java.lang.Object jsonRequest(RequestResponseState state, HttpLogFormatterState httpLogFormatterState) throws java.lang.Exception- Throws:
java.lang.Exception
-
jsonResponse
public java.lang.Object jsonResponse(RequestResponseState state, HttpLogFormatterState httpLogFormatterState) throws java.lang.Exception- Throws:
java.lang.Exception
-
fastJsonRequest
public java.lang.Object fastJsonRequest(RequestResponseState state, HttpLogFormatterState httpLogFormatterState) throws java.lang.Exception- Throws:
java.lang.Exception
-
fastJsonResponse
public java.lang.Object fastJsonResponse(RequestResponseState state, HttpLogFormatterState httpLogFormatterState) throws java.lang.Exception- Throws:
java.lang.Exception
-
defaultRequest
public java.lang.Object defaultRequest(RequestResponseState state, HttpLogFormatterState httpLogFormatterState) throws java.lang.Exception- Throws:
java.lang.Exception
-
defaultResponse
public java.lang.Object defaultResponse(RequestResponseState state, HttpLogFormatterState httpLogFormatterState) throws java.lang.Exception- Throws:
java.lang.Exception
-
main
public static void main(java.lang.String[] args) throws org.openjdk.jmh.runner.RunnerException- Throws:
org.openjdk.jmh.runner.RunnerException
-