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

Comparing JSON-XS/eg/bench (file contents):
Revision 1.17 by root, Wed Dec 5 11:37:27 2007 UTC vs.
Revision 1.18 by root, Wed Mar 19 04:08:22 2008 UTC

38 38
39local $/; 39local $/;
40$json = <>; 40$json = <>;
41 41
42# fix syck-brokenised stuff 42# fix syck-brokenised stuff
43$json = JSON::XS->new->ascii(1)->encode (JSON::Syck::Load $json); 43#$json = JSON::XS->new->ascii(1)->encode (JSON::Syck::Load $json);
44 44
45#srand 0; $json = JSON::XS->new->utf8(1)->ascii(0)->encode ([join "", map +(chr rand 255), 0..2047]); 45#srand 0; $json = JSON::XS->new->utf8(1)->ascii(0)->encode ([join "", map +(chr rand 255), 0..2047]);
46 46
47#if (1) { 47#if (1) {
48# use Storable; 48# use Storable;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines