| 21 Jul 2025 |
magic_rb | im benchmarking a thing i wrote and im making a nix package out of a cabal file using cabal2nix, however if i change the source cabal file and remove -fllvm, -O2, or -fexpose-all-unfoldings the performance measurements dont seem to change even though im positive they should. Is nixpkgs overwriting my flags somehow? | 09:41:41 |
magic_rb | im now trying the same bench but build outside of nixpkgs | 09:45:07 |
maralorn | magic_rb: None of those should be overriden, I think. | 10:02:32 |
magic_rb | hm | 10:02:39 |
magic_rb | okay | 10:02:41 |
magic_rb | than my thing is weird, il running the benches on an interactively compiled version | 10:02:59 |
magic_rb | yeah same result | 10:03:15 |
maralorn | Maybe the even appear somewhere in the build log, e.g. in the configureFlags, although I am not sure about that. | 10:03:23 |
magic_rb | hm, i could swear it made a difference when i was developing this thing, idk why the performance difference vanished, now it doesnt really matter what flags i use | 10:03:47 |