5category: Text, Web, JSON
6copyright: Copyright 2011 MailRank, Inc.
7author: Bryan O'Sullivan <bos@mailrank.com>
8maintainer: Bryan O'Sullivan <bos@mailrank.com>
10tested-with: GHC == 6.12.3
11synopsis: Fast JSON parsing and generation
13homepage: http://github.com/mailrank/aeson
14bug-reports: http://github.com/mailrank/aeson/issues
17 A JSON parsing and generation library optimized for ease of use
20 Parsing performance with GHC 6.12.3 on a late 2010 MacBook Pro
21 (2.66GHz Core i7), for mostly-English tweets from Twitter's JSON
24 * 854 bytes: 21054 msg\/sec (17.1 MB/sec)
26 * 6.4 KB: 4545 msg\/sec (28.6 MB/sec)
28 * 31.2 KB: 856 msg\/sec (26.1 MB/sec)
30 * 61.5 KB: 403 msg\/sec (24.2 MB/sec)
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:
36 * 14.6 KB: 1250 msg\/sec (17.9 MB/sec)
38 * 44.1 KB: 363 msg\/sec (15.6 MB/sec)
40 Encoding performance on the same machine and data:
42 * 854 bytes: 10647 msg\/sec (8.7 MB/sec)
44 * 6.4 KB: 2098 msg\/sec (13.2 MB/sec)
46 * 31.2 KB: 422 msg\/sec (12.9 MB/sec)
48 * 61.5 KB: 219 msg\/sec (13.2 MB/sec)
50 (A note on naming: in Greek mythology, Aeson was the father of Jason.)
54 benchmarks/AesonParse.hs
55 benchmarks/EncodeFile.hs
56 benchmarks/JsonParse.hs
57 benchmarks/ReadFile.hs
60 description: operate in developer mode
71 attoparsec >= 0.8.4.0,
73 blaze-builder >= 0.2.1.4,
84 ghc-prof-options: -auto-all
90 location: http://github.com/mailrank/aeson
94 location: http://bitbucket.org/bos/aeson
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list