Test an empty map (no data, no style), from zoom 18 to zoom 0 and given a bounding-box it iterates over a predefined bounding-box to request tiles, instead of looping over the whole quad-tree.
wrk http://cdb.localhost.lan:8181/ --latency -s scripts/simple_map.lua -d 30 -t 4
Layergroup ID = fc02b13f4145e914b1f29876f49b3ee6:1488190788822
Layergroup ID = fc02b13f4145e914b1f29876f49b3ee6:1488190788822
Layergroup ID = fc02b13f4145e914b1f29876f49b3ee6:1488190788822
Layergroup ID = fc02b13f4145e914b1f29876f49b3ee6:1488190788822
Running 30s test @ http://cdb.localhost.lan:8181/
4 threads and 10 connections
Thread Stats Avg Stdev Max +/- Stdev
Latency 20.66ms 10.78ms 103.72ms 87.13%
Req/Sec 99.40 24.82 170.00 68.47%
Latency Distribution
50% 18.30ms
75% 22.99ms
90% 30.57ms
99% 60.27ms
11985 requests in 30.10s, 8.94MB read
Requests/sec: 398.13
Transfer/sec: 304.21KB
wrk http://cdb.localhost.lan:8181/ --latency -s scripts/simple_map.lua -d 30 -t 4
Layergroup ID = fc02b13f4145e914b1f29876f49b3ee6:1488190788822
Layergroup ID = fc02b13f4145e914b1f29876f49b3ee6:1488190788822
Layergroup ID = fc02b13f4145e914b1f29876f49b3ee6:1488190788822
Layergroup ID = fc02b13f4145e914b1f29876f49b3ee6:1488190788822
Running 30s test @ http://cdb.localhost.lan:8181/
4 threads and 10 connections
Thread Stats Avg Stdev Max +/- Stdev
Latency 19.86ms 7.97ms 204.02ms 81.47%
Req/Sec 101.68 21.40 160.00 65.78%
Latency Distribution
50% 18.96ms
75% 23.64ms
90% 27.78ms
99% 44.13ms
12270 requests in 30.08s, 9.16MB read
Requests/sec: 407.90
Transfer/sec: 311.88KB