Forum: Redcloth Latest benchmarks

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Jason G. (Guest)
on 2008-06-20 01:30
(Received via mailing list)
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
Suraj K. (Guest)
on 2008-06-20 21:17
(Received via mailing list)
Jason G. wrote:
> 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.
This topic is locked and can not be replied to.