From 64e6534ae9291e9fff2c734ed468d5bc7dc589c1 Mon Sep 17 00:00:00 2001 From: Steevan BARBOYON Date: Sat, 28 Mar 2020 12:41:49 +0100 Subject: [PATCH] Big overload (json serializer) benchmark for Symfony JSON serializer 5.0.5 --- .phpbenchmarks/config.yml | 20 ++++++++++---------- .phpbenchmarks/php/7.2/composer.lock | 26 ++++++++++++++++++++------ .phpbenchmarks/php/7.3/composer.lock | 26 ++++++++++++++++++++------ .phpbenchmarks/php/7.4/composer.lock | 26 ++++++++++++++++++++------ composer.json | 2 +- 5 files changed, 71 insertions(+), 29 deletions(-) diff --git a/.phpbenchmarks/config.yml b/.phpbenchmarks/config.yml index 0106f7a..d56a91f 100644 --- a/.phpbenchmarks/config.yml +++ b/.phpbenchmarks/config.yml @@ -6,15 +6,15 @@ benchmark: sourceCode: entryPoint: public/index.php urls: - jsonSerialization: 'https://github.com/phpbenchmarks/symfony-json-serializer/blob/5.0.4_json-serialization-big-overload_0/public/index.php#L23' - integerSerialization: 'https://github.com/phpbenchmarks/symfony-json-serializer/blob/5.0.4_json-serialization-big-overload_0/public/index.php#L23' - floatSerialization: 'https://github.com/phpbenchmarks/symfony-json-serializer/blob/5.0.4_json-serialization-big-overload_0/public/index.php#L23' - stringSerialization: 'https://github.com/phpbenchmarks/symfony-json-serializer/blob/5.0.4_json-serialization-big-overload_0/public/index.php#L23' - booleanSerialization: 'https://github.com/phpbenchmarks/symfony-json-serializer/blob/5.0.4_json-serialization-big-overload_0/public/index.php#L23' - nullSerialization: 'https://github.com/phpbenchmarks/symfony-json-serializer/blob/5.0.4_json-serialization-big-overload_0/public/index.php#L23' - arraySerialization: 'https://github.com/phpbenchmarks/symfony-json-serializer/blob/5.0.4_json-serialization-big-overload_0/public/index.php#L23' - objectSerialization: 'https://github.com/phpbenchmarks/symfony-json-serializer/blob/5.0.4_json-serialization-big-overload_0/src/Normalizer/ObjectToSerializeNormalizer.php' - customSerializers: 'https://github.com/phpbenchmarks/symfony-json-serializer/blob/5.0.4_json-serialization-big-overload_0/src/Normalizer' + jsonSerialization: 'https://github.com/phpbenchmarks/symfony-json-serializer/blob/5.0.5_json-serialization-big-overload_0/public/index.php#L23' + integerSerialization: 'https://github.com/phpbenchmarks/symfony-json-serializer/blob/5.0.5_json-serialization-big-overload_0/public/index.php#L23' + floatSerialization: 'https://github.com/phpbenchmarks/symfony-json-serializer/blob/5.0.5_json-serialization-big-overload_0/public/index.php#L23' + stringSerialization: 'https://github.com/phpbenchmarks/symfony-json-serializer/blob/5.0.5_json-serialization-big-overload_0/public/index.php#L23' + booleanSerialization: 'https://github.com/phpbenchmarks/symfony-json-serializer/blob/5.0.5_json-serialization-big-overload_0/public/index.php#L23' + nullSerialization: 'https://github.com/phpbenchmarks/symfony-json-serializer/blob/5.0.5_json-serialization-big-overload_0/public/index.php#L23' + arraySerialization: 'https://github.com/phpbenchmarks/symfony-json-serializer/blob/5.0.5_json-serialization-big-overload_0/public/index.php#L23' + objectSerialization: 'https://github.com/phpbenchmarks/symfony-json-serializer/blob/5.0.5_json-serialization-big-overload_0/src/Normalizer/ObjectToSerializeNormalizer.php' + customSerializers: 'https://github.com/phpbenchmarks/symfony-json-serializer/blob/5.0.5_json-serialization-big-overload_0/src/Normalizer' coreDependency: name: symfony/serializer - version: 5.0.4 + version: 5.0.5 diff --git a/.phpbenchmarks/php/7.2/composer.lock b/.phpbenchmarks/php/7.2/composer.lock index e04b9ab..b52b654 100644 --- a/.phpbenchmarks/php/7.2/composer.lock +++ b/.phpbenchmarks/php/7.2/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "fe198b5bedc1712b9061a613a0b59bcc", + "content-hash": "ff8042177bdb90ab01b231415c6b2993", "packages": [ { "name": "phpbenchmarks/benchmark-json-serialization-big-overload", @@ -110,16 +110,16 @@ }, { "name": "symfony/serializer", - "version": "v5.0.4", + "version": "v5.0.5", "source": { "type": "git", "url": "https://github.com/symfony/serializer.git", - "reference": "a76fc03e125719ef4ce18522b2347bf103b698d0" + "reference": "4411e7356beda717880da28cdbd32b33c52bb894" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/serializer/zipball/a76fc03e125719ef4ce18522b2347bf103b698d0", - "reference": "a76fc03e125719ef4ce18522b2347bf103b698d0", + "url": "https://api.github.com/repos/symfony/serializer/zipball/4411e7356beda717880da28cdbd32b33c52bb894", + "reference": "4411e7356beda717880da28cdbd32b33c52bb894", "shasum": "" }, "require": { @@ -188,7 +188,21 @@ ], "description": "Symfony Serializer Component", "homepage": "https://symfony.com", - "time": "2020-01-08T17:33:29+00:00" + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2020-02-29T10:07:09+00:00" } ], "packages-dev": [], diff --git a/.phpbenchmarks/php/7.3/composer.lock b/.phpbenchmarks/php/7.3/composer.lock index e04b9ab..b52b654 100644 --- a/.phpbenchmarks/php/7.3/composer.lock +++ b/.phpbenchmarks/php/7.3/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "fe198b5bedc1712b9061a613a0b59bcc", + "content-hash": "ff8042177bdb90ab01b231415c6b2993", "packages": [ { "name": "phpbenchmarks/benchmark-json-serialization-big-overload", @@ -110,16 +110,16 @@ }, { "name": "symfony/serializer", - "version": "v5.0.4", + "version": "v5.0.5", "source": { "type": "git", "url": "https://github.com/symfony/serializer.git", - "reference": "a76fc03e125719ef4ce18522b2347bf103b698d0" + "reference": "4411e7356beda717880da28cdbd32b33c52bb894" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/serializer/zipball/a76fc03e125719ef4ce18522b2347bf103b698d0", - "reference": "a76fc03e125719ef4ce18522b2347bf103b698d0", + "url": "https://api.github.com/repos/symfony/serializer/zipball/4411e7356beda717880da28cdbd32b33c52bb894", + "reference": "4411e7356beda717880da28cdbd32b33c52bb894", "shasum": "" }, "require": { @@ -188,7 +188,21 @@ ], "description": "Symfony Serializer Component", "homepage": "https://symfony.com", - "time": "2020-01-08T17:33:29+00:00" + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2020-02-29T10:07:09+00:00" } ], "packages-dev": [], diff --git a/.phpbenchmarks/php/7.4/composer.lock b/.phpbenchmarks/php/7.4/composer.lock index e04b9ab..b52b654 100644 --- a/.phpbenchmarks/php/7.4/composer.lock +++ b/.phpbenchmarks/php/7.4/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "fe198b5bedc1712b9061a613a0b59bcc", + "content-hash": "ff8042177bdb90ab01b231415c6b2993", "packages": [ { "name": "phpbenchmarks/benchmark-json-serialization-big-overload", @@ -110,16 +110,16 @@ }, { "name": "symfony/serializer", - "version": "v5.0.4", + "version": "v5.0.5", "source": { "type": "git", "url": "https://github.com/symfony/serializer.git", - "reference": "a76fc03e125719ef4ce18522b2347bf103b698d0" + "reference": "4411e7356beda717880da28cdbd32b33c52bb894" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/serializer/zipball/a76fc03e125719ef4ce18522b2347bf103b698d0", - "reference": "a76fc03e125719ef4ce18522b2347bf103b698d0", + "url": "https://api.github.com/repos/symfony/serializer/zipball/4411e7356beda717880da28cdbd32b33c52bb894", + "reference": "4411e7356beda717880da28cdbd32b33c52bb894", "shasum": "" }, "require": { @@ -188,7 +188,21 @@ ], "description": "Symfony Serializer Component", "homepage": "https://symfony.com", - "time": "2020-01-08T17:33:29+00:00" + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2020-02-29T10:07:09+00:00" } ], "packages-dev": [], diff --git a/composer.json b/composer.json index 44aa522..701ee28 100644 --- a/composer.json +++ b/composer.json @@ -3,7 +3,7 @@ "license": "proprietary", "require": { "php": "^7.2", - "symfony/serializer": "5.0.4", + "symfony/serializer": "5.0.5", "phpbenchmarks/benchmark-json-serialization-big-overload": "1.0.0" }, "autoload": {