On Wed, Jul 22, 2020 at 4:29 PM Marco Sulla <marco.sulla.pyt...@gmail.com> 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 <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/BQJFBCGFFGVD4BVSJYDJHC7TQG3WDIBV/ Code of Conduct: http://python.org/psf/codeofconduct/