Skip to content

Commit

Permalink
Modifications for Benchmark kit 4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
steevanb committed May 26, 2019
1 parent bc87cb1 commit 7800dd4
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .phpbenchmarks/AbstractComponentConfiguration.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public static function getBenchmarkType(): int
public static function getSourceCodeUrls(): array
{
return [
'serialization' => 'https://github.com/phpbenchmarks/php/blob/php_7.2_json-serialization-hello-world/public/index.php'
'jsonSerialization' => 'https://github.com/phpbenchmarks/php/blob/php_7.2_json-serialization-hello-world/public/index.php#L12'
];
}
}
File renamed without changes.
39 changes: 28 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,24 +4,41 @@
<a href="http://www.phpbenchmarks.com" target="_blank">www.phpbenchmarks.com</a>
</p>

## What is www.phpbenchmarks.com ?
## What is www.phpbenchmarks.com?

You will find lot of benchmarks for PHP frameworks and template engines.
You will find lot of benchmarks for PHP frameworks, template engines and JSON serializers on [phpbenchmarks.com](http://www.phpbenchmarks.com).

You can compare results between Apache Bench and Siege, and PHP 5.6 to 7.3.
Benchmarks results are available from PHP 5.6 to latest version.

## What is this repository ?
Our benchmarking protocol is available on [benchmarking protocol page](http://www.phpbenchmarks.com/en/documentation/benchmarking-protocol).

It's benchmark common code for PHP benchmarks.
## What is this repository?

Switch branch to select your PHP major version and benchmark you want to see.
It contains PHP installation `only`.
To reuse code between minor versions, features for benchmarks are not coded in this repository
but in [phpbenchmarks/php-common](https://github.com/phpbenchmarks/php-common) repository.

See all PHP benchmarked versions on [phpbenchmarks/php](https://github.com/phpbenchmarks/php).

You can find how we benchmark on [phpbenchmarks.com](http://www.phpbenchmarks.com/en/benchmark-protocol.html).
Switch branch to select version and benchmark you want to see.

## Benchmarks

You can find all PHP benchmarks results on [phpbenchmarks.com](http://www.phpbenchmarks.com/en/benchmark/php.html).
You can find PHP 7.2 benchmarks results on
[benchmarks results page](http://www.phpbenchmarks.com/en/benchmark/php/7.2).

See all PHP benchmarked versions on [select version page](http://www.phpbenchmarks.com/en/benchmark/php/version).

## Community

Go to [community page](http://www.phpbenchmarks.com/en/community) to see the Hall of fame, or download the benchmark kit to add your code!

## How version works?

We do not follow semantic version for this repository. Here is an explanation about our versioning system:

`W` PHP major version.

`X` PHP minor version.

`Y` PHP bugfix version.

Scores are too low ? Do not hesitate to create a pull request, and ask a new benchmark !
`Z` Benchmark type: `6` JSON serialization of Hello world, `7` Small JSON serialization, `8` Big JSON serialization.

0 comments on commit 7800dd4

Please sign in to comment.