https://github.com/k-phoen/rulerz-vs-expression
https://github.com/k-phoen/rulerz-vs-expression
Last synced: 26 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/k-phoen/rulerz-vs-expression
- Owner: K-Phoen
- Created: 2015-08-30T17:49:05.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-08-30T17:49:13.000Z (over 9 years ago)
- Last Synced: 2024-05-01T20:13:03.107Z (12 months ago)
- Language: PHP
- Size: 109 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
rulerz-vs-expression
====================Set of benchmarks used to compare the speed of
[K-Phoen/rulerz](https://github.com/K-Phoen/rulerz) and
[webmozart/expression](https://github.com/webmozart/expression).## Usage
Install the dependencies using composer:
```bash
composer.phar install
```And execute one of the file in the `src` directory:
```bash
php ./src/more_complex_rule.php
```**N.B.**: these benchmarks are NOT meant to be thorough. I just wanted to have
an idea of how bad rulerz would perform compared to webmozart/expression
(spoiler alert: the speed of both libraries are quite similar).