News for hackers. Stuff that matters.
Re:Low-level web programming in Racket and a wiki in 500 lines by SanFranManDan on Sunday June 14, 2015 @07:49PM (#9716753)
Without a baseline comparison against other servers with same functionality on the same computer, these results mean nothing.

For example here are benchmarks from Django's single-threaded debug webserver:

Benchmarking 127.0.0.1 (be patient).....done

Server Software: WSGIServer/0.1

Server Hostname: 127.0.0.1

Server Port: 8000

Document Path: /

Document Length: 2 bytes

Concurrency Level: 10

Time taken for tests: 0.100 seconds

Complete requests: 100

Failed requests: 0

Total transferred: 16400 bytes

HTML transferred: 200 bytes

Requests per second: 998.90 [#/sec] (mean)

Time per request: 10.011 [ms] (mean)

Time per request: 1.001 [ms] (mean, across all concurrent requests)

Transfer rate: 159.98 [Kbytes/sec] received

Or Nginx returning the same thing:

Benchmarking 127.0.0.1 (be patient).....done

Server Software: nginx/1.6.2 Server Hostname: 127.0.0.1 Server Port: 9080

Document Path: /gangam Document Length: 14 bytes

Concurrency Level: 10 Time taken for tests: 0.013 seconds Complete requests: 100 Failed requests: 0 Total transferred: 15600 bytes HTML transferred: 1400 bytes Requests per second: 7478.31 [#/sec] (mean) Time per request: 1.337 [ms] (mean) Time per request: 0.134 [ms] (mean, across all concurrent requests) Transfer rate: 1139.27 [Kbytes/sec] received

There are no comments on this comment yet.