{"id":19292889,"url":"https://github.com/phpbenchmarks/benchmark-json-serialization-big-overload","last_synced_at":"2026-05-14T22:03:48.204Z","repository":{"id":57040235,"uuid":"186287920","full_name":"phpbenchmarks/benchmark-json-serialization-big-overload","owner":"phpbenchmarks","description":"Dependency for small JSON serialization benchmark","archived":false,"fork":false,"pushed_at":"2019-05-12T18:23:21.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-05T20:29:46.347Z","etag":null,"topics":["benchmark","php","serializer","symfony"],"latest_commit_sha":null,"homepage":"http://www.phpbenchmarks.com","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/phpbenchmarks.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-05-12T18:07:24.000Z","updated_at":"2019-11-28T21:25:56.000Z","dependencies_parsed_at":"2022-08-23T23:30:34.809Z","dependency_job_id":null,"html_url":"https://github.com/phpbenchmarks/benchmark-json-serialization-big-overload","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phpbenchmarks%2Fbenchmark-json-serialization-big-overload","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phpbenchmarks%2Fbenchmark-json-serialization-big-overload/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phpbenchmarks%2Fbenchmark-json-serialization-big-overload/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phpbenchmarks%2Fbenchmark-json-serialization-big-overload/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/phpbenchmarks","download_url":"https://codeload.github.com/phpbenchmarks/benchmark-json-serialization-big-overload/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240396342,"owners_count":19794671,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["benchmark","php","serializer","symfony"],"created_at":"2024-11-09T22:33:21.709Z","updated_at":"2026-05-14T22:03:43.171Z","avatar_url":"https://github.com/phpbenchmarks.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"http://www.phpbenchmarks.com/images/logo_github.png\"\u003e\n  \u003cbr\u003e\n  \u003ca href=\"http://www.phpbenchmarks.com\" target=\"_blank\"\u003ewww.phpbenchmarks.com\u003c/a\u003e\n\u003c/p\u003e\n\n## What is www.phpbenchmarks.com?\n\nYou will find lot of benchmarks for PHP frameworks and template engines.\n\nYou can compare results between Apache Bench and Siege, PHP 5.6 to 7.3 and versions of your favorites PHP code.\n\n## What is this repository?\n\nIt's dependency for [big JSON serialization](http://www.phpbenchmarks.com/en/documentation/benchmark/json-serialization-big-overload) benchmark.\n\nYou can find how we benchmark it on [benchmarking protocol page](http://www.phpbenchmarks.com/en/documentation/benchmarking-protocol).\n\n## Retrieve data to serialize\n\n```php\nuse PhpBenchmarks\\BenchmarkJsonSerializationBigOverload\\BenchmarkService;\n\nBenchmarkService::getDataToSerialize();\n```\n\n## Validation of serialization\n\nAs serialization don't need to write anything to response body,\nwhen we validate your serialization we add a parameter into query string\nto indicate you need to write serialization result into response body.\n\n```php\nuse PhpBenchmarks\\BenchmarkJsonSerializationBigOverload\\BenchmarkService;\n\n// Write serialized data to response body if isWriteToResponseBody() return true, to validate it.\nif (BenchmarkService::isWriteToResponseBody()) {\n    echo $serializer-\u003eserialize(BenchmarkService::getDataToSerialize());\n\n// Only serialize data if isWriteToResponseBody() return false, to benchmark it.\n} else {\n    $serializer-\u003eserialize(BenchmarkService::getDataToSerialize());\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphpbenchmarks%2Fbenchmark-json-serialization-big-overload","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphpbenchmarks%2Fbenchmark-json-serialization-big-overload","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphpbenchmarks%2Fbenchmark-json-serialization-big-overload/lists"}