Home / Frameworks / ruby / sinatra
HTTP server & framework benchmarks
sinatra benchmark results
sinatra 4.2 is a ruby web framework. At concurrency 64 it serves 18 768 requests per second with a P50 latency of 3.19 ms, ranking 311 of 383 overall and 10 of 13 among ruby frameworks.
Throughput, latency & reliability
All measured metrics for sinatra 4.2, by concurrency level.
Metric Concurrency 64 Concurrency 256 Concurrency 512
Requests / second 18 768 19 231 18 709
P50 latency 3.19 ms 13.13 ms 26.31 ms
P75 latency 4.38 ms 16.31 ms 32.95 ms
P90 latency 5.58 ms 19.50 ms 39.07 ms
P99 latency 10.33 ms 29.15 ms 50.12 ms
P99.999 latency 22.91 ms 119.32 ms 980.05 ms
Average latency 3.42 ms 13.32 ms 27.41 ms
Minimum latency 0.13 ms 0.13 ms 0.14 ms
Standard deviation 1.94 ms 5.63 ms 22.33 ms
Total requests 281 526 288 506 280 722
Bytes received 46.27 MB 47.41 MB 46.13 MB
HTTP errors 0 0 0
Request timeouts 0 0 0
Socket connection errors 0 0 0
Socket read errors 0 0 0
Socket write errors 0 0 0
Position in this benchmark
Position of sinatra on requests per second.
Concurrency Overall Among ruby frameworks
64 311 of 383 10 of 13
256 309 of 383 10 of 13
512 308 of 383 10 of 13
Badge for your README
Show the rank of sinatra in your README. The image is updated together with the results.
[](https://web-frameworks-benchmark.vercel.app/frameworks/ruby/sinatra/)
[](https://web-frameworks-benchmark.vercel.app/frameworks/ruby/sinatra/)
Explore ruby frameworks
Fastest ruby frameworks at concurrency 64.
#
Framework
Requests / second
P50 latency
P99 latency
HTTP errors
1
agoo 2.15
98 215
0.22 ms
10.37 ms
0
2
rage 1.28
63 832
0.28 ms
10.98 ms
0
3
syro 3.2
36 710
1.68 ms
4.03 ms
0
4
hanami-api 0.3
35 468
1.74 ms
4.43 ms
0
5
roda 3.108
35 257
1.75 ms
4.21 ms
0
6
cuba 4
32 742
1.88 ms
4.62 ms
0
7
grape 4
28 387
2.19 ms
5.34 ms
0
8
rack_app 11
24 539
2.51 ms
4.97 ms
0
9
hanami 3
19 962
3.02 ms
8.99 ms
0
11
rails-api 8.1
9 794
5.99 ms
20.08 ms
0
All 13 ruby frameworks