looking for textile reference in textile source for benchmarking
stephen.bannasch at deanbrook.org
Mon Apr 13 22:54:09 EDT 2009
At 9:41 PM -0400 4/13/09, Jason Garber wrote:
>Interesting. Care to offer any interpretation?
BlueCloth is much slower and the time for processing increases
quadratically as the input document get's larger. I haven't looked at
RedCloth is about 15x faster and scales linearly -- again I'm not
sure why but I like that behavior ;-)
When most of the processing time is spent in Ruby regex's (bluecloth)
JRuby is about twice as fast.
Running RedCloth in JRuby however is only about 10% faster. From
previous benchmarking of Hpricot I suspect that the ragel code in
Java is just a bit slower than the C and the speedup is due to other
areas where JRuby is faster.
The context for the benchmarking is a blog post here:
Mauricio's implementation of a simple markdown processor in OCaml
appears to be about 20x faster than RedCloth.
I'd like to know a good way of measuring "real" memory use when
running a benchmark like this in Ruby especially one that involves a
native library. Mauricio's reports very low memory usage from his
>On Apr 11, 2009, at 3:08 AM, Stephen Bannasch wrote:
>>Here are some interesting results testing in MRI 1.8.6 and JRuby.
>>Redcloth-upwards mailing list
>>Redcloth-upwards at rubyforge.org
>Redcloth-upwards mailing list
>Redcloth-upwards at rubyforge.org
More information about the Redcloth-upwards