Skip to content

Instantly share code, notes, and snippets.

@mwolson
Created March 22, 2014 21:32

Revisions

  1. mwolson created this gist Mar 22, 2014.
    21 changes: 21 additions & 0 deletions memory leak fun
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,21 @@
    # Before
    $ wrk -c 20 -t 6 -d 50s http://localhost:8181/health/healthcheck
    Running 50s test @ http://localhost:8181/health/healthcheck
    6 threads and 20 connections
    Thread Stats Avg Stdev Max +/- Stdev
    Latency 73.58ms 112.85ms 375.41ms 87.91%
    Req/Sec 138.11 97.30 348.00 66.52%
    41179 requests in 50.00s, 10.76MB read
    Requests/sec: 823.57
    Transfer/sec: 220.37KB

    # After
    $ wrk -c 20 -t 6 -d 50s http://localhost:8181/health/healthcheck
    Running 50s test @ http://localhost:8181/health/healthcheck
    6 threads and 20 connections
    Thread Stats Avg Stdev Max +/- Stdev
    Latency 7.26ms 2.24ms 20.58ms 87.04%
    Req/Sec 438.75 92.52 600.00 68.05%
    128348 requests in 50.00s, 33.54MB read
    Requests/sec: 2567.18
    Transfer/sec: 686.92KB