Warnings if there is a bias in timings due to some side-effects of the method

Discussion in issue https://github.com/ipython/ipython/issues/6471