Skip to content

Instantly share code, notes, and snippets.

@ryankennedy
Created April 22, 2016 06:16
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 ryankennedy/9b5a03aae162e57f945b8a72ef461435 to your computer and use it in GitHub Desktop.
Save ryankennedy/9b5a03aae162e57f945b8a72ef461435 to your computer and use it in GitHub Desktop.
Benchmark results comparing the baseline TechEmpower Dropwizard code with a version packing an optimized Guava.
===============
Primer Requests
===============
Running 5s test @ http://localhost:9090/json
8 threads and 8 connections
Thread Stats Avg Stdev Max +/- Stdev
Latency 11.61ms 28.59ms 287.04ms 96.75%
Req/Sec 169.75 52.18 300.00 69.27%
Latency Distribution
50% 7.11ms
75% 12.88ms
90% 17.61ms
99% 190.95ms
6528 requests in 5.02s, 1.03MB read
Requests/sec: 1300.23
Transfer/sec: 210.78KB
===============
Warmup Requests
===============
Running 15s test @ http://localhost:9090/json
2 threads and 256 connections
Thread Stats Avg Stdev Max +/- Stdev
Latency 69.84ms 45.69ms 948.14ms 74.78%
Req/Sec 1.87k 499.29 2.87k 66.29%
Latency Distribution
50% 65.68ms
75% 88.22ms
90% 121.94ms
99% 220.97ms
56111 requests in 15.06s, 8.88MB read
Requests/sec: 3726.07
Transfer/sec: 604.03KB
===============
Concurrency 8
===============
Running 15s test @ http://localhost:9090/json
2 threads and 8 connections
Thread Stats Avg Stdev Max +/- Stdev
Latency 2.40ms 4.90ms 128.52ms 97.31%
Req/Sec 2.29k 244.26 4.14k 86.33%
Latency Distribution
50% 1.61ms
75% 1.70ms
90% 2.92ms
99% 25.33ms
68237 requests in 15.01s, 10.80MB read
Requests/sec: 4546.46
Transfer/sec: 737.02KB
===============
Concurrency 16
===============
Running 15s test @ http://localhost:9090/json
2 threads and 16 connections
Thread Stats Avg Stdev Max +/- Stdev
Latency 6.87ms 15.82ms 260.80ms 93.55%
Req/Sec 2.39k 289.35 3.62k 84.00%
Latency Distribution
50% 3.12ms
75% 3.30ms
90% 9.13ms
99% 80.92ms
71418 requests in 15.05s, 11.31MB read
Requests/sec: 4746.91
Transfer/sec: 769.52KB
===============
Concurrency 32
===============
Running 15s test @ http://localhost:9090/json
2 threads and 32 connections
Thread Stats Avg Stdev Max +/- Stdev
Latency 12.65ms 24.91ms 322.24ms 91.42%
Req/Sec 2.61k 501.80 4.67k 82.00%
Latency Distribution
50% 5.90ms
75% 7.09ms
90% 29.59ms
99% 130.66ms
78193 requests in 15.09s, 12.38MB read
Requests/sec: 5180.19
Transfer/sec: 839.76KB
===============
Concurrency 64
===============
Running 15s test @ http://localhost:9090/json
2 threads and 64 connections
Thread Stats Avg Stdev Max +/- Stdev
Latency 18.59ms 27.15ms 277.82ms 87.49%
Req/Sec 3.26k 618.61 5.39k 76.69%
Latency Distribution
50% 8.18ms
75% 19.23ms
90% 55.34ms
99% 129.35ms
97395 requests in 15.05s, 15.42MB read
Requests/sec: 6469.91
Transfer/sec: 1.02MB
===============
Concurrency 128
===============
Running 15s test @ http://localhost:9090/json
2 threads and 128 connections
Thread Stats Avg Stdev Max +/- Stdev
Latency 27.58ms 36.63ms 365.41ms 87.05%
Req/Sec 3.76k 0.92k 7.24k 71.92%
Latency Distribution
50% 14.77ms
75% 31.20ms
90% 75.41ms
99% 173.35ms
112733 requests in 15.09s, 17.85MB read
Requests/sec: 7471.24
Transfer/sec: 1.18MB
===============
Concurrency 256
===============
Running 15s test @ http://localhost:9090/json
2 threads and 256 connections
Thread Stats Avg Stdev Max +/- Stdev
Latency 32.80ms 16.38ms 229.23ms 75.76%
Req/Sec 3.92k 554.22 4.96k 81.72%
Latency Distribution
50% 31.63ms
75% 40.85ms
90% 53.69ms
99% 85.55ms
116839 requests in 15.00s, 18.50MB read
Requests/sec: 7786.88
Transfer/sec: 1.23MB
===============
Primer Requests
===============
Running 5s test @ http://localhost:9090/json
8 threads and 8 connections
Thread Stats Avg Stdev Max +/- Stdev
d Latency 10.70ms 26.11ms 256.95ms 96.82%
Req/Sec 187.35 67.80 363.00 69.53%
Latency Distribution
50% 6.35ms
75% 12.21ms
90% 17.16ms
99% 175.74ms
7201 requests in 5.02s, 1.14MB read
Requests/sec: 1435.21
Transfer/sec: 232.66KB
===============
Warmup Requests
===============
Running 15s test @ http://localhost:9090/json
2 threads and 256 connections
Thread Stats Avg Stdev Max +/- Stdev
Latency 62.65ms 39.35ms 719.13ms 79.31%
Req/Sec 2.07k 440.93 3.14k 75.93%
Latency Distribution
50% 59.28ms
75% 80.72ms
90% 101.93ms
99% 201.04ms
62537 requests in 15.11s, 9.90MB read
Requests/sec: 4139.71
Transfer/sec: 671.09KB
===============
Concurrency 8
===============
Running 15s test @ http://localhost:9090/json
2 threads and 8 connections
Thread Stats Avg Stdev Max +/- Stdev
Latency 1.86ms 1.91ms 60.10ms 94.58%
Req/Sec 2.40k 170.40 3.16k 77.00%
Latency Distribution
50% 1.52ms
75% 1.57ms
90% 2.69ms
99% 6.90ms
71530 requests in 15.02s, 11.32MB read
Requests/sec: 4763.54
Transfer/sec: 772.21KB
===============
Concurrency 16
===============
Running 15s test @ http://localhost:9090/json
2 threads and 16 connections
Thread Stats Avg Stdev Max +/- Stdev
Latency 3.13ms 3.65ms 84.43ms 97.18%
Req/Sec 2.89k 191.27 4.30k 82.00%
Latency Distribution
50% 2.56ms
75% 2.69ms
90% 3.56ms
99% 13.71ms
86333 requests in 15.03s, 13.67MB read
Requests/sec: 5742.92
Transfer/sec: 0.91MB
===============
Concurrency 32
===============
Running 15s test @ http://localhost:9090/json
2 threads and 32 connections
Thread Stats Avg Stdev Max +/- Stdev
Latency 11.88ms 21.58ms 207.90ms 89.79%
Req/Sec 3.05k 536.19 5.43k 79.93%
Latency Distribution
50% 5.07ms
75% 8.09ms
90% 34.39ms
99% 110.31ms
91188 requests in 15.06s, 14.44MB read
Requests/sec: 6055.08
Transfer/sec: 0.96MB
===============
Concurrency 64
===============
Running 15s test @ http://localhost:9090/json
2 threads and 64 connections
Thread Stats Avg Stdev Max +/- Stdev
Latency 13.43ms 18.62ms 190.97ms 91.39%
Req/Sec 3.50k 648.38 6.99k 83.95%
Latency Distribution
50% 8.81ms
75% 11.95ms
90% 25.40ms
99% 100.04ms
104738 requests in 15.06s, 16.58MB read
Requests/sec: 6953.29
Transfer/sec: 1.10MB
===============
Concurrency 128
===============
Running 15s test @ http://localhost:9090/json
2 threads and 128 connections
Thread Stats Avg Stdev Max +/- Stdev
Latency 22.77ms 29.82ms 277.25ms 87.88%
Req/Sec 4.36k 1.00k 9.09k 76.53%
Latency Distribution
50% 12.05ms
75% 24.35ms
90% 61.11ms
99% 142.51ms
130961 requests in 15.10s, 20.73MB read
Requests/sec: 8674.40
Transfer/sec: 1.37MB
===============
Concurrency 256
===============
Running 15s test @ http://localhost:9090/json
2 threads and 256 connections
Thread Stats Avg Stdev Max +/- Stdev
Latency 29.65ms 14.57ms 197.37ms 81.11%
Req/Sec 4.41k 587.28 5.68k 86.67%
Latency Distribution
50% 28.13ms
75% 32.68ms
90% 49.78ms
99% 83.63ms
131802 requests in 15.07s, 20.87MB read
Requests/sec: 8743.10
Transfer/sec: 1.38MB
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment