[Python-ideas] Re: timeit improvement idea: add an option to measure a script execution time

2021-01-10 Thread Paul Moore
On Sun, 10 Jan 2021 at 19:24, Chris Angelico wrote: > > On Mon, Jan 11, 2021 at 6:06 AM Paul Moore wrote: > > > > On 2021-01-10 at 18:38:12 +0100, > > Alex Prengère wrote: > > > 3. Use timeit. The scripts have no side effects so repeating their > > > execution the way timeit does, works for me.

[Python-ideas] Re: timeit improvement idea: add an option to measure a script execution time

2021-01-10 Thread Chris Angelico
On Mon, Jan 11, 2021 at 6:06 AM Paul Moore wrote: > > On 2021-01-10 at 18:38:12 +0100, > Alex Prengère wrote: > > 3. Use timeit. The scripts have no side effects so repeating their > > execution the way timeit does, works for me. The only issue is that, > > as far as I know, timeit only allows

[Python-ideas] Re: timeit improvement idea: add an option to measure a script execution time

2021-01-10 Thread Paul Moore
On 2021-01-10 at 18:38:12 +0100, Alex Prengère wrote: > 3. Use timeit. The scripts have no side effects so repeating their > execution the way timeit does, works for me. The only issue is that, > as far as I know, timeit only allows statements as input parameters, > not the whole script, like for

[Python-ideas] Re: timeit improvement idea: add an option to measure a script execution time

2021-01-10 Thread 2QdxY4RzWzUUiLuE
On 2021-01-10 at 18:38:12 +0100, Alex Prengère wrote: > Today I had a quite simple need, I am unsure about the best way to do > it, and saw a possible improvement for the *timeit *module. > > I have about 30 Python scripts and I want to measure precisely their > execution times, without

[Python-ideas] Re: timeit improvement idea: add an option to measure a script execution time

2021-01-10 Thread Chris Angelico
On Mon, Jan 11, 2021 at 4:42 AM Alex Prengère wrote: > > Hello, > Today I had a quite simple need, I am unsure about the best way to do it, and > saw a possible improvement for the timeit module. > > I have about 30 Python scripts and I want to measure precisely their > execution times, without