@@ -36,10 +36,11 @@ You need to put these files in one directory: `bench.php`, `common.inc`, `php5.i
36
36
37
37
Command:
38
38
```
39
- Usage: bench.php [-h|--help] [-x|--debug] [-J|--print-json] [-M|--print-machine] [-d|--dont-recalc] [-D|--dumb-test-print] [-L|--list-tests] [-I|--system-info] [-S|--do-not-task-set] [-m|--memory-limit=130] [-t|--time-limit=600] [-T|--run-test=name1 ...]
39
+ Usage: bench.php [-h|--help] [-x|--debug] [-C|--dont-use-colors] [- J|--print-json] [-M|--print-machine] [-d|--dont-recalc] [-D|--dumb-test-print] [-L|--list-tests] [-I|--system-info] [-S|--do-not-task-set] [-m|--memory-limit=130] [-t|--time-limit=600] [-T|--run-test=name1 ...]
40
40
41
41
-h|--help - print this help and exit
42
42
-x|--debug - enable debug mode, raise output level
43
+ -C|--dont-use-colors - disable printing html-span or color sequences for capable terminal: xterm, *-color, *-256color. And not in JSON/machine mode.
43
44
-J|--print-json - enable printing only in JSON format, useful for automated tests. disables print-machine.
44
45
-M|--print-machine - enable printing only in machine parsable format, useful for automated tests. disables print-json.
45
46
-d|--dont-recalc - do not recalculate test times / operations count even if memory of execution time limits are low
@@ -59,8 +60,9 @@ env PHP_MEMORY_LIMIT=64 PHP_TIME_LIMIT=30 php bench.php
59
60
60
61
Available variables:
61
62
62
- - PHP_TIME_LIMIT=<Секунды >
63
+ - PHP_TIME_LIMIT=<Seconds >
63
64
- PHP_DEBUG_MODE=0/1
65
+ - DONT_USE_COLORS=0/1
64
66
- PRINT_JSON=0/1
65
67
- PRINT_MACHINE=0/1
66
68
- PHP_MEMORY_LIMIT=<Мб>
@@ -88,6 +90,7 @@ Available options:
88
90
89
91
- time_limit=Секунды
90
92
- debug_mode=0/1
93
+ - dont_use_colors=0/1
91
94
- print_json=0/1
92
95
- print_machine=0/1
93
96
- memory_limit=Мб
@@ -244,3 +247,8 @@ TEST_NAME: SECONDS, OP/SEC, OP/SEC/MHz, MEMORY
244
247
33_phpinfo_generate: 3.6759581565857, 2720.3791702809, 0.75566088063359, 4194304
245
248
TOTAL: 7.0567882061005, 284832.12777484, 79.120035493011
246
249
```
250
+
251
+ ### In web-browser
252
+
253
+ Link like: http://sergey.home.lan/bench/bench.php?system_info=1
254
+ ![ System information] ( browser.png " System information ")
0 commit comments