On Wed, Jul 10, 2019 at 5:18 PM Neil Schemenauer <[email protected]> wrote:
>
> On 2019-07-09, Inada Naoki wrote:
> > PyObject_Malloc inlines pymalloc_alloc, and PyObject_Free inlines 
> > pymalloc_free.
> > But compiler doesn't know which is the hot part in pymalloc_alloc and
> > pymalloc_free.
>
> Hello Inada,
>
> I don't see this on my PC.  I'm using GCC 8.3.0.  I have configured
> the build with --enable-optimizations.

I didn't use PGO and that's why GCC didn't know which part is hot.
Maybe, pymalloc performance is similar to mimalloc when PGO is used,
but I had not confirmed it.

While Linux distributions are using PGO, some people use non-PGO Python
(Homebrew, pyenv, etc...).  So better performance without PGO is worth.

Regards,
-- 
Inada Naoki  <[email protected]>
_______________________________________________
Python-Dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at 
https://mail.python.org/archives/list/[email protected]/message/LKU5FDWGWHHEBUMTNZ5ME23RC73B5JIF/

Reply via email to