Rehearsal --------------------------------------------------
RedCloth 3.328 0.050000 0.000000 0.050000 ( 0.053957)
RedCloth 3.0.4 1.670000 0.010000 1.680000 ( 1.701113)
----------------------------------------- total: 1.730000sec
user system total real
RedCloth 3.328 0.040000 0.000000 0.040000 ( 0.043745)
RedCloth 3.0.4 1.650000 0.010000 1.660000 ( 1.672715)
Is it fair to say the new version is 40 times faster? Math was never
my strongest subject. :-)
Jason
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://rubyforge.org/pipermail/redcloth-upwards/attachments/20080619/25de0f68/attachment-0001.html>
Jason Garber wrote:> Rehearsal -------------------------------------------------- > RedCloth 3.328 0.050000 0.000000 0.050000 ( 0.053957) > RedCloth 3.0.4 1.670000 0.010000 1.680000 ( 1.701113) > ----------------------------------------- total: 1.730000sec > > user system total real > RedCloth 3.328 0.040000 0.000000 0.040000 ( 0.043745) > RedCloth 3.0.4 1.650000 0.010000 1.660000 ( 1.672715) > > Is it fair to say the new version is 40 times faster? Math was never my > strongest subject. :-)The equation for speedup is time_old / time_new: rehearsal_speedup = 1.701113 / 0.053957 = 31.5271975832607 real_speedup = 1.672715 / 0.043745 = 38.2378557549434 So yes, the new version is roughly 40 times faster.