Open XertroV opened 1 year ago
I have a plugin that has void RenderInterface() {}. Despite this, very occasionally openplanet will attribute ~8ms to it:
void RenderInterface() {}
https://user-images.githubusercontent.com/1046448/197389688-7520d3bb-5021-49ae-a3c8-49bb0ce414eb.mp4
This should not be possible since that function is empty.
It's not a big deal (doesn't really impact anything), but it's enough for an issue.
edit: sample code: https://github.com/XertroV/tm-rejoin-last-server/tree/sample-8ms-render-interface
edit2: this happens like once a minute mb, it's infrequent
Weird. I wonder if there's another plugin doing some weird multithreading things, although stuff should be thread safe. I'll see if I can reproduce it.
I have a plugin that has
void RenderInterface() {}
. Despite this, very occasionally openplanet will attribute ~8ms to it:https://user-images.githubusercontent.com/1046448/197389688-7520d3bb-5021-49ae-a3c8-49bb0ce414eb.mp4
This should not be possible since that function is empty.
It's not a big deal (doesn't really impact anything), but it's enough for an issue.
edit: sample code: https://github.com/XertroV/tm-rejoin-last-server/tree/sample-8ms-render-interface
edit2: this happens like once a minute mb, it's infrequent