Skip to content

Conversation

@pmocz
Copy link
Member

@pmocz pmocz commented Jan 29, 2026

testing out some compile flags in this branch

See testhub results here:

https://testhub.mesastar.org/compileflags/commits/3aa1588

other things to try remove: ffp-contract=off ,

@pmocz pmocz requested a review from VincentVanlaer as a code owner January 29, 2026 19:28
This is quite a big performance loss (~25% increase in runtime)
@VincentVanlaer
Copy link
Member

VincentVanlaer commented Jan 31, 2026

I ran some benchmarks for various different configurations using a single test case (low_z) picked at random. I ran all of these on 4 cores (OMP_NUM_THREADS=4)

Configuration Time Delta with new
Old 2:57 -28s
New 3:25 0s
No init-derived 3:15 -10s
No stack-protector-all stack-clash-protection 3:18 -7s
No check=bounds 3:14 -11s
No D_FORTIFY_SOURCE=2 3:26 +1s (within uncertainty)
Combined changes 2:58 -27s
+ Three mysterious lines changed 2:00 -88s

Edit: I also looked at the tree-vectorize option, but I'm seeing less than 1% impact, so I would live that out for now.

@VincentVanlaer VincentVanlaer merged commit 5eb355a into main Jan 31, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants