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 a performance inspection for GetNode usage in _Process #20

Open
Sejsel opened this issue May 11, 2020 · 0 comments
Open

Add a performance inspection for GetNode usage in _Process #20

Sejsel opened this issue May 11, 2020 · 0 comments

Comments

@Sejsel
Copy link

Sejsel commented May 11, 2020

Add a performance analyzer that would issue a warning when using GetNode<T>() or GetNode() in the _Process() method of a script or other performance-critical context. The call is rather costly and usually should be done in _Ready() and the resulting object should be reused.

@van800 van800 changed the title Add a performance warning for GetNode usage in _Process Add a performance inspection for GetNode usage in _Process May 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant