Add startup benchmarking support#64610
Merged
akien-mga merged 1 commit intogodotengine:masterfrom Aug 22, 2022
Merged
Conversation
This adds support for benchmarking engine startup (and editor startup if used). The goal is to use this in the benchmarking server to track improvements and changes to engine, editor, importer and scene loading startup times.
Member
|
Is this really needed in pure |
Member
Author
|
@RandomShaper Well maybe, I also wanted to send this information via debugger too, so you can check this information when you run the game remotely or on device. But definitely another PR will need to be done. |
Member
|
Could shutdown times be measured as well? While not as important as startup, I feel it's useful to track regressions there too. |
Member
Author
|
@Calinou Maybe in a separate PR, since its different type of code. |
RandomShaper
approved these changes
Aug 19, 2022
Member
RandomShaper
left a comment
There was a problem hiding this comment.
I'm assuming the point of the startup sequence where the FS scan is triggered is equivalent. So, looks good to me.
Member
|
Might be helpful to output to stdout only without a file path. |
Member
|
Thanks! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This adds support for benchmarking engine startup (and editor startup if used).
The goal is to use this in the benchmarking server to track improvements and changes to engine, editor, importer and scene loading startup times.
Example of how it looks: