[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Fw: failed sparc build of pandoc 1.9.4.2-1



+++ Joachim Breitner [Jul 01 12 22:18 ]:
> Hi John,
> 
> I’m wondering: Why did you add -threaded then? I’d expect the threaded
> RTS to actually be slower unless you make (good!) use of multiple
> threads...

I'm afraid I didn't have a good reason.  I figured it would be good
to have the flexibility -- and perhaps future changes to pandoc could
make better use of it.  I did benchmark a bit and found that specifying
multiple cores with RTS options actually made pandoc run slower.
I did not try benchmarking the version linked with -threaded but run
with one core against a version linked without -threaded.

This change could be reversed, and maybe it should be.

John


Reply to: