-
Notifications
You must be signed in to change notification settings - Fork 394
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove some too frequent profile scopes (causing profiler slowdown fo…
…r many-entities) (#8414) The usual whack-a-mole: profiler scopes themselves cause as more overhead than what they're profiling, causing puffing traces to be a lot less useful: recording of revy's `alien_cake_addict` Before (main): <img width="1309" alt="image" src="https://github.com/user-attachments/assets/541ace08-964a-4076-aa18-4e87d476e317" /> After: <img width="1303" alt="image" src="https://github.com/user-attachments/assets/f8cdfe26-99b7-4c50-a791-b7d445375ba4" /> Puffing no longer warns but there's still quite some overhead: It makes the reported cpu time go up from ~52ms to ~57ms Well, time to call less methods - afaik a lot is caused by blueprint queries that we _know_ will turn up empty! (one of the next things I'm looking into)
- Loading branch information
Showing
6 changed files
with
5 additions
and
11 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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