Speed comparisonΒΆ

Tests made on moderate machine with single python process and with uwsgi as wsgi server.

  • CodernityREST on cPython

    $ ./wrk -t4 -c20 -d10m http://192.168.1.6:3007/ping
    Running 10m test @ http://192.168.1.6:3007/ping
      4 threads and 20 connections
      Thread Stats   Avg      Stdev     Max   +/- Stdev
        Latency     2.02ms  268.39us  15.95ms   81.44%
        Req/Sec     2.63k   269.65     3.33k    83.25%
      5955852 requests in 10.00m, 431.68MB read
    Requests/sec:   9926.44
    Transfer/sec:    736.73KB
    
  • CodernityREST on cPython with Cython

    $ ./wrk -t4 -c20 -d10s http://192.168.1.6:3007/ping
    Running 10m test @ http://192.168.1.6:3007/ping
      4 threads and 20 connections
      Thread Stats   Avg      Stdev     Max   +/- Stdev
        Latency     1.86ms  202.92us   6.11ms   73.71%
        Req/Sec     2.82k   206.07     3.44k    78.50%
      6412301 requests in 10.00m, 464.76MB read
    Requests/sec:  10687.23
    Transfer/sec:    793.20KB
    
  • CodernityREST on PyPy

    $ ./wrk -t4 -c20 -d10s http://192.168.1.6:3007/ping
    Running 10m test @ http://192.168.1.6:3007/ping
      4 threads and 20 connections
      Thread Stats   Avg      Stdev     Max   +/- Stdev
        Latency     1.75ms  230.54us  10.48ms   81.79%
        Req/Sec     2.98k   195.88     3.67k    74.38%
      6788117 requests in 10.00m, 492.00MB read
    Requests/sec:  11313.56
    Transfer/sec:    839.68KB
    
  • Falcon on cPython with Cython

    $ ./wrk -t4 -c20 -d10m http://192.168.1.6:3007/ping
    Running 10m test @ http://192.168.1.6:3007/ping
      4 threads and 20 connections
      Thread Stats   Avg      Stdev     Max   +/- Stdev
        Latency     2.63ms  434.71us  40.40ms   91.14%
        Req/Sec     1.98k   152.91     2.44k    80.93%
      4566850 requests in 10.00m, 396.33MB read
    Requests/sec:   7611.42
    Transfer/sec:    676.41KB
    
  • Wheezy

    $ ./wrk -t4 -c20 -d10m http://192.168.1.6:3007/ping
    Running 10m test @ http://192.168.1.6:3007/ping
      4 threads and 20 connections
      Thread Stats   Avg      Stdev     Max   +/- Stdev
        Latency     2.81ms  320.30us   9.76ms   77.93%
        Req/Sec     1.88k   215.12     2.33k    62.93%
      4282423 requests in 10.00m, 469.66MB read
    Requests/sec:   7137.38
    Transfer/sec:    801.56KB
    
  • Bottle

    $ ./wrk -t4 -c20 -d10m http://192.168.1.6:3007/ping
    Running 10m test @ http://192.168.1.6:3007/ping
      4 threads and 20 connections
      Thread Stats   Avg      Stdev     Max   +/- Stdev
        Latency     3.02ms  315.42us   9.56ms   82.48%
        Req/Sec     1.75k   191.72     2.22k    69.72%
      3989559 requests in 10.00m, 319.60MB read
    Requests/sec:   6649.28
    Transfer/sec:    545.45KB
    
  • Cornice

    $ ./wrk -t4 -c20 -d10m http://192.168.1.6:3007/ping
    Running 10m test @ http://192.168.1.6:3007/ping
      4 threads and 20 connections
      Thread Stats   Avg      Stdev     Max   +/- Stdev
        Latency     7.26ms  518.45us  19.17ms   79.04%
        Req/Sec   717.00     88.75     1.08k    64.36%
      1655350 requests in 10.00m, 143.66MB read
    Requests/sec:   2758.91
    Transfer/sec:    245.18KB
    
  • Pecan

    $ ./wrk -t4 -c20 -d10m http://192.168.1.6:3007/ping
    Running 10m test @ http://192.168.1.6:3007/ping
      4 threads and 20 connections
      Thread Stats   Avg      Stdev     Max   +/- Stdev
        Latency    12.22ms  488.16us  22.79ms   67.13%
        Req/Sec   418.19     35.78   590.00     60.83%
      981849 requests in 10.00m, 219.11MB read
    Requests/sec:   1636.41
    Transfer/sec:    373.94KB