You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a certain method is marked as PerformanceCritical all functions calling that are also marked PerformanceCritical. during debugging I want to log information so I made a method that can do that for me. Unfortunately if I suppress the warning on that method, methods which call the suppressed method are marked as PerformanceCritical.
This hides possible other PerformanceCritical parts since every method in my class will call the the PerformanceCritical method.
This seems to me like unwanted behavior since suppressing the warning should actually suppress the warning on the method itself.
The text was updated successfully, but these errors were encountered:
StefanJanssen95
changed the title
Performance Critical method ignored still marked as Performance Critical
Suppressed Performance Critical method still marked as Performance Critical
Jul 13, 2019
Hello @StefanJanssen95! From the next EAP, you will be able to add // ReSharper disable Unity.PerformanceAnalysis comment to remove undesired methods from Performance analysis:
This is available as Quick Fix at any marked invocation:
When a certain method is marked as PerformanceCritical all functions calling that are also marked PerformanceCritical. during debugging I want to log information so I made a method that can do that for me. Unfortunately if I suppress the warning on that method, methods which call the suppressed method are marked as PerformanceCritical.
This hides possible other PerformanceCritical parts since every method in my class will call the the PerformanceCritical method.
I have the following piece of code
This seems to me like unwanted behavior since suppressing the warning should actually suppress the warning on the method itself.
The text was updated successfully, but these errors were encountered: