home *** CD-ROM | disk | FTP | other *** search
/ Enter 2004 June / ENTER.ISO / files / xampp-win32-1.4.5-installer.exe / xampp / readme < prev    next >
Encoding:
Text File  |  2004-03-24  |  545 b   |  17 lines

  1. Cache_Lite is perfs oriented. So before commiting, please bench your patch !
  2.  
  3. To bench Cache_Lite, I use the tool 'ab' (distributed with apache).
  4.  
  5. (for example)
  6. /usr/sbin/ab -c 10 -n 1000 http://127.0.0.1/ [...] /Cache_Lite/tests/bench.php
  7.  
  8. In the output of 'ab', most important things are :
  9. - Failed requests: (must be 0 ! If not, don't commit !)
  10. - Requests per second:    XXX [#/sec] (mean)
  11.  
  12.  
  13. For testing if the cache is ok or not, you can use the script 'test.php', it 
  14. will write if the cache has been hit or missed...
  15.  
  16.  
  17. Fabien (fab@php.net)