Skip to content

Instantly share code, notes, and snippets.

@aycanirican
Created March 12, 2012 18:03
Show Gist options
  • Save aycanirican/2023676 to your computer and use it in GitHub Desktop.
Save aycanirican/2023676 to your computer and use it in GitHub Desktop.
dragonflybsd haskell libev binding Hello World.
% ab -n 10000 -c 10 http://127.0.0.1:8080/
This is ApacheBench, Version 2.0.41-dev <$Revision: 1.121.2.12 $> apache-2.0
Copyright (c) 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Copyright (c) 2006 The Apache Software Foundation, http://www.apache.org/
Benchmarking 127.0.0.1 (be patient)
Completed 1000 requests
Completed 2000 requests
Completed 3000 requests
Completed 4000 requests
Completed 5000 requests
Completed 6000 requests
Completed 7000 requests
Completed 8000 requests
Completed 9000 requests
Finished 10000 requests
Server Software:
Server Hostname: 127.0.0.1
Server Port: 8080
Document Path: /
Document Length: 15 bytes
Concurrency Level: 10
Time taken for tests: 0.671121 seconds
Complete requests: 10000
Failed requests: 0
Write errors: 0
Total transferred: 890000 bytes
HTML transferred: 150000 bytes
Requests per second: 14900.44 [#/sec] (mean)
Time per request: 0.671 [ms] (mean)
Time per request: 0.067 [ms] (mean, across all concurrent requests)
Transfer rate: 1294.85 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 0.1 0 5
Processing: 0 0 0.2 0 5
Waiting: 0 0 0.1 0 5
Total: 0 0 0.2 0 6
Percentage of the requests served within a certain time (ms)
50% 0
66% 0
75% 0
80% 0
90% 0
95% 0
98% 0
99% 1
100% 6 (longest request)
% curl http://127.0.0.1:8080
Hello, World!% % uname -a
DragonFly xxxxxxx 3.1-DEVELOPMENT DragonFly v3.1.0.299.g62f17-DEVELOPMENT #13: Mon Mar 12 12:39:42 EET 2012 root@xxxxxxx:/usr/obj/usr/src/sys/MYKERNELV4 x86_64
% dmesg | grep GHz
CPU: Pentium(R) Dual-Core CPU E6300 @ 2.80GHz (2799.48-MHz K8-class CPU)
@aycanirican
Copy link
Author

% ab -n 10000 -c10 http://192.168.1.100:8080/
This is ApacheBench, Version 2.0.41-dev <$Revision: 1.121.2.12 $> apache-2.0
Copyright (c) 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Copyright (c) 2006 The Apache Software Foundation, http://www.apache.org/

Benchmarking 192.168.1.100 (be patient)
Completed 1000 requests
Completed 2000 requests
Completed 3000 requests
Completed 4000 requests
Completed 5000 requests
Completed 6000 requests
Completed 7000 requests
Completed 8000 requests
Completed 9000 requests
Finished 10000 requests

Server Software:
Server Hostname: 192.168.1.100
Server Port: 8080

Document Path: /
Document Length: 15 bytes

Concurrency Level: 10
Time taken for tests: 0.795345 seconds
Complete requests: 10000
Failed requests: 0
Write errors: 0
Total transferred: 890089 bytes
HTML transferred: 150015 bytes
Requests per second: 12573.16 #/sec
Time per request: 0.795 ms
Time per request: 0.080 [ms](mean, across all concurrent requests)
Transfer rate: 1092.61 [Kbytes/sec] received

Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 0.1 0 5
Processing: 0 0 0.4 0 5
Waiting: 0 0 0.3 0 5
Total: 0 0 0.4 0 5

Percentage of the requests served within a certain time (ms)
50% 0
66% 0
75% 0
80% 0
90% 1
95% 1
98% 1
99% 1
100% 5 (longest request)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment