[Haskell-cafe] Re: Optimizing Parsec 3 -- was: Wiki software?
Howard B. Golden
hgolden at socal.rr.com
Sat Dec 5 16:36:13 EST 2009
On Friday December 4, 2009, John MacFarlane wrote:
> 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 minor:
> 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.
I don't know what the performance of the current parsec3 is compared to
parsec2. It would be helpful if you could run your benchmark for that
also and include it.
If the only issue is performance, I respectfully request that you remove
the parsec < 3 requirement even before the new version of parsec3 is
released. Thank you.
More information about the Haskell-Cafe