{
    "schema_version": 1,
    "license": "CC BY 4.0",
    "citation": "Kuzeyhan Demir, ASAMB, JSON vs PHP serialization for an internal round trip, measurement run 2026-07-22T15:23:56+00:00",
    "environment": {
        "generated_at": "2026-07-22T15:23:56+00:00",
        "php_version": "8.4.23",
        "php_sapi": "cli",
        "os": "Linux 4.18.0-553.85.1.el8_10.x86_64",
        "architecture": "x86_64",
        "cpu": "AMD EPYC-Rome Processor",
        "memory": "15.02 GiB host total",
        "opcache_cli": "0",
        "memory_limit": "1024M",
        "extensions": [
            "json",
            "openssl",
            "zlib",
            "mbstring",
            "pdo_sqlite"
        ],
        "timezone": "UTC",
        "clock": "hrtime(true)",
        "rounds": 7
    },
    "study": {
        "slug": "serialization-roundtrip",
        "iterations_per_sample": 55,
        "rounds": 7,
        "winner": "PHP serialize round trip",
        "slowest": "JSON round trip",
        "spread_percent": 76.58,
        "variants": {
            "PHP serialize round trip": {
                "median_ns_per_op": 425054.38,
                "p25_ns_per_op": 420631.06,
                "p75_ns_per_op": 429561.47,
                "ops_per_second": 2352.64,
                "samples_ns_per_op": [
                    420989.09,
                    528907.67,
                    428925.09,
                    420273.04,
                    430197.85,
                    413977.75,
                    425054.38
                ],
                "extra": {
                    "output_bytes": 106020
                }
            },
            "JSON round trip": {
                "median_ns_per_op": 750561,
                "p25_ns_per_op": 743848.93,
                "p75_ns_per_op": 861242.12,
                "ops_per_second": 1332.34,
                "samples_ns_per_op": [
                    752757.49,
                    1069925.93,
                    750561,
                    969726.75,
                    745351.02,
                    741937.18,
                    742346.84
                ],
                "extra": {
                    "output_bytes": 67457
                }
            }
        }
    }
}