-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
StreamDeck-Shortcuts consumes 100% CPU time #19
Comments
Same for me, though I don't see any logs that look relevant. |
I did have the computer asleep, but it didn't go away after waking up. |
Yeah, that's what I've experienced, too. Hm... |
I had this again yesterday. I applied the Xcode time profiler to the process, in the hope of finding some clue about what was going on. Can't say that I could make much sense of it at first glance, and I couldn't analyse in depth due time constraints of my own. But I noticed that some hashing was going on, and some For a more structured analysis, I recorded a 30 s time profile when the process was seemingly ok, and idling happily. It looks like the following stacktrace.
Makes sense: Sitting and waiting for message frames to arrive. Now I am waiting for the event to occur again, to be able to have a look at the pathological case. |
@jokalode Wow, thanks for this! I truly appreciate you digging into it, as I really have no idea how to debug it. If you find more concrete info, perhaps we can find the culprit: The plug-in uses the following package. if it has something to do with this, I'll make sure to submit a PR/big report. Anyways, I'm willing to dig more into it, with some direction. I appreciate the you taking the time to reach out again! |
And here is a stacktrace for a pathological case:
Until Then we see the Combine framework in action: publishing, compact-mapping, try-mapping, catching, compact-mapping again, finally delivering to the The pathological behaviour starts after @SENTINELITE, hope this gives you an idea where to look. In the meantime, I'll try to build a local version. |
When entering the office first time in the morning, I have observed that the computer was very active, cooling fans spinning more than usual, while it should actually be sleeping. Checking CPU time it was StreamDeck-Shortcuts consuming 100 % CPU time. Killing the process, the computer went back to normal.
I can't remember having observed that behaviour while working on the computer. But I routinely build software on the computer. So it may just have escaped my notice.
Will observe if it is related to the sleep state, or not.
This relates to version 1.0.7.1.
The text was updated successfully, but these errors were encountered: