Skip to content
This repository
Newer
Older
100644 94 lines (86 sloc) 2.436 kb
924ea543 »
2011-01-21 Initial commit
1 name: aeson
2 version: 0.0.0.0
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
11 synopsis: Fast JSON parsing and generation
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:
e3982d39 »
2011-01-25 More docs
17 A JSON parsing and generation library optimized for ease of use
18 and high performance.
19 .
20 Parsing performance with GHC 6.12.3 on a late 2010 MacBook Pro
cb78de05 »
2011-01-27 Update benchmark results
21 (2.66GHz Core i7), for mostly-English tweets from Twitter's JSON
22 search API:
e3982d39 »
2011-01-25 More docs
23 .
cb78de05 »
2011-01-27 Update benchmark results
24 * 854 bytes: 21054 msg\/sec (17.1 MB/sec)
e3982d39 »
2011-01-25 More docs
25 .
cb78de05 »
2011-01-27 Update benchmark results
26 * 6.4 KB: 4545 msg\/sec (28.6 MB/sec)
e3982d39 »
2011-01-25 More docs
27 .
cb78de05 »
2011-01-27 Update benchmark results
28 * 31.2 KB: 856 msg\/sec (26.1 MB/sec)
e3982d39 »
2011-01-25 More docs
29 .
cb78de05 »
2011-01-27 Update benchmark results
30 * 61.5 KB: 403 msg\/sec (24.2 MB/sec)
31 .
32 Handling heavily-escaped text is a little more work. Here is
33 parsing performance with Japanese tweets, where much of the text
34 is entirely Unicode-escaped:
35 .
36 * 14.6 KB: 1250 msg\/sec (17.9 MB/sec)
37 .
38 * 44.1 KB: 363 msg\/sec (15.6 MB/sec)
e3982d39 »
2011-01-25 More docs
39 .
40 Encoding performance on the same machine and data:
41 .
0e1e37b8 »
2011-01-25 Correct a numeric error.
42 * 854 bytes: 10647 msg\/sec (8.7 MB/sec)
e3982d39 »
2011-01-25 More docs
43 .
44 * 6.4 KB: 2098 msg\/sec (13.2 MB/sec)
45 .
46 * 31.2 KB: 422 msg\/sec (12.9 MB/sec)
47 .
48 * 61.5 KB: 219 msg\/sec (13.2 MB/sec)
49 .
50 (A note on naming: in Greek mythology, Aeson was the father of Jason.)
51
924ea543 »
2011-01-21 Initial commit
52 extra-source-files:
53 README.markdown
3568e5ef »
2011-01-26 More benchmarkery: try out the json library.
54 benchmarks/AesonParse.hs
55 benchmarks/EncodeFile.hs
56 benchmarks/JsonParse.hs
57 benchmarks/ReadFile.hs
924ea543 »
2011-01-21 Initial commit
58
59 flag developer
60 description: operate in developer mode
61 default: False
62
63 library
64 exposed-modules:
65 Data.Aeson
00dd59df »
2011-01-21 Support JSON encoding
66 Data.Aeson.Encode
924ea543 »
2011-01-21 Initial commit
67 Data.Aeson.Parser
68 Data.Aeson.Types
69
70 build-depends:
71 attoparsec >= 0.8.4.0,
72 base == 4.*,
00dd59df »
2011-01-21 Support JSON encoding
73 blaze-builder >= 0.2.1.4,
924ea543 »
2011-01-21 Initial commit
74 bytestring,
e3982d39 »
2011-01-25 More docs
75 containers,
4b9b9e0a »
2011-01-25 Add an NFData instance for Value
76 deepseq,
924ea543 »
2011-01-21 Initial commit
77 old-locale,
d05091c8 »
2011-01-24 Make developer flag control -auto-all.
78 text >= 0.11.0.2,
924ea543 »
2011-01-21 Initial commit
79 time,
80 vector >= 0.7
81
82 if flag(developer)
83 ghc-options: -Werror
d05091c8 »
2011-01-24 Make developer flag control -auto-all.
84 ghc-prof-options: -auto-all
924ea543 »
2011-01-21 Initial commit
85
86 ghc-options: -Wall
87
88 source-repository head
89 type: git
90 location: http://github.com/mailrank/aeson
3568e5ef »
2011-01-26 More benchmarkery: try out the json library.
91
92 source-repository head
93 type: mercurial
94 location: http://bitbucket.org/bos/aeson
Something went wrong with that request. Please try again.