Serialization to a big JSON

This benchmark must serialize a big dataset as fast as possible.
It has exaclty same features as Serialization to a small JSON benchmark who divide each data to serialize in this benchmark by 10.

Call GET
Serialization JSON Example
Serialization of integers 10,000 Example
Serialization of floats 10,000 Example
Serialization of strings 10,000 Example
Serialization of booleans 10,000 Example
Serialization of nulls values 10,000 Example
Serialization of arrays 1,000 Example
Serialization of objets 10,000 Example
Custom serializers 1,000 Example
Response JSON of 5 Mo Example

PHP

#1 PHP 8.0 30.1 ms
39,818
#2 PHP 7.4 29.5 ms
37,958
#3 PHP 7.3 34.7 ms
36,494
#4 PHP 7.0 33 ms
33,055
#5 PHP 7.2 41.7 ms
30,806

JSON serializers