Skip to content

Instantly share code, notes, and snippets.

@dgaubert
Last active February 28, 2017 10:48
Show Gist options
  • Save dgaubert/940d68838306077d9d592f06f128b5ba to your computer and use it in GitHub Desktop.
Save dgaubert/940d68838306077d9d592f06f128b5ba to your computer and use it in GitHub Desktop.

Points

Node v0.10.26 / Mapnik 2.3.x / points / populated places / default style

wrk http://cdb.localhost.lan:8181/ --latency -s scripts/simple_map.lua -d 30 -t 4
Running 30s test @ http://cdb.localhost.lan:8181/
  4 threads and 10 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency    31.88ms   38.40ms 443.93ms   93.26%
    Req/Sec    79.38     38.08   200.00     61.69%
  Latency Distribution
     50%   21.65ms
     75%   31.92ms
     90%   56.91ms
     99%  228.56ms
  9212 requests in 30.07s, 13.34MB read
Requests/sec:    306.34
Transfer/sec:    454.41KB

Node v6.9.5 / Mapnik v3.x / points / populated places / default style

wrk http://cdb.localhost.lan:8181/ --latency -s scripts/simple_map.lua -d 30 -t 4
Running 30s test @ http://cdb.localhost.lan:8181/
  4 threads and 10 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency    30.25ms   30.04ms 413.43ms   92.97%
    Req/Sec    77.30     35.93   181.00     60.90%
  Latency Distribution
     50%   22.94ms
     75%   31.78ms
     90%   50.07ms
     99%  172.85ms
  9094 requests in 30.06s, 13.28MB read
Requests/sec:    302.55
Transfer/sec:    452.56KB

Bounding-box

z/x/y tile:

5/0/0 <- 5/31/31
4/0/0 <- 4/15/15
3/0/0 <- 3/7/7
2/0/0 <- 2/3/3
1/0/0 <- 1/1/1
0/0/0 <- 0/0/0

Node v0.10.26 / Mapnik 2.3.x / points / populated places / default style

wrk http://cdb.localhost.lan:8181/ simple_map_points 0 0 0 5 --latency -s scripts/bounded_box_map.lua -d 30 -t 4
Running 30s test @ http://cdb.localhost.lan:8181/
  4 threads and 10 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency    37.74ms   46.16ms 569.51ms   93.29%
    Req/Sec    67.75     33.86   191.00     72.71%
  Latency Distribution
     50%   25.74ms
     75%   39.32ms
     90%   67.37ms
     99%  269.27ms
  7851 requests in 30.10s, 13.51MB read
Requests/sec:    260.83
Transfer/sec:    459.61KB

Node v6.9.5 / Mapnik v3.x / points / populated places / default style

wrk http://cdb.localhost.lan:8181/ simple_map_points 0 0 0 5 --latency -s scripts/bounded_box_map.lua -d 30 -t 4
Running 30s test @ http://cdb.localhost.lan:8181/
  4 threads and 10 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency    41.80ms   72.10ms   1.14s    95.59%
    Req/Sec    66.68     32.20   190.00     71.14%
  Latency Distribution
     50%   27.24ms
     75%   40.02ms
     90%   61.90ms
     99%  369.18ms
  7701 requests in 30.09s, 13.16MB read
Requests/sec:    255.91
Transfer/sec:    447.89KB

Lines

Node v0.10.26 / Mapnik 2.3.x / lines / world rivers / default style

wrk http://cdb.localhost.lan:8181/ --latency -s scripts/simple_map.lua -d 30 -t 4
Running 30s test @ http://cdb.localhost.lan:8181/
  4 threads and 10 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency    24.60ms   15.51ms 188.11ms   86.14%
    Req/Sec    84.85     34.38   181.00     66.86%
  Latency Distribution
     50%   21.25ms
     75%   28.00ms
     90%   41.31ms
     99%   83.59ms
  10201 requests in 30.07s, 10.83MB read
Requests/sec:    339.19
Transfer/sec:    368.62KB

Node v6.9.5 / Mapnik v3.x / lines / world rivers / default style

wrk http://cdb.localhost.lan:8181/ --latency -s scripts/simple_map.lua -d 30 -t 4
Running 30s test @ http://cdb.localhost.lan:8181/
  4 threads and 10 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency    21.50ms   12.56ms 288.29ms   85.21%
    Req/Sec    95.56     36.64   210.00     67.28%
  Latency Distribution
     50%   19.76ms
     75%   25.75ms
     90%   33.84ms
     99%   57.95ms
  11476 requests in 30.09s, 12.55MB read
Requests/sec:    381.37
Transfer/sec:    426.97KB

Bounding-box

z/x/y tile:

5/0/0 <- 5/31/31
4/0/0 <- 4/15/15
3/0/0 <- 3/7/7
2/0/0 <- 2/3/3
1/0/0 <- 1/1/1
0/0/0 <- 0/0/0

Node v0.10.26 / Mapnik 2.3.x / lines / world rivers / default style

wrk http://cdb.localhost.lan:8181/ simple_map_lines 0 0 0 5 --latency -s scripts/bounded_box_map.lua -d 30 -t 4
Running 30s test @ http://cdb.localhost.lan:8181/
  4 threads and 10 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency    27.82ms   17.30ms 158.63ms   81.49%
    Req/Sec    74.49     32.63   217.00     64.96%
  Latency Distribution
     50%   22.99ms
     75%   33.69ms
     90%   50.19ms
     99%   90.57ms
  8965 requests in 30.09s, 10.60MB read
Requests/sec:    297.98
Transfer/sec:    360.84KB

Node v6.9.5 / Mapnik v3.x / lines / world rivers / default style

wrk http://cdb.localhost.lan:8181/ simple_map_lines 0 0 0 5 --latency -s scripts/bounded_box_map.lua -d 30 -t 4
Running 30s test @ http://cdb.localhost.lan:8181/
  4 threads and 10 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency    25.98ms   12.17ms 215.92ms   73.72%
    Req/Sec    77.72     28.93   200.00     69.96%
  Latency Distribution
     50%   24.45ms
     75%   32.53ms
     90%   40.91ms
     99%   60.71ms
  9381 requests in 30.09s, 10.93MB read
Requests/sec:    311.79
Transfer/sec:    371.96KB

Polygons

Node v0.10.26 / Mapnik 2.3.x / polygons / world borders / default style

wrk http://cdb.localhost.lan:8181/ --latency -s scripts/simple_map.lua -d 30 -t 4
Running 30s test @ http://cdb.localhost.lan:8181/
  4 threads and 10 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency    35.08ms   24.43ms 268.44ms   78.47%
    Req/Sec    59.56     35.12   180.00     66.78%
  Latency Distribution
     50%   28.55ms
     75%   47.96ms
     90%   66.19ms
     99%  116.49ms
  7136 requests in 30.07s, 14.95MB read
Requests/sec:    237.30
Transfer/sec:    509.09KB

Node v6.9.5 / Mapnik v3.x / polygons / world borders / default style

wrk http://cdb.localhost.lan:8181/ --latency -s scripts/simple_map.lua -d 30 -t 4
Running 30s test @ http://cdb.localhost.lan:8181/
  4 threads and 10 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency    32.17ms   24.50ms 397.27ms   85.33%
    Req/Sec    66.04     37.42   210.00     74.70%
  Latency Distribution
     50%   26.89ms
     75%   42.39ms
     90%   57.99ms
     99%  115.94ms
  7879 requests in 30.10s, 15.99MB read
Requests/sec:    261.75
Transfer/sec:    544.07KB

Bounding-box

z/x/y tile:

5/0/0 <- 5/31/31
4/0/0 <- 4/15/15
3/0/0 <- 3/7/7
2/0/0 <- 2/3/3
1/0/0 <- 1/1/1
0/0/0 <- 0/0/0

Node v0.10.26 / Mapnik 2.3.x / polygons / world borders / default style

wrk http://cdb.localhost.lan:8181/ simple_map_polygons 0 0 0 5 --latency -s scripts/bounded_box_map.lua -d 30 -t 4
Running 30s test @ http://cdb.localhost.lan:8181/
  4 threads and 10 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency    34.20ms   22.05ms 144.63ms   72.92%
    Req/Sec    60.09     34.35   201.00     70.04%
  Latency Distribution
     50%   30.04ms
     75%   46.29ms
     90%   63.22ms
     99%  102.14ms
  7223 requests in 30.07s, 15.51MB read
Requests/sec:    240.20
Transfer/sec:    528.32KB

Node v6.9.5 / Mapnik v3.x / polygons / world borders / default style

wrk http://cdb.localhost.lan:8181/ simple_map_polygons 0 0 0 5 --latency -s scripts/bounded_box_map.lua -d 30 -t 4
Running 30s test @ http://cdb.localhost.lan:8181/
  4 threads and 10 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency    34.47ms   21.49ms 332.55ms   74.03%
    Req/Sec    59.22     32.97   250.00     73.21%
  Latency Distribution
     50%   31.56ms
     75%   47.57ms
     90%   60.77ms
     99%   90.93ms
  7131 requests in 30.07s, 15.28MB read
Requests/sec:    237.11
Transfer/sec:    520.26KB

Point / Lines / Polygons

Node v0.10.26 / Mapnik 2.3.x / points + lines + polygons / populated places + world rivers + world borders / default style

wrk http://cdb.localhost.lan:8181/ --latency -s scripts/simple_map.lua -d 30 -t 4
Running 30s test @ http://cdb.localhost.lan:8181/
  4 threads and 10 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency    40.90ms   44.34ms 555.95ms   90.92%
    Req/Sec    60.18     40.37   190.00     65.60%
  Latency Distribution
     50%   28.07ms
     75%   50.58ms
     90%   80.46ms
     99%  242.91ms
  6926 requests in 30.09s, 19.93MB read
Requests/sec:    230.16
Transfer/sec:    678.15KB

Node v6.9.5 / Mapnik v3.x / points + lines + polygons / populated places + world rivers + world borders / default style

wrk http://cdb.localhost.lan:8181/ --latency -s scripts/simple_map.lua -d 30 -t 4
Running 30s test @ http://cdb.localhost.lan:8181/
 4 threads and 10 connections
 Thread Stats   Avg      Stdev     Max   +/- Stdev
   Latency    41.77ms   45.85ms 623.78ms   92.03%
   Req/Sec    58.88     36.54   198.00     58.87%
 Latency Distribution
    50%   28.70ms
    75%   50.14ms
    90%   79.91ms
    99%  261.18ms
 6805 requests in 30.06s, 19.59MB read
Requests/sec:    226.38
Transfer/sec:    667.30KB

Bounding-box

z/x/y tile:

5/0/0 <- 5/31/31
4/0/0 <- 4/15/15
3/0/0 <- 3/7/7
2/0/0 <- 2/3/3
1/0/0 <- 1/1/1
0/0/0 <- 0/0/0

Node v0.10.26 / Mapnik 2.3.x / points + lines + polygons / populated places + world rivers + world borders / default style

wrk http://cdb.localhost.lan:8181/ simple_map_all 0 0 0 5 --latency -s scripts/bounded_box_map.lua -d 30 -t 4
Running 30s test @ http://cdb.localhost.lan:8181/
  4 threads and 10 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency    48.50ms   60.07ms 674.11ms   92.97%
    Req/Sec    53.21     35.94   210.00     79.96%
  Latency Distribution
     50%   33.74ms
     75%   57.59ms
     90%   91.56ms
     99%  340.42ms
  6103 requests in 30.08s, 19.05MB read
Requests/sec:    202.87
Transfer/sec:    648.38KB

Node v6.9.5 / Mapnik v3.x / points + lines + polygons / populated places + world rivers + world borders / default style

wrk http://cdb.localhost.lan:8181/ simple_map_all 0 0 0 5 --latency -s scripts/bounded_box_map.lua -d 30 -t 4
Running 30s test @ http://cdb.localhost.lan:8181/
  4 threads and 10 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency    50.44ms   53.05ms 692.82ms   92.80%
    Req/Sec    47.77     30.19   200.00     77.59%
  Latency Distribution
     50%   37.63ms
     75%   61.83ms
     90%   91.65ms
     99%  303.07ms
  5505 requests in 30.09s, 17.59MB read
Requests/sec:    182.94
Transfer/sec:    598.69KB
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment