{
    "schema_version": 1,
    "license": "CC BY 4.0",
    "citation": "Kuzeyhan Demir, ASAMB, JSON decoding into arrays or objects in PHP, 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": "json-decoding-shape",
        "iterations_per_sample": 90,
        "rounds": 7,
        "winner": "Associative arrays",
        "slowest": "Objects",
        "spread_percent": 6.8,
        "variants": {
            "Associative arrays": {
                "median_ns_per_op": 562064.51,
                "p25_ns_per_op": 544184.27,
                "p75_ns_per_op": 576986.77,
                "ops_per_second": 1779.16,
                "samples_ns_per_op": [
                    573123.73,
                    541697.7,
                    634369.14,
                    524264.28,
                    580849.81,
                    562064.51,
                    546670.83
                ],
                "extra": []
            },
            "Objects": {
                "median_ns_per_op": 600277.53,
                "p25_ns_per_op": 584358.46,
                "p75_ns_per_op": 604448.87,
                "ops_per_second": 1665.9,
                "samples_ns_per_op": [
                    600277.53,
                    609928.89,
                    570830.31,
                    602806.4,
                    576520.9,
                    606091.33,
                    592196.01
                ],
                "extra": []
            }
        }
    }
}