| Server IP : 217.160.0.251 / Your IP : 216.73.216.128 Web Server : Apache System : Linux info 3.0 #1337 SMP Tue Jan 01 00:00:00 CEST 2000 all GNU/Linux User : u94981163 ( 8991765) PHP Version : 7.3.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /lib/php7.3/test/Cache_Lite/tests/ |
Upload File : |
Cache_Lite is perfs oriented. So before commiting, please bench your patch ! To bench Cache_Lite, I use the tool 'ab' (distributed with apache). (for example) /usr/sbin/ab -c 10 -n 1000 http://127.0.0.1/ [...] /Cache_Lite/tests/bench.php In the output of 'ab', most important things are : - Failed requests: (must be 0 ! If not, don't commit !) - Requests per second: XXX [#/sec] (mean) For testing if the cache is ok or not, you can use the script 'test.php', it will write if the cache has been hit or missed... Fabien (fab@php.net)