Skip to content

Instantly share code, notes, and snippets.

@Pchelolo
Created August 28, 2020 21:48
Show Gist options
  • Save Pchelolo/704546cde3cf9fe9867eae00cfad8a9d to your computer and use it in GitHub Desktop.
Save Pchelolo/704546cde3cf9fe9867eae00cfad8a9d to your computer and use it in GitHub Desktop.
Master:
-------------------------------------------------------------------------
Benchmark Time CPU Iterations
-------------------------------------------------------------------------
BM_AccessLogFormatter 6512 ns 6454 ns 107716
BM_JsonAccessLogFormatter 184852 ns 183447 ns 3785
BM_TypedJsonAccessLogFormatter 180106 ns 178997 ns 3922
-------------------------------------------------------------------------
Benchmark Time CPU Iterations
-------------------------------------------------------------------------
BM_AccessLogFormatter 6444 ns 6404 ns 110309
BM_JsonAccessLogFormatter 184278 ns 183061 ns 3758
BM_TypedJsonAccessLogFormatter 178864 ns 177762 ns 3825
-------------------------------------------------------------------------
Benchmark Time CPU Iterations
-------------------------------------------------------------------------
BM_AccessLogFormatter 6484 ns 6421 ns 109656
BM_JsonAccessLogFormatter 184578 ns 182875 ns 3835
BM_TypedJsonAccessLogFormatter 178026 ns 176751 ns 3925
New festure branch, with reference for protocol:
-------------------------------------------------------------------------
Benchmark Time CPU Iterations
-------------------------------------------------------------------------
BM_AccessLogFormatter 6975 ns 6967 ns 98649
BM_JsonAccessLogFormatter 163341 ns 163137 ns 4299
BM_TypedJsonAccessLogFormatter 158009 ns 157870 ns 4406
-------------------------------------------------------------------------
Benchmark Time CPU Iterations
-------------------------------------------------------------------------
BM_AccessLogFormatter 6881 ns 6861 ns 98625
BM_JsonAccessLogFormatter 168445 ns 167845 ns 4187
BM_TypedJsonAccessLogFormatter 158851 ns 158558 ns 4266
-------------------------------------------------------------------------
Benchmark Time CPU Iterations
-------------------------------------------------------------------------
BM_AccessLogFormatter 6880 ns 6875 ns 99736
BM_JsonAccessLogFormatter 162505 ns 162366 ns 4254
BM_TypedJsonAccessLogFormatter 168032 ns 167085 ns 4176
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment