Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jeroenvisser101/php-bench
Super simple benchmarking tool
https://github.com/jeroenvisser101/php-bench
Last synced: 19 days ago
JSON representation
Super simple benchmarking tool
- Host: GitHub
- URL: https://github.com/jeroenvisser101/php-bench
- Owner: jeroenvisser101
- License: mit
- Created: 2015-01-17T13:42:30.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2016-01-01T00:34:05.000Z (about 9 years ago)
- Last Synced: 2025-01-02T23:32:41.452Z (22 days ago)
- Language: PHP
- Size: 6.84 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PHP Benchmarks
This project aims to do nothing more than simple and easy benchmarking. I always
found benchmarking to be too much of a hassle, and guess the best one on my
knowledge instead. With this simple function, I can do a benchmark in under 2
minutes. That makes it *way* easier to benchmark your PHP code.## How to use
Usage is very simple. There's one function, `benchmark(string $name, callable
$fn, int $times = 1000000)`. Usage is as follows:``` php