On 12 Feb 2015 07:55, "R Schumacher" <firstname.lastname@example.org> wrote:
> >>> s='np.unpackbits(np.frombuffer(np.asarray(np.pi),
> >>> timr(s)
I'm not sure what timr is, but you should check out ipython and its built in %timeit command, which is trivial to use but, because it uses the 'timeit' module, goes to extreme effort to get accurate times (minimizing timing overhead, performing multiple runs, etc.).