Repository navigation
ci: Add missing -O2 to valgrind tasks - #28071
Conversation
|
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. ReviewsSee the guideline for information on the review process.
If your review is incorrectly listed, please react with 👎 to this comment and the bot will ignore it on the next update. ConflictsReviewers, this pull request conflicts with the following ones:
If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first. |
How much faster are they with |
Yes. (Locally the functional tests go from |
Any results for the fuzz task? Just to compare it to the speed up observed in #27992 |
|
Yes. From: To: |
|
Why not |
Feel free to test it and make an alternative pull, but I am pretty sure it will not work. Also, I don't see any upside and it is more verbose. |
|
rfm or is something missing here? |
|
I guess this doesn't matter for us/is no-longer the case in Memcheck? Some mailing list discussion suggests so. I think there's another issue here (for a different PR) where we should be setting some optimisation level in our build flags, because setting additional flags should not this problem. |
Only for gcc, see #27741
Right. Probably not worth to spend time here, with the switch to cmake. But that makes me wonder how cmake handles this. |
I'll follow up with this, because it certainly shouldn't be broken, and if it is, it's not specific to valgrind etc. |
Currently the tasks have nothing (
-O0) set, which makes them slow.Fix this by falling back to the default (
-O2).