Solved by albanD in post #2 
              
              
                Hi, 
I think you’re missing the following line  
    backward1 *= 1e3 # From seconds to miliseconds

Then all the timings will be what you expect.