Note to self: the profiling picture of unoptimized code to show the actual weights of code structures #883
Anton-Latukha
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Wanted to look on the List monoid impact. But, well,
:
and<>
get inlined majority of the time.From noinline options found only
-Wno-inline-rule-shadowing -Wno-inline-generics
, seems like in GHC there is no way to not inline everything to see the actual computational impact of every:
and<>
.So, this is the best I got, so saving it here for the time, maybe someone would be interested to see the initial function weights as much as we can expose them.
Beta Was this translation helpful? Give feedback.
All reactions