Skip to content

Commit 3501359

Browse files
committed
Create restapi branch
1 parent 513d760 commit 3501359

File tree

7 files changed

+10
-16
lines changed

7 files changed

+10
-16
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
.idea/
22
vendor/
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 7.2.
1616

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

19-
## PHP 7.2.0: 145,360
20-
21-
Benchmark | Request | Rq/sec | Score
22-
--------- | ------- | ------ | -----
23-
[Hello World](http://www.phpbenchmarks.com/en/benchmark/apache-bench/php-7.2.html#benchmark-hello-world) | 0.1 ms | 9,524 | 94,654
24-
[Rest API](http://www.phpbenchmarks.com/en/benchmark/apache-bench/php-7.2.html#benchmark-rest) | 0.3 ms | 3,356 | 50,076
19+
Each benchmark type have their own branch :
20+
[Hello World](https://github.com/phpbenchmarks/php-7-2/tree/helloworld),
21+
[Blog](https://github.com/phpbenchmarks/php-7-2/tree/blog),
22+
[REST Api](https://github.com/phpbenchmarks/php-7-2/tree/restapi),
23+
[Small overload](https://github.com/phpbenchmarks/php-7-2/tree/smalloverload)
24+
and [Big overload](https://github.com/phpbenchmarks/php-7-2/tree/bigoverload).
2525

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

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "phpbenchmarks/php-7-1",
2+
"name": "phpbenchmarks/php-7-2",
33
"license": "proprietary",
44
"type": "project",
55
"autoload": {

composer.lock renamed to composer.lock.php7.2

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

helloworld.php

Lines changed: 0 additions & 7 deletions
This file was deleted.
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)