Commits

Author Commit Message Labels Comments Date
Bryan O'Sullivan
Consolidate encoding comparison benchmarks
Bryan O'Sullivan
"Borrow" a comparison benchmark from buffer-builder
Bryan O'Sullivan
Compare encoding performance against buffer-builder This result was surprising to me, as the buffer-builder authors claim it's all kinds of crazy fast. At least under GHC 7.10.1, aeson beats it handily, being 2x faster. On the other hand, buffer-builder allocates very little, 19x less than aeson.
Bryan O'Sullivan
Add a benchmark comparing against the json-builder package Surprisingly to me, json-builder performs very poorly: it's slightly slower than aeson's old encode implementation, and takes about 3x as much memory.
Bryan O'Sullivan
This INLINE seems to have no effect
Bryan O'Sullivan
Update benchmarks to reflect current reality
Bryan O'Sullivan
Fix silly benchmark bug
Bryan O'Sullivan
Oops, missed a file
Bryan O'Sullivan
Fix up a type ambiguity problem with Template Haskell When I turned on building of the TH example, I got a type error due to use of OverloadedStrings. The splice that generates toEncoding code had insufficiently strongly typed functions for encoding literal strings. I think I've got it sorted now, right down to using unpackCString# to generate the field name Text for fastest encoding.
Bryan O'Sullivan
Fix up some silly inefficient folds
Bryan O'Sullivan
Switch to more efficient String encoding
Bryan O'Sullivan
20% win on String encoding, after much mental torture
Bryan O'Sullivan
Share some code
Bryan O'Sullivan
Expand charUtf8
Bryan O'Sullivan
Microbenchmark time! Let's compare direct string encoding vs via text Turns out that going via text is actually *faster* -- unless you inline the direct string function, in which case it wins. Inlining the text function has no effect on performance.
Bryan O'Sullivan
Introduce a string encoder
Bryan O'Sullivan
Hoist escapeAscii to top level
Bryan O'Sullivan
Correct the definition of pairs
Bryan O'Sullivan
Rename series to pairs
Bryan O'Sullivan
Move series to a new home
Bryan O'Sullivan
Fix up haddocks
Bryan O'Sullivan
Sort out the API backwards compatibility story
Bryan O'Sullivan
Deduplicate isMaybe
Bryan O'Sullivan
Move encode to be based upon toEncoding
Bryan O'Sullivan
A few more TH tests, with a twist
Bryan O'Sullivan
Simplify some type signatures
Bryan O'Sullivan
More TH tests
Bryan O'Sullivan
Minor renaming
Bryan O'Sullivan
Another TH test, and yes, another bug fix
Bryan O'Sullivan
Another TH test
  1. Prev
  2. Next