On 2015-04-13 12:29AM, George Neuner wrote:
> Somebody doesn't understand fractions: the numbers show a 33%  
> improvement, not 50%.  3.7 is 50% slower, but 3.8 is only 33% faster.

Are you sure? I thought that at first, but those numbers are time
rather than speed, and when I checked my units carefully it seemed
that he was correct:

new_spd = x% * old_spd  =>  x% = new_spd / old_spd

new_spd = 1 test-suite / 1.432e9 cycles
old_spd = 1 test-suite / 9.539e8 cycles

x% = (1 test-suite / 9.539e8 cycles) / (1 test-suite / 1.432e9 cycles)
   = (1 test-suite / 9.539e8 cycles) * (1.432e9 cycles / 1 test-suite)
   = 1.432e9 / 9.539e8 = 1.50 = 150%

Where am I going wrong?

--Josh

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to