Performance penalties caused by -D_GLIBCXX_ASSERTIONS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



builds
Reply-To:

(CC'd Florian, who was the change owner)

Hello,

-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?

The change page says "This turns on cheap range checks for C++ arrays,
vectors, and strings.", but maybe they aren't cheap enough and are worth
investigating?

[1] https://fedoraproject.org/wiki/Changes/HardeningFlags28
[2] https://github.com/arbor-sim/arbor/issues/917#issuecomment-563408080

-- 
Thanks,
Regards,
Ankur Sinha "FranciscoD" (He/Him/His) | https://fedoraproject.org/wiki/User:Ankursinha
Time zone: Europe/London

Attachment: signature.asc
Description: PGP signature

_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
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/devel@xxxxxxxxxxxxxxxxxxxxxxx

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux