Flag method as not performance expensive?

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!

1 comment
Comment actions Permalink

Hi William,

Unfortunately, this feature is not supported yet, but here is an issue for that: https://youtrack.jetbrains.com/issue/RIDER-27955Please feel free to vote for it.

Also, you may try the workaround described here: https://github.com/JetBrains/resharper-unity/issues/1183#issuecomment-493111446.





Please sign in to leave a comment.