… | |
… | |
84 | |
84 | |
85 | package JSON::XS; |
85 | package JSON::XS; |
86 | |
86 | |
87 | use strict; |
87 | use strict; |
88 | |
88 | |
89 | our $VERSION = '1.52'; |
89 | our $VERSION = '1.53'; |
90 | our @ISA = qw(Exporter); |
90 | our @ISA = qw(Exporter); |
91 | |
91 | |
92 | our @EXPORT = qw(to_json from_json); |
92 | our @EXPORT = qw(to_json from_json); |
93 | |
93 | |
94 | use Exporter; |
94 | use Exporter; |
… | |
… | |
890 | It shows the number of encodes/decodes per second (JSON::XS uses |
890 | It shows the number of encodes/decodes per second (JSON::XS uses |
891 | the functional interface, while JSON::XS/2 uses the OO interface |
891 | the functional interface, while JSON::XS/2 uses the OO interface |
892 | with pretty-printing and hashkey sorting enabled, JSON::XS/3 enables |
892 | with pretty-printing and hashkey sorting enabled, JSON::XS/3 enables |
893 | shrink). Higher is better: |
893 | shrink). Higher is better: |
894 | |
894 | |
895 | Storable | 15779.925 | 14169.946 | |
|
|
896 | -----------+------------+------------+ |
|
|
897 | module | encode | decode | |
895 | module | encode | decode | |
898 | -----------|------------|------------| |
896 | -----------|------------|------------| |
899 | JSON | 4990.842 | 4088.813 | |
897 | JSON | 4990.842 | 4088.813 | |
900 | JSON::DWIW | 51653.990 | 71575.154 | |
898 | JSON::DWIW | 51653.990 | 71575.154 | |
901 | JSON::PC | 65948.176 | 74631.744 | |
899 | JSON::PC | 65948.176 | 74631.744 | |