Permalink
Browse files

Add benchmark graph.

  • Loading branch information...
fukamachi committed Mar 5, 2015
1 parent 107090d commit 41114db3197b568f9a62686f2d9e8184a4a2c8ee
Showing with 46 additions and 0 deletions.
  1. +46 −0 README.markdown
  2. BIN images/benchmark.png
View
@@ -8,6 +8,12 @@ Dexador is yet another HTTP client for Common Lisp with neat APIs and connection
This software is still ALPHA quality. The APIs will be likely to change.
## Is it fast?
![Benchmark graph](images/benchmark.png)
See [Benchmark](#benchmark) for the detail.
## Usage
```common-lisp
@@ -166,6 +172,46 @@ Send an HTTP request to `uri`.
stream verbose)
```
## Benchmark
![Benchmark graph](images/benchmark.png)
* Server
* Sakura VPS 1GB
* nginx 1.2.7, KeepAlive On
* Client
* MacBook Pro OS X Yosemite (CPU: 3GHz Intel Core i7, Memory: 8GB)
* SBCL 1.2.9
* Downloads an HTML file (181 bytes).
### Drakma
```
(time (dotimes (i 30) (drakma:http-request "http://files.8arrow.org/181B.html")))
Evaluation took:
1.012 seconds of real time
0.174742 seconds of total run time (0.148141 user, 0.026601 system)
17.29% CPU
1,683 forms interpreted
500 lambdas converted
3,027,928,949 processor cycles
29,416,656 bytes consed
```
### Dexador
```
(time (dotimes (i 30) (dex:get "http://files.8arrow.org/181B.html")))
Evaluation took:
0.499 seconds of real time
0.028057 seconds of total run time (0.019234 user, 0.008823 system)
5.61% CPU
56 forms interpreted
16 lambdas converted
1,494,851,690 processor cycles
1,472,992 bytes consed
```
## Author
* Eitaro Fukamachi (e.arrows@gmail.com)
View
BIN +82.5 KB images/benchmark.png
Binary file not shown.

0 comments on commit 41114db

Please sign in to comment.