Código CMD:
Eso te devolverá algo como Ver original
cd c:/ruta/hacia/apache/bin/ab -n 100 http://localhost/reduce.php
Código CMD:
Ver original
This is ApacheBench, Version 2.3 <$Revision: 655654 $> Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/ Licensed to The Apache Software Foundation, http://www.apache.org/ Benchmarking localhost (be patient).....done Server Software: Apache/2.2.11 Server Hostname: localhost Server Port: 80 Document Path: /reduce.php Document Length: 1104 bytes Concurrency Level: 1 Time taken for tests: 0.518 seconds Complete requests: 100 Failed requests: 0 Write errors: 0 Total transferred: 129200 bytes HTML transferred: 110400 bytes Requests per second: 193.05 [#/sec] (mean) Time per request: 5.180 [ms] (mean) Time per request: 5.180 [ms] (mean, across all concurrent requests) Transfer rate: 243.58 [Kbytes/sec] received Connection Times (ms) min mean[+/-sd] median max Connect: 0 1 0.5 1 1 Processing: 4 4 0.7 4 8 Waiting: 3 4 0.5 4 7 Total: 4 5 0.6 5 8 Percentage of the requests served within a certain time (ms) 50% 5 66% 5 75% 5 80% 5 90% 6 95% 6 98% 7 99% 8 100% 8 (longest request)
Edito: ¿Y como sería ese reto?