ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/JSON-XS/XS.pm
(Generate patch)

Comparing JSON-XS/XS.pm (file contents):
Revision 1.86 by root, Wed Mar 19 03:17:38 2008 UTC vs.
Revision 1.87 by root, Wed Mar 19 13:25:26 2008 UTC

1111about three times faster on decoding, and over forty times faster 1111about three times faster on decoding, and over forty times faster
1112than JSON, even with pretty-printing and key sorting. It also compares 1112than JSON, even with pretty-printing and key sorting. It also compares
1113favourably to Storable for small amounts of data. 1113favourably to Storable for small amounts of data.
1114 1114
1115Using a longer test string (roughly 18KB, generated from Yahoo! Locals 1115Using a longer test string (roughly 18KB, generated from Yahoo! Locals
1116search API (http://nanoref.com/yahooapis/mgPdGg): 1116search API (http://dist.schmorp.de/misc/yahoo.json).
1117 1117
1118 module | encode | decode | 1118 module | encode | decode |
1119 -----------|------------|------------| 1119 -----------|------------|------------|
1120 JSON 1.x | 55.260 | 34.971 | 1120 JSON 1.x | 55.260 | 34.971 |
1121 JSON::DWIW | 825.228 | 1082.513 | 1121 JSON::DWIW | 825.228 | 1082.513 |

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines