PHP Classes

File: benchmarks.txt

Recommend this page to a friend!
  Classes of Artur Graniszewski   PHP Multi-Server   benchmarks.txt   Download  
File: benchmarks.txt
Role: Auxiliary data
Content type: text/plain
Description: Benchmark tests
Class: PHP Multi-Server
HTTP Server written in pure PHP
Author: By
Last change:
Date: 12 years ago
Size: 728 bytes
 

Contents

Class file image Download
TWO SIMPLE STEPS TO CHECK phpMultiServer PERFORMANCE* * please create two different files: index.html and test.txt before starting this tests 1) HOW TO CHECK REGULAR PERFORMANCE: ------------------------------------ ab -c 8 -n 10000 http://127.0.0.1/ 2) HOW TO CHECK IF-MODIFIED-SINCE PERFORMANCE: ---------------------------------------------- ab -c 8 -n 10000 -H 'If-Modified-Since: Thu, 09 Jun 2011 09:40:04 GMT' http://127.0.0.1/test.txt please change the above modification date to a creation date of your own test.txt file. 3) HOW TO CHECK 40x ERROR PERFORMANCE: -------------------------------------- ab -c 8 -n 10000 -H 'If-Modified-Since: Thu, 09 Jun 2011 09:40:04 GMT' http://127.0.0.1/dummy.txt