Skip to content
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

Add mono log profiler support #26513

Merged
merged 1 commit into from Mar 4, 2019
Merged

Conversation

cart
Copy link
Contributor

@cart cart commented Mar 3, 2019

Adds mono log profiler support. When the global project setting is enabled, the mono log profiler is enabled and the output is written to output.mlpd.

These can be analyzed using the mono mprof-report tool:
mprof-report output.mlpd

This was the fastest path to success, but I think a better long term solution would be to create a custom mono profiler implementation to replace the default log profiler. This could register with the mono profiler callbacks and feed information to the existing Godot profiling UI.

@cart cart requested a review from neikeq as a code owner March 3, 2019 01:05
@hpvb
Copy link
Member

hpvb commented Mar 4, 2019

Probably a nice improvement for 3.1

@hpvb hpvb added this to the 3.1 milestone Mar 4, 2019
@neikeq
Copy link
Member

neikeq commented Mar 4, 2019

Looks good. Indeed, it would be great if we integrated this with the editor, but for now this will do.

@neikeq neikeq merged commit 813d324 into godotengine:master Mar 4, 2019
@neikeq
Copy link
Member

neikeq commented Mar 4, 2019

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants