On Wed, Jul 22, 2020 at 4:29 PM Marco Sulla
<[email protected]> wrote:
>
> Furthermore, it seems that pyperf has not disabled ASLR. After `sudo python 
> -m pyperf system tune`, ASRL continues to be in "Full randomization" mode.
>

You are right. pyperf doesn't disable ASLR, because code performance
is changed by code layout.
pyperf runs benchmark multiple times in isolated processes and
measures stats instead.

Victor Stinner, the author of pyperf wrote a lot of information about
measuring performance.
It's very nice to read before benchmarking.
https://vstinner.readthedocs.io/benchmark.html

Regards,
-- 
Inada Naoki  <[email protected]>
_______________________________________________
Python-ideas mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/[email protected]/message/BQJFBCGFFGVD4BVSJYDJHC7TQG3WDIBV/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to