-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Subtract out gc time? #60
Comments
I'm open to extend |
Let me transfer the issue to |
It is easy to extend I can imagine us adding more and more |
I don't need this immediately & I don't have time to work on details now (will be busy with my paying job for a while, sadly). I mostly meant it as a design question for tasty-bench-fit, since it seemed the biggest problem with that is inconsistent results due to gc. If that's the case, would subtracting out gc time improve the usefulness of tasty-bench-fit significantly? |
Would it help to subtract out the gc time, at least optionally? E.g. instead of just using getCPUTime, use mutator_cpu_ns and mutator_elapsed_ns:
import GHC.Stats (RTSStats, getRTSStats, getRTSStatsEnabled, mutator_cpu_ns, mutator_elapsed_ns)
import System.CPUTime (getCPUTime)
The text was updated successfully, but these errors were encountered: