-
Notifications
You must be signed in to change notification settings - Fork 4
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
Application profiler #94
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I was thinking about a reusable API for profiling code to see which parts of an application take the most resources. Metrics should be at least execution time, maybe even memory consumption or other data. But that would be an enhanced step.
Now, there are obviously tools like
gprof
which can be used to just analyse the execution of the binary. I'm talking about a different approach, where the profiling instrumentation would be directly embedded into the application as this can give better insight into individual components and is easily usable.The API could look something like this:
And this should then aggregate performance metrics when executed.
You probably wouldn't want the profiler to run always, so there could be two ways of (de-)activating it:
The text was updated successfully, but these errors were encountered: