Skip to content

Conversation

@tlf30
Copy link
Contributor

@tlf30 tlf30 commented Mar 20, 2021

Added profile tracking to AppStateManager for render and post render.

If the community thinks this is useful, feel free to merge, otherwise just close. I found it very helpful when tracing which app state was impacting my fps.

@pspeed42
Copy link
Contributor

I don't object to it... but it's interesting that of the thousands of app states that I've written in various apps, maybe half a dozen do anything significant on render() or postRender().

@tlf30
Copy link
Contributor Author

tlf30 commented Mar 20, 2021

Yeah, this came up when troubleshooting Minie's BulletAppState which does blocking on render or post render depending if running in sequential or parallel. I would have never figured out it was bullet without this.

@stephengold stephengold added this to the v3.4.0 milestone Mar 21, 2021
@stephengold
Copy link
Member

I'm okay with this. Ready for integration.

@tlf30
Copy link
Contributor Author

tlf30 commented Mar 21, 2021

It is ready to merge when ever you are.

@stephengold stephengold merged commit 73cf6c3 into jMonkeyEngine:master Mar 22, 2021
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.

4 participants