Skip to content

Commit 6bd1753

Browse files
committed
Created a "jpbench" command shortcut to run the benchmark suite
1 parent 21af268 commit 6bd1753

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ composer install
7171

7272
Then, you can execute the benchmark script:
7373
```bash
74-
php ./src/benchmark.php [library]
74+
php jpbench [library]
7575
```
7676

7777
**[library]** may be one of the following:
@@ -85,7 +85,7 @@ php ./src/benchmark.php [library]
8585

8686
for example:
8787
```bash
88-
php ./src/benchmark.php blancks_fast-jsonpatch
88+
php jpbench blancks_fast-jsonpatch
8989
```
9090

9191

jpbench

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/usr/bin/env php
2+
<?php declare(strict_types=1);
3+
4+
require __DIR__ .'/src/benchmark.php';

0 commit comments

Comments
 (0)