Skip to content

Instantly share code, notes, and snippets.

@rpless
Created November 19, 2016 13:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rpless/7149d0f110e25a9885be4fa8582c6a55 to your computer and use it in GitHub Desktop.
Save rpless/7149d0f110e25a9885be4fa8582c6a55 to your computer and use it in GitHub Desktop.
wrk output for Removing the string conversions from the Circe decoder

Finch + Circe: Current

$ wrk -t4 -c24 -d30s -s examples/src/main/scala/io/finch/wrk/wrk.lua http://localhost:8081/
Running 30s test @ http://localhost:8081/
  4 threads and 24 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     3.53ms   19.77ms 378.12ms   98.27%
    Req/Sec    13.68k     4.94k   29.80k    70.29%
  1619290 requests in 30.06s, 152.88MB read
Requests/sec:  53862.90
Transfer/sec:      5.09MB

Finch + Circe: Without String conversions

$ wrk -t4 -c24 -d30s -s examples/src/main/scala/io/finch/wrk/wrk.lua http://localhost:8081/
Running 30s test @ http://localhost:8081/
  4 threads and 24 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.56ms    3.51ms  51.72ms   90.45%
    Req/Sec    14.14k     3.18k   26.57k    68.08%
  1689558 requests in 30.04s, 159.52MB read
Requests/sec:  56241.41
Transfer/sec:      5.31MB
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment