Flag method as not performance expensive? Follow
I have a singleton method that is being flagged as "performance critical context", even though it is only called once. This is causing the performance warning to spread everywhere.
Is there a way to tell Rider not to regard this one method as performance critical? I'd like to keep performance critical on for everything else - it's very helpful!
Please sign in to leave a comment.
Hi William,
Unfortunately, this feature is not supported yet, but here is an issue for that: https://youtrack.jetbrains.com/issue/RIDER-27955. Please feel free to vote for it.
Also, you may try the workaround described here: https://github.com/JetBrains/resharper-unity/issues/1183#issuecomment-493111446.
K.R.
Sofia.