You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In a simple benchmarking script I'm writing I need to ensure the code being benched isn't optimized away. Any suggestions for how? Maybe something involving the IO monad?
The text was updated successfully, but these errors were encountered:
I am not sure about the constraints here, but broadly speaking the only true way is to check that the benched code actually produces the expected value. Then you can be reasonably sure that the code actually runs.
In a simple benchmarking script I'm writing I need to ensure the code being benched isn't optimized away. Any suggestions for how? Maybe something involving the
IO
monad?The text was updated successfully, but these errors were encountered: