Remove: performance measurements in YAPF #9143
Merged
+21
−141
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.
Motivation / Problem
Was looking at RDTSC, where we use it etc. Comment strongly suggests it is only for TIC/TOC. A grep showed that was a lie.
Which showed me this lovely gem. We constantly track performance in YAPF, but only show it with a very high yapf-specific debug setting. And that always makes me wonder: who still uses it? And if you use it, how does it help you?
Especially as we now have a lovely framerate window, which does measurements in a completely diferent way.
So, after some consideration .. I burned it to the ground.
Performance-wise, don't expect much difference here. YAPF caches a lot and often, so depending on your game, it wasn't really called "that often".
Description
Limitations
Checklist for review
Some things are not automated, and forgotten often. This list is a reminder for the reviewers.