ta2>)',
},
{
module => 'JSON::PP',
code_template => 'JSON::PP::encode_json(<data1>) eq JSON::PP::encode_json(<data2>)',
},
{
fcall_t
benchmark.
L<Data::Cmp> 0.006
L<Data::Cmp::Numeric> 0.006
L<Data::Cmp::StrOrNumeric> 0.006
L<JSON::PP> 2.27400_02
L<Data::Compare> 1.25
=head1 BENCHMARK PARTICIPANTS
=over
=item * Data::Cmp::
:StrOrNumeric::cmp_data(<data1>, <data2>)
=item * JSON::PP (perl_code)
Code template:
JSON::PP::encode_json(<data1>) eq JSON::PP::encode_json(<data2>)
=item * Data::Compare::Compare (perl_cod
dataset => "1k array of ints",
errors => 6.3e-06,
participant => "JSON::PP",
rate => 330,
samples => 20,
time => 3,
vs
{
dataset => "small arrays",
errors => 4e-08,
participant => "JSON::PP",
rate => 36000,
samples => 20,
time => 0.028,
{
dataset => "empty arrays",
errors => 3.3e-09,
participant => "JSON::PP",
rate => 128000,
samples => 20,
time => 0.00782,