HEX
Server: Apache
System: Linux sg241.singhost.net 2.6.32-896.16.1.lve1.4.51.el6.x86_64 #1 SMP Wed Jan 17 13:19:23 EST 2018 x86_64
User: honghock (909)
PHP: 8.0.30
Disabled: passthru,system,shell_exec,show_source,exec,popen,proc_open
Upload Files
File: //usr/local/lib/php/tests/Cache_Lite/tests/readme
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)