On Wed, Jul 22, 2020 at 7:31 AM Marco Sulla
<marco.sulla.pyt...@gmail.com> wrote:
>
> For benchmarks, I used simply timeit, with autorange and repeat and, as 
> suggested in the module documentation, I got the minimum of the results. Here 
> is the code:
>
> https://github.com/Marco-Sulla/cpython/blob/master/frozendict/test/bench.py
>

I strongly recommend to use pyperf for benchmarking.
Otherwise, you will see random performance changes caused by random
reasons including ASLR.

https://pypi.org/project/pyperf/
https://pyperf.readthedocs.io/en/latest/

Regards,
-- 
Inada Naoki  <songofaca...@gmail.com>
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/python-ideas@python.org/message/HJJFTU42RMB5QTZ5HL7H2J73XMNT2BNW/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to