haskell web framework benchmarks
Benchmark results for 2 haskell web frameworks, measured with zrk at concurrency 64, 256, 512. Fastest at concurrency 64: scotty with 115 581 requests per second.
Compare throughput and latency together. These measurements describe a specific workload and test environment; performance in your application may differ.
Concurrency 64
| # | Framework | Requests / second | P50 latency | P99 latency | HTTP errors |
|---|---|---|---|---|---|
| 1 | scotty 0.22 | 115 581 | 0.38 ms | 1.40 ms | 0 |
| 2 | servant 0.20 | 63 936 | 0.99 ms | 1.23 ms | 0 |
Concurrency 256
| # | Framework | Requests / second | P50 latency | P99 latency | HTTP errors |
|---|---|---|---|---|---|
| 1 | scotty 0.22 | 104 645 | 2.07 ms | 4.29 ms | 0 |
| 2 | servant 0.20 | 57 378 | 4.39 ms | 5.41 ms | 0 |