--- JSON-XS/XS.pm 2007/06/11 02:58:10 1.39 +++ JSON-XS/XS.pm 2007/06/11 03:42:57 1.40 @@ -88,7 +88,7 @@ use strict; BEGIN { - our $VERSION = '1.23'; + our $VERSION = '1.24'; our @ISA = qw(Exporter); our @EXPORT = qw(to_json from_json objToJson jsonToObj); @@ -653,13 +653,13 @@ module | encode | decode | -----------|------------|------------| JSON | 7645.468 | 4208.613 | - JSON::DWIW | 68534.379 | 79437.576 | + JSON::DWIW | 40721.398 | 77101.176 | JSON::PC | 65948.176 | 78251.940 | - JSON::Syck | 23379.621 | 28416.694 | + JSON::Syck | 22844.793 | 26479.192 | JSON::XS | 388361.481 | 199728.762 | JSON::XS/2 | 218453.333 | 192399.266 | JSON::XS/3 | 338250.323 | 192399.266 | - Storable | 15732.573 | 28571.553 | + Storable | 15779.925 | 14169.946 | -----------+------------+------------+ That is, JSON::XS is about five times faster than JSON::DWIW on encoding, @@ -673,16 +673,17 @@ module | encode | decode | -----------|------------|------------| JSON | 254.685 | 37.665 | - JSON::DWIW | 1014.244 | 1087.678 | + JSON::DWIW | 843.343 | 1049.731 | JSON::PC | 3602.116 | 2307.352 | - JSON::Syck | 558.035 | 776.263 | - JSON::XS | 5747.196 | 3543.684 | - JSON::XS/2 | 3968.121 | 3589.170 | - JSON::XS/3 | 6105.246 | 3561.134 | - Storable | 4456.337 | 5320.020 | + JSON::Syck | 505.107 | 787.899 | + JSON::XS | 5747.196 | 3690.220 | + JSON::XS/2 | 3968.121 | 3676.634 | + JSON::XS/3 | 6105.246 | 3662.508 | + Storable | 4417.337 | 5285.161 | -----------+------------+------------+ -Again, JSON::XS leads by far. +Again, JSON::XS leads by far (except for Storable which non-surprisingly +decodes faster). On large strings containing lots of high unicode characters, some modules (such as JSON::PC) seem to decode faster than JSON::XS, but the result