Skip to content

Commit 62e6b90

Browse files
committed
Create restapi branch
1 parent 13bda40 commit 62e6b90

File tree

6 files changed

+8
-13
lines changed

6 files changed

+8
-13
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
.idea/
22
vendor/
3-
3+
composer.lock

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@ It's benchmark source code for PHP 5.6.
1616

1717
You can find how we benchmark it [here](http://www.phpbenchmarks.com/en/benchmark-protocol).
1818

19-
## PHP 5.6.31: 108,285
20-
21-
Benchmark | Request | Rq/sec | Score
22-
--------- | ------- | ------ | -----
23-
[Hello World](http://www.phpbenchmarks.com/en/benchmark/apache-bench/php-5.6.html#benchmark-hello-world) | 0.1 ms | 10,076 | 94,988
24-
[Rest API](http://www.phpbenchmarks.com/en/benchmark/apache-bench/php-5.6.html#benchmark-rest) | 1.4 ms | 692 | 13,297
19+
Each benchmark type have their own branch :
20+
[Hello World](https://github.com/phpbenchmarks/php-5-6/tree/helloworld),
21+
[Blog](https://github.com/phpbenchmarks/php-5-6/tree/blog),
22+
[REST Api](https://github.com/phpbenchmarks/php-5-6/tree/restapi),
23+
[Small overload](https://github.com/phpbenchmarks/php-5-6/tree/smalloverload)
24+
and [Big overload](https://github.com/phpbenchmarks/php-5-6/tree/bigoverload).
2525

2626
[See all benchmark results](http://www.phpbenchmarks.com/en/benchmark/apache-bench/php-5.6.html)
2727

File renamed without changes.

helloworld.php

Lines changed: 0 additions & 5 deletions
This file was deleted.

rest.php renamed to index.php

File renamed without changes.

init_benchmark.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env bash
22

33
function init() {
4-
composer install --no-dev --optimize-autoloader
4+
composer install --no-dev --classmap-authoritative
55
[ "$?" != "0" ] && exit 1
66

77
return 0

0 commit comments

Comments
 (0)