-
Notifications
You must be signed in to change notification settings - Fork 3
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
discussion: profiler #16
Comments
I looked into nimprof and nim system/profiler.nim, it's interesting. I even thought it could be useful for solving our issues with code coverage when I saw the object system.StacktraceEntry which holds everything we need. Unfortunately the profiler has only a stacktrace object without any line number. Sure we could work out a code profiler, starting by creating a chart out of nimprof results or creating our own profiler. But first it would be nice to have a proper code coverage tool. |
I'm fixing this in nim-lang/Nim#10119
see also nim-lang/Nim#10132 which compares 4 profilers as applied to nim
of course |
Super interesting, I think it would be very helpful for what we're trying to do here. |
@timotheecour : I've seen that nim-lang/Nim#10119 is unfortunately rejected. Is there any plans to add line numbers to the stacktrace in From your commits, it seems like a light addition and it might allow code coverage for any nim backends. |
links
The text was updated successfully, but these errors were encountered: