Skip to content

Commit 1d9e4e7

Browse files
committed
Small overload (json serializer) benchmark for Symfony JSON serializer 5.0.6
1 parent 6c619e0 commit 1d9e4e7

File tree

107 files changed

+427
-253
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

107 files changed

+427
-253
lines changed

.phpbenchmarks/config.yml

+10-10
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@ benchmark:
66
sourceCode:
77
entryPoint: public/index.php
88
urls:
9-
jsonSerialization: 'https://github.com/phpbenchmarks/symfony-json-serializer/blob/5.0.5_json-serialization-small-overload_0/public/index.php#L23'
10-
integerSerialization: 'https://github.com/phpbenchmarks/symfony-json-serializer/blob/5.0.5_json-serialization-small-overload_0/public/index.php#L23'
11-
floatSerialization: 'https://github.com/phpbenchmarks/symfony-json-serializer/blob/5.0.5_json-serialization-small-overload_0/public/index.php#L23'
12-
stringSerialization: 'https://github.com/phpbenchmarks/symfony-json-serializer/blob/5.0.5_json-serialization-small-overload_0/public/index.php#L23'
13-
booleanSerialization: 'https://github.com/phpbenchmarks/symfony-json-serializer/blob/5.0.5_json-serialization-small-overload_0/public/index.php#L23'
14-
nullSerialization: 'https://github.com/phpbenchmarks/symfony-json-serializer/blob/5.0.5_json-serialization-small-overload_0/public/index.php#L23'
15-
arraySerialization: 'https://github.com/phpbenchmarks/symfony-json-serializer/blob/5.0.5_json-serialization-small-overload_0/public/index.php#L23'
16-
objectSerialization: 'https://github.com/phpbenchmarks/symfony-json-serializer/blob/5.0.5_json-serialization-small-overload_0/src/Normalizer/ObjectToSerializeNormalizer.php'
17-
customSerializers: 'https://github.com/phpbenchmarks/symfony-json-serializer/blob/5.0.5_json-serialization-small-overload_0/src/Normalizer'
9+
jsonSerialization: 'https://github.com/phpbenchmarks/symfony-json-serializer/blob/5.0.6_json-serialization-small-overload_0/public/index.php#L27'
10+
integerSerialization: 'https://github.com/phpbenchmarks/symfony-json-serializer/blob/5.0.6_json-serialization-small-overload_0/public/index.php#L27'
11+
floatSerialization: 'https://github.com/phpbenchmarks/symfony-json-serializer/blob/5.0.6_json-serialization-small-overload_0/public/index.php#L27'
12+
stringSerialization: 'https://github.com/phpbenchmarks/symfony-json-serializer/blob/5.0.6_json-serialization-small-overload_0/public/index.php#L27'
13+
booleanSerialization: 'https://github.com/phpbenchmarks/symfony-json-serializer/blob/5.0.6_json-serialization-small-overload_0/public/index.php#L27'
14+
nullSerialization: 'https://github.com/phpbenchmarks/symfony-json-serializer/blob/5.0.6_json-serialization-small-overload_0/public/index.php#L27'
15+
arraySerialization: 'https://github.com/phpbenchmarks/symfony-json-serializer/blob/5.0.6_json-serialization-small-overload_0/public/index.php#L27'
16+
objectSerialization: 'https://github.com/phpbenchmarks/symfony-json-serializer/blob/5.0.6_json-serialization-small-overload_0/src/Normalizer/ObjectToSerializeNormalizer.php'
17+
customSerializers: 'https://github.com/phpbenchmarks/symfony-json-serializer/blob/5.0.6_json-serialization-small-overload_0/src/Normalizer'
1818
coreDependency:
1919
name: symfony/serializer
20-
version: 5.0.5
20+
version: 5.0.6

.phpbenchmarks/nginx/vhost.conf

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
server {
22
listen ____PORT____;
33
server_name ____HOST____;
4-
root ____INSTALLATION_PATH____/public;
4+
root ____INSTALLATION_PATH____/____ENTRY_POINT_FILE_PATH____;
55
location / {
6-
try_files $uri /index.php$is_args$args;
6+
try_files $uri /____ENTRY_POINT_FILE_NAME____$is_args$args;
77
}
8-
location ~ index.php(/|$) {
8+
location ~ ____ENTRY_POINT_FILE_NAME____(/|$) {
99
fastcgi_pass unix:/run/php/____PHP_FPM_SOCK____;
1010
fastcgi_split_path_info ^(.+.php)(/.*)$;
1111
include fastcgi_params;

.phpbenchmarks/php/7.2/composer.lock

+26-12
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.phpbenchmarks/php/7.3/composer.lock

+26-12
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.phpbenchmarks/php/7.4/composer.lock

+26-12
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)