Skip to content
This repository
Newer
Older
100644 141 lines (131 sloc) 4.005 kb
924ea543 »
2011-01-21 Initial commit
1 name: aeson
54a3ae31 »
2011-05-11 Bump version, and performance-dependent version of attoparsec needed
2 version: 0.3.2.6
924ea543 »
2011-01-21 Initial commit
3 license: BSD3
4 license-file: LICENSE
5 category: Text, Web, JSON
6 copyright: Copyright 2011 MailRank, Inc.
7 author: Bryan O'Sullivan <bos@mailrank.com>
8 maintainer: Bryan O'Sullivan <bos@mailrank.com>
9 stability: experimental
10 tested-with: GHC == 6.12.3
047ca3e2 »
2011-05-11 Update 32-bit GHC 6.12.3 performance
11 synopsis: Fast JSON parsing and encoding
924ea543 »
2011-01-21 Initial commit
12 cabal-version: >= 1.8
13 homepage: http://github.com/mailrank/aeson
14 bug-reports: http://github.com/mailrank/aeson/issues
15 build-type: Simple
16 description:
047ca3e2 »
2011-05-11 Update 32-bit GHC 6.12.3 performance
17 A JSON parsing and encoding library optimized for ease of use
e3982d39 »
2011-01-25 More docs
18 and high performance.
19 .
047ca3e2 »
2011-05-11 Update 32-bit GHC 6.12.3 performance
20 Parsing performance on a late 2010 MacBook Pro (2.66GHz Core i7),
21 for mostly-English tweets from Twitter's JSON search API:
e3982d39 »
2011-01-25 More docs
22 .
047ca3e2 »
2011-05-11 Update 32-bit GHC 6.12.3 performance
23 * 0.8 KB, 32-bit GHC 6.12.3: 29945 msg\/sec (24.4 MB\/sec)
e3982d39 »
2011-01-25 More docs
24 .
047ca3e2 »
2011-05-11 Update 32-bit GHC 6.12.3 performance
25 * 0.8 KB, 64-bit GHC 7.0.3: 29280 msg\/sec (23.8 MB\/sec)
e3982d39 »
2011-01-25 More docs
26 .
047ca3e2 »
2011-05-11 Update 32-bit GHC 6.12.3 performance
27 * 6.4 KB, 32-bit GHC 6.12.3: 6684 msg\/sec (42.0 MB\/sec)
e3982d39 »
2011-01-25 More docs
28 .
047ca3e2 »
2011-05-11 Update 32-bit GHC 6.12.3 performance
29 * 6.4 KB, 64-bit GHC 7.0.3: 5893 msg\/sec (37.1 MB\/sec)
30 .
31 * 11.8 KB, 32-bit GHC 6.12.3: 3610 msg\/sec (41.5 MB\/sec)
32 .
33 * 11.8 KB, 64-bit GHC 7.0.3: 3059 msg\/sec (35.2 MB\/sec)
34 .
35 * 31.2 KB, 32-bit GHC 6.12.3: 1306 msg\/sec (39.8 MB\/sec)
36 .
37 * 31.2 KB, 64-bit GHC 7.0.3: 1050 msg\/sec (32.0 MB\/sec)
38 .
39 * 61.5 KB, 32-bit GHC 6.12.3: 594 msg\/sec (35.7 MB\/sec)
40 .
41 * 61.5 KB, 64-bit GHC 7.0.3: 505 msg\/sec (30.3 MB\/sec)
cb78de05 »
2011-01-27 Update benchmark results
42 .
43 Handling heavily-escaped text is a little more work. Here is
44 parsing performance with Japanese tweets, where much of the text
047ca3e2 »
2011-05-11 Update 32-bit GHC 6.12.3 performance
45 is entirely Unicode-escaped.
cb78de05 »
2011-01-27 Update benchmark results
46 .
047ca3e2 »
2011-05-11 Update 32-bit GHC 6.12.3 performance
47 * 14.6 KB, 32-bit GHC 6.12.3: 2257 msg\/sec (32.2 MB\/sec)
cb78de05 »
2011-01-27 Update benchmark results
48 .
047ca3e2 »
2011-05-11 Update 32-bit GHC 6.12.3 performance
49 * 14.6 KB, 64-bit GHC 7.0.3: 1931 msg\/sec (27.6 MB\/sec)
50 .
51 * 44.1 KB, 32-bit GHC 6.12.3: 697 msg\/sec (30.0 MB\/sec)
52 .
53 * 44.1 KB, 64-bit GHC 7.0.3: 611 msg\/sec (26.3 MB\/sec)
54 .
55 * 82.9 KB, 32-bit GHC 6.12.3: 368 msg\/sec (29.8 MB\/sec)
56 .
57 * 82.9 KB, 64-bit GHC 7.0.3: 322 msg\/sec (26.0 MB\/sec)
e3982d39 »
2011-01-25 More docs
58 .
59 Encoding performance on the same machine and data:
60 .
636dd416 »
2011-03-21 Bump version, and include happy new performance numbers.
61 * English, 854 bytes: 43439 msg\/sec (35.4 MB/sec)
e3982d39 »
2011-01-25 More docs
62 .
636dd416 »
2011-03-21 Bump version, and include happy new performance numbers.
63 * English, 6.4 KB: 7127 msg\/sec (44.8 MB/sec)
e3982d39 »
2011-01-25 More docs
64 .
636dd416 »
2011-03-21 Bump version, and include happy new performance numbers.
65 * Engish, 61.5 KB: 765 msg\/sec (46.0 MB/sec)
e3982d39 »
2011-01-25 More docs
66 .
636dd416 »
2011-03-21 Bump version, and include happy new performance numbers.
67 * Japanese, 14.6 KB: 4727 msg\/sec (67.5 MB/sec)
68 .
69 * Japanese, 44.1 KB: 1505 msg\/sec (64.8 MB/sec)
70 .
e3982d39 »
2011-01-25 More docs
71 (A note on naming: in Greek mythology, Aeson was the father of Jason.)
72
924ea543 »
2011-01-21 Initial commit
73 extra-source-files:
74 README.markdown
bf72444c »
2011-03-21 Fix missed rename
75 benchmarks/AesonEncode.hs
3568e5ef »
2011-01-26 More benchmarkery: try out the json library.
76 benchmarks/AesonParse.hs
77 benchmarks/JsonParse.hs
1dc9a1ea »
2011-02-25 Add more benchmark data
78 benchmarks/Makefile
3568e5ef »
2011-01-26 More benchmarkery: try out the json library.
79 benchmarks/ReadFile.hs
1dc9a1ea »
2011-02-25 Add more benchmark data
80 benchmarks/parse.py
81 benchmarks/json-data/example.json
82 benchmarks/json-data/integers.json
83 benchmarks/json-data/jp10.json
84 benchmarks/json-data/jp20.json
85 benchmarks/json-data/jp50.json
86 benchmarks/json-data/jp100.json
87 benchmarks/json-data/numbers.json
88 benchmarks/json-data/twitter1.json
89 benchmarks/json-data/twitter10.json
90 benchmarks/json-data/twitter20.json
91 benchmarks/json-data/twitter50.json
92 benchmarks/json-data/twitter100.json
e9316c51 »
2011-03-22 Make sure the tests are distributed with the source
93 tests/Makefile
94 tests/Properties.hs
924ea543 »
2011-01-21 Initial commit
95
96 flag developer
97 description: operate in developer mode
98 default: False
99
100 library
101 exposed-modules:
102 Data.Aeson
00dd59df »
2011-01-21 Support JSON encoding
103 Data.Aeson.Encode
a1ee5a52 »
2011-02-03 Partially implement generic JSON support.
104 Data.Aeson.Generic
924ea543 »
2011-01-21 Initial commit
105 Data.Aeson.Parser
106 Data.Aeson.Types
107
a1ee5a52 »
2011-02-03 Partially implement generic JSON support.
108 other-modules:
109 Data.Aeson.Functions
110
924ea543 »
2011-01-21 Initial commit
111 build-depends:
54a3ae31 »
2011-05-11 Bump version, and performance-dependent version of attoparsec needed
112 attoparsec >= 0.8.6.1,
924ea543 »
2011-01-21 Initial commit
113 base == 4.*,
00dd59df »
2011-01-21 Support JSON encoding
114 blaze-builder >= 0.2.1.4,
758da068 »
2011-04-28 Port a bunch of code over to blaze-textual for reuse.
115 blaze-textual,
924ea543 »
2011-01-21 Initial commit
116 bytestring,
e3982d39 »
2011-01-25 More docs
117 containers,
4b9b9e0a »
2011-01-25 Add an NFData instance for Value
118 deepseq,
f50f9b76 »
2011-03-08 Add support for HashMap from the unordered-containers package.
119 hashable,
375627d9 »
2011-04-05 Switch from monads-fd to mtl, and bump version
120 mtl,
924ea543 »
2011-01-21 Initial commit
121 old-locale,
a1ee5a52 »
2011-02-03 Partially implement generic JSON support.
122 syb,
d05091c8 »
2011-01-24 Make developer flag control -auto-all.
123 text >= 0.11.0.2,
924ea543 »
2011-01-21 Initial commit
124 time,
3032d030 »
2011-03-09 Update dependency on unordered-containers
125 unordered-containers >= 0.1.2.0,
924ea543 »
2011-01-21 Initial commit
126 vector >= 0.7
127
128 if flag(developer)
129 ghc-options: -Werror
d05091c8 »
2011-01-24 Make developer flag control -auto-all.
130 ghc-prof-options: -auto-all
924ea543 »
2011-01-21 Initial commit
131
132 ghc-options: -Wall
133
134 source-repository head
135 type: git
136 location: http://github.com/mailrank/aeson
3568e5ef »
2011-01-26 More benchmarkery: try out the json library.
137
138 source-repository head
139 type: mercurial
140 location: http://bitbucket.org/bos/aeson
Something went wrong with that request. Please try again.