Permalink
Browse files

Update README.md

  • Loading branch information...
gjerokrsteski committed Aug 2, 2018
1 parent 0812a24 commit f43d07e7f0f3852fbc9eee5b1fb9638cd3c6e8af
Showing with 33 additions and 29 deletions.
  1. +33 −29 README.md
@@ -14,6 +14,38 @@ the HTTP Responses back.
*PIMF micro framework* is responsible for managing the HTTP Resources using the HTTP request methods,
validation and handling the persistence interactions.



## Benchmark Results, over 19500 requests completed per second

[vagrant@gkrsteski php-reactor]$ loadtest http://10.0.49.227:5501/articles/10 -t 20 -c 20 --rps 1000
[Wed Feb 10 2016 12:24:47 GMT+0100 (CET)] INFO Requests: 0, requests per second: 0, mean latency: 0 ms
[Wed Feb 10 2016 12:24:52 GMT+0100 (CET)] INFO Requests: 4516, requests per second: 903, mean latency: 10 ms
[Wed Feb 10 2016 12:24:57 GMT+0100 (CET)] INFO Requests: 9515, requests per second: 1000, mean latency: 0 ms
[Wed Feb 10 2016 12:25:02 GMT+0100 (CET)] INFO Requests: 14515, requests per second: 1000, mean latency: 10 ms
[Wed Feb 10 2016 12:25:07 GMT+0100 (CET)] INFO
[Wed Feb 10 2016 12:25:07 GMT+0100 (CET)] INFO Target URL: http://10.0.49.227:5501/articles/10
[Wed Feb 10 2016 12:25:07 GMT+0100 (CET)] INFO Max time (s): 20
[Wed Feb 10 2016 12:25:07 GMT+0100 (CET)] INFO Concurrency level: 20
[Wed Feb 10 2016 12:25:07 GMT+0100 (CET)] INFO Agent: none
[Wed Feb 10 2016 12:25:07 GMT+0100 (CET)] INFO Requests per second: 1000
[Wed Feb 10 2016 12:25:07 GMT+0100 (CET)] INFO
[Wed Feb 10 2016 12:25:07 GMT+0100 (CET)] INFO Completed requests: 19512
[Wed Feb 10 2016 12:25:07 GMT+0100 (CET)] INFO Total errors: 0
[Wed Feb 10 2016 12:25:07 GMT+0100 (CET)] INFO Total time: 20.000516531000002 s
[Wed Feb 10 2016 12:25:07 GMT+0100 (CET)] INFO Requests per second: 976
[Wed Feb 10 2016 12:25:07 GMT+0100 (CET)] INFO Total time: 20.000516531000002 s
[Wed Feb 10 2016 12:25:07 GMT+0100 (CET)] INFO
[Wed Feb 10 2016 12:25:07 GMT+0100 (CET)] INFO Percentage of the requests served within a certain time
[Wed Feb 10 2016 12:25:07 GMT+0100 (CET)] INFO 50% 2 ms
[Wed Feb 10 2016 12:25:07 GMT+0100 (CET)] INFO 90% 9 ms
[Wed Feb 10 2016 12:25:07 GMT+0100 (CET)] INFO 95% 18 ms
[Wed Feb 10 2016 12:25:07 GMT+0100 (CET)] INFO 99% 30 ms
[Wed Feb 10 2016 12:25:07 GMT+0100 (CET)] INFO 100% 36 ms (longest request)




## Installation
1. clone this repository
1. run: `./init-app.sh`
@@ -59,42 +91,14 @@ DELETE | 404 (Not Found) or 405 (Method NOt Allowed)
```

## Benchmark Results, over 19500 requests completed per second

[vagrant@gkrsteski php-reactor]$ loadtest http://10.0.49.227:5501/articles/10 -t 20 -c 20 --rps 1000
[Wed Feb 10 2016 12:24:47 GMT+0100 (CET)] INFO Requests: 0, requests per second: 0, mean latency: 0 ms
[Wed Feb 10 2016 12:24:52 GMT+0100 (CET)] INFO Requests: 4516, requests per second: 903, mean latency: 10 ms
[Wed Feb 10 2016 12:24:57 GMT+0100 (CET)] INFO Requests: 9515, requests per second: 1000, mean latency: 0 ms
[Wed Feb 10 2016 12:25:02 GMT+0100 (CET)] INFO Requests: 14515, requests per second: 1000, mean latency: 10 ms
[Wed Feb 10 2016 12:25:07 GMT+0100 (CET)] INFO
[Wed Feb 10 2016 12:25:07 GMT+0100 (CET)] INFO Target URL: http://10.0.49.227:5501/articles/10
[Wed Feb 10 2016 12:25:07 GMT+0100 (CET)] INFO Max time (s): 20
[Wed Feb 10 2016 12:25:07 GMT+0100 (CET)] INFO Concurrency level: 20
[Wed Feb 10 2016 12:25:07 GMT+0100 (CET)] INFO Agent: none
[Wed Feb 10 2016 12:25:07 GMT+0100 (CET)] INFO Requests per second: 1000
[Wed Feb 10 2016 12:25:07 GMT+0100 (CET)] INFO
[Wed Feb 10 2016 12:25:07 GMT+0100 (CET)] INFO Completed requests: 19512
[Wed Feb 10 2016 12:25:07 GMT+0100 (CET)] INFO Total errors: 0
[Wed Feb 10 2016 12:25:07 GMT+0100 (CET)] INFO Total time: 20.000516531000002 s
[Wed Feb 10 2016 12:25:07 GMT+0100 (CET)] INFO Requests per second: 976
[Wed Feb 10 2016 12:25:07 GMT+0100 (CET)] INFO Total time: 20.000516531000002 s
[Wed Feb 10 2016 12:25:07 GMT+0100 (CET)] INFO
[Wed Feb 10 2016 12:25:07 GMT+0100 (CET)] INFO Percentage of the requests served within a certain time
[Wed Feb 10 2016 12:25:07 GMT+0100 (CET)] INFO 50% 2 ms
[Wed Feb 10 2016 12:25:07 GMT+0100 (CET)] INFO 90% 9 ms
[Wed Feb 10 2016 12:25:07 GMT+0100 (CET)] INFO 95% 18 ms
[Wed Feb 10 2016 12:25:07 GMT+0100 (CET)] INFO 99% 30 ms
[Wed Feb 10 2016 12:25:07 GMT+0100 (CET)] INFO 100% 36 ms (longest request)


## Run tests
Install a Composer to your project's root

php composer.phar require "codeception/codeception:*"
// or ...
composer require "codeception/codeception:*"

Execute tests
## Execute tests

php vendor/codeception/codeception/codecept run --colors
// or if want to see steps ...

0 comments on commit f43d07e

Please sign in to comment.