Skip to content

Commit 9ac02de

Browse files
committed
Updated README
1 parent 518067c commit 9ac02de

File tree

1 file changed

+19
-3
lines changed

1 file changed

+19
-3
lines changed

README.md

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,21 @@
11
PHP Parser Benchmarks
2-
==================
2+
=====================
3+
4+
Comparison of [nikic/php-parser](https://github.com/nikic/PHP-Parser) and the
5+
[Tolerant PHP Parser](https://github.com/Microsoft/tolerant-php-parser) when
6+
parsing the PHPUnit TestCase (version 5.0 for no particular reason other than
7+
it's huge).
8+
9+
Example result:
10+
11+
```
12+
./vendor/bin/phpbench report --uuid=latest --report='extends:aggregate,cols:[benchmark,revs,its,mem_peak,mode,rstdev]' --time-unit=milliseconds master ◼
13+
suite: 133ee179a3d6f266c949f9486ba0dc8c918fd348, date: 2018-05-03, stime: 22:26:30
14+
+---------------------+------+-----+-------------+----------+--------+
15+
| benchmark | revs | its | mem_peak | mode | rstdev |
16+
+---------------------+------+-----+-------------+----------+--------+
17+
| TolerantParserBench | 10 | 33 | 21,043,208b | 53.934ms | 3.37% |
18+
| PhpParserBench | 10 | 33 | 42,620,512b | 62.045ms | 5.27% |
19+
+---------------------+------+-----+-------------+----------+--------+
20+
```
321

4-
[![Build Status](https://travis-ci.org/phpbench/parser-benchmarks.svg?branch=master)](https://travis-ci.org/phpbench/parser-benchmarks)
5-
[![StyleCI](https://styleci.io/repos/<repo-id>/shield)](https://styleci.io/repos/<repo-id>)

0 commit comments

Comments
 (0)