on master help sign in
Bump version, and include happy new performance numbers.
b22f66aBryan O'Sullivan
aeson.cabal+17−11
@@ -1,5 +1,5 @@
1name: aeson
1name: aeson
2−version: 0.3.1.1
2+version: 0.3.2.0
3license: BSD3
3license: BSD3
4license-file: LICENSE
4license-file: LICENSE
5category: Text, Web, JSON
5category: Text, Web, JSON
@@ -21,31 +21,37 @@ description:
21 (2.66GHz Core i7), for mostly-English tweets from Twitter's JSON
21 (2.66GHz Core i7), for mostly-English tweets from Twitter's JSON
22 search API:
22 search API:
23 .
23 .
24− * 854 bytes: 21054 msg\/sec (17.1 MB/sec)
24+ * English, 854 bytes: 29029 msg\/sec (23.6 MB/sec)
25 .
25 .
26− * 6.4 KB: 4545 msg\/sec (28.6 MB/sec)
26+ * English, 6.4 KB: 6407 msg\/sec (40.3 MB/sec)
27 .
27 .
28− * 31.2 KB: 856 msg\/sec (26.1 MB/sec)
28+ * English, 31.2 KB: 1265 msg\/sec (38.8 MB/sec)
29 .
29 .
30− * 61.5 KB: 403 msg\/sec (24.2 MB/sec)
30+ * English, 61.5 KB: 585 msg\/sec (35.2 MB/sec)
31 .
31 .
32 Handling heavily-escaped text is a little more work. Here is
32 Handling heavily-escaped text is a little more work. Here is
33 parsing performance with Japanese tweets, where much of the text
33 parsing performance with Japanese tweets, where much of the text
34 is entirely Unicode-escaped:
34 is entirely Unicode-escaped:
35 .
35 .
36− * 14.6 KB: 1250 msg\/sec (17.9 MB/sec)
36+ * Japanese, 14.6 KB: 2227 msg\/sec (31.9 MB/sec)
37 .
37 .
38− * 44.1 KB: 363 msg\/sec (15.6 MB/sec)
38+ * Japanese, 44.1 KB: 671 msg\/sec (29.6 MB/sec)
39 .
39 .
40 Encoding performance on the same machine and data:
40 Encoding performance on the same machine and data:
41 .
41 .
42− * 854 bytes: 10647 msg\/sec (8.7 MB/sec)
42+ * English, 854 bytes: 43439 msg\/sec (35.4 MB/sec)
43 .
43 .
44− * 6.4 KB: 2098 msg\/sec (13.2 MB/sec)
44+ * English, 6.4 KB: 7127 msg\/sec (44.8 MB/sec)
45 .
45 .
46− * 31.2 KB: 422 msg\/sec (12.9 MB/sec)
46+ * Engish, 61.5 KB: 765 msg\/sec (46.0 MB/sec)
47 .
47 .
48− * 61.5 KB: 219 msg\/sec (13.2 MB/sec)
48+ * Japanese, 14.6 KB: 4727 msg\/sec (67.5 MB/sec)
49+ .
50+ * Japanese, 44.1 KB: 1505 msg\/sec (64.8 MB/sec)
51+ .
52+ With GHC 7.0.2, the story is mixed: parsing is 20-40% slower than
53+ GHC 6.12.3, while encoding performance ranges from about the same
54+ to twice as fast (on numeric data).
49 .
55 .
50 (A note on naming: in Greek mythology, Aeson was the father of Jason.)
56 (A note on naming: in Greek mythology, Aeson was the father of Jason.)
51
57