Is this a good Benchmark? |
Just to know your opinion, without any other clue ...
CI3 on a LMDE Mint Intel i5 8Gb machine. thanks. Benchmarking clinicadecot.org (be patient) Finished 4484 requests Server Software: Apache Server Hostname: clinicadecot.org Server Port: 443 SSL/TLS Protocol: TLSv1.2,ECDHE-RSA-AES256-GCM-SHA384,1024,256 Document Path: /citas Document Length: 1 bytes Concurrency Level: 10 Time taken for tests: 30.004 seconds Complete requests: 4484 Failed requests: 0 Non-2xx responses: 4484 Total transferred: 2641076 bytes HTML transferred: 4484 bytes Requests per second: 149.45 [#/sec] (mean) Time per request: 66.913 [ms] (mean) Time per request: 6.691 [ms] (mean, across all concurrent requests) Transfer rate: 85.96 [Kbytes/sec] received Connection Times (ms) min mean[+/-sd] median max Connect: 6 21 13.1 17 69 Processing: 20 45 22.5 42 461 Waiting: 20 45 22.5 42 461 Total: 33 67 27.3 61 480 Percentage of the requests served within a certain time (ms) 50% 61 66% 71 75% 78 80% 82 90% 92 95% 101 98% 112 99% 121 100% 480 (longest request)
i guess it depends
is this just the welcome controller or is there any business logic involved ? (11-10-2015, 12:57 AM)sintakonte Wrote: i guess it depends Thank you for your reply !!! The controller handles the appointments list of a medical office. It makes 7 DB queries (3 more queries are cached), extends DS_Controller and instantiates 3 classes. DS_Controller instantiates 7 other classes making services available. Those services are out of the application folder and I make them available through Composer autoload (psr-4). What do you think? Best regards.
its absolutely fine
95% of your requests are nearly below 100ms - you shouldn't concerned about performance issues ![]() (11-09-2015, 05:14 PM)portaflex Wrote: Complete requests: 4484 This may indicate that you have a configuration issue in your .htaccess file (or however you are rewriting your URLs), or some other issue. A normal response would be in the 2xx range, which is why the benchmark is listing the number of Non-2xx responses. One cause for something like this is a rewrite rule ending in something like the following: Code: [R=301,L] This sends a 301 "Moved Permanently" message to the client. While this is appropriate for certain types of rewrite rules, it shouldn't be used for all of them. It's also possible that this could be corrected by simply updating the benchmark itself to use a different URL. Another possibility is simply that the server is responding with 304 "Not Modified", but it would be strange for a benchmark to use a cache for the entire test. So, while the benchmark indicates that your response times are OK, it may also be indicating a configuration issue.
Thank you very much for your review, Mat.
This is my .htaccess: Code: RewriteEngine On And this is my routes.php Code: $route['default_controller'] = "inicio"; Again, thanks!!
This is the ab output with the command: " ~ $ ab -n 1000 -c 10 -v2 https://clinicadecot.org/citas "
The -v2 gives more information. This is the ab output: Code: Server Software: Apache And this is one of the warnings: Code: WARNING: Response code not 2xx (302) Thank you.
Well, this is a little embarrassing. I found the issue. Since I had the auth system on, I was not querying the page "citas" but the "login" page. This is the real result of the benchmark:
Code: Server Software: Apache Not so good, I'm afraid. ![]()
Honestly, with that many failed requests, I'd expect that something shut down your test, or that there's a significant configuration issue with the server. If you're running the test from a remote machine over the network, I wouldn't be surprised if some network security software decided the test was an attack and stopped responding to your client machine for the remainder of the test.
On the other hand, since your previous test was returning nothing more than a 302, the response times which seemed OK when receiving content do seem more problematic. I'm not sure, though, what kind of failure would result in the longest request taking only 262ms, unless it's only counting the successful responses in that last listing. |
Welcome Guest, Not a member yet? Register Sign In |