File tree Expand file tree Collapse file tree 2 files changed +41
-1
lines changed
Expand file tree Collapse file tree 2 files changed +41
-1
lines changed Original file line number Diff line number Diff line change 1+ PHPCR Benchmarks
2+ ================
3+
4+ Benchmarking suite for PHPCR which uses the same bootstrapping process as the
5+ [ PHPCR-API-tests] ( https://github.com/phpcr/phpcr-api-tests ) .
6+
7+ Usage
8+ -----
9+
10+ Ensure that the PHPCR-API tests are working.
11+
12+ Include as a dev requirement:
13+
14+ ```` bash
15+ $ composer require " phpcr/phpcr-benchmarks"
16+ ````
17+
18+ Run:
19+
20+ ```` bash
21+ $ ./vendor/bin/phpbench ./vendor/phpcr/phpcr-benchmarks/benchmarks
22+ ````
23+
24+ With detailed report:
25+
26+ ```` bash
27+ $ ./vendor/bin/phpbench ./vendor/phpcr/phpcr-benchmarks/benchmarks \
28+ --report={" name" : " console_table" , " memory" : true}
29+ ````
30+
31+ With a filter:
32+
33+ ```` bash
34+ $ ./vendor/bin/phpbench ./vendor/phpcr/phpcr-benchmarks/benchmarks \
35+ --report=console_table
36+ --filter=benchInsert
37+ ````
38+
39+ For more information see the documentation for [ PHPBench] ( https://github.com/dantleech/phpbench ) .
40+
Original file line number Diff line number Diff line change 1515 },
1616 "autoload" : {
1717 "psr-4" : {
18- " PHPCR\B enchmark\" : " benchmarks"
18+ "PHPCR\\ Benchmark\ \ " : " benchmarks"
1919 }
2020 }
2121}
You can’t perform that action at this time.
0 commit comments