* Ankur Sinha:

> -D_GLIBCXX_ASSERTIONS was added to the default build flags in F28[1].
> For one of my packages, upstream reports that this results in a 25% slow
> down[2], which is quite a lot.
>
> Has anyone else noticed such performance deterioration as a result of this?

We have seen cases where GCC cannot eliminate the bounds check in a
tight loop because the array index has the wrong type.  This is arguably
a bug in the source code; fixing the type also addresses the performance
regression.

Apart from that, I don't know of any performance regressions.  We would
have to look at profiles and disassembly to see what's going on in the
case of arbor-sim.

Thanks,
Florian
_______________________________________________
devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]

Reply via email to