[Haskell-cafe] Re: Optimizing Parsec 3 -- was: Wiki software?

John MacFarlane jgm at berkeley.edu
Fri Dec 4 16:09:57 EST 2009

> On Mon, Nov 23, 2009 at 12:29 PM, Antoine Latter <aslatter at gmail.com> wrote:
> I finally had some time to test it.  After running it multiple times
> (of course, it would be nice to use criterion here), I'm getting
> numbers in this neighborhood:

I used criterion to compare pandoc compiled with parsec2 to
pandoc compiled with your version of parsec3.  (The benchmark
is converting testsuite.txt from markdown to HTML.) The difference was

mean: 67.66576 ms, lb 67.56722 ms, ub 67.88983 ms, ci 0.950
std dev: 722.3878 us, lb 323.0343 us, ub 1.356013 ms, ci 0.950

mean: 68.20847 ms, lb 68.16387 ms, ub 68.26284 ms, ci 0.950
std dev: 252.7773 us, lb 204.5512 us, ub 325.2424 us, ci 0.950

So, once you release the new parsec3, I am prepared to remove the
"parsec < 3" restriction from the libraries I maintain: pandoc,
highlighting-kate, filestore, gitit, and yst.


More information about the Haskell-Cafe mailing list