Skip to content

BeQ/php-bench

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

97 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

php-bench

Console tools for benchmark PHP algorithms.

Alt php-bench

###Requirements:

  • PHP CLI 5.4+
  • Bash shell

###Installation:

git clone https://github.com/nafigator/php-bench.git .
git submodule init
git submodule update

###Usage:

Create copy of test executable and modify your local settings:

cp test-example test

Show available tests:

./test-list

Create test skeleton:

./test-new <Test name> [<Block count>]

Test name - name of new test class.
Block count - how much test blocks generate

Run test:

./test <Class>

Class - class name from Tests directory.

###Examples:

./test CloneVsNew
./test IncludeVsRequire

About

Tools for benchmark PHP algorithms.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 99.9%
  • Shell 0.1%