Cog
Cog copied to clipboard
High CPU usage
I noticed that the last version is used from 20 to 30% CPU (of M1). And 10-20% CPU when COG is hide. Other players use 5% CPU in foreground mode.
- How can I disable spectrum? (can't do it with d'n'd editor)
- How I can reduce CPU usage to 5%?
Oops, it's true, you can't remove any Toolbar items in latest build :(
:) result of reading incorrect CUE.
Sorry about the CUE thing, it shouldn't be locking up when reading invalid files. As for the visualizations processing in the background, ee5231f567a354e9320ae1432695a30cea9de9c7 / 066ee806dca273a1bfe371ad86a58b13c27ab4f2 should alleviate that.
It should process CUEs faster, but I don't know what to do about that, since embedded formats need to read full tags every track.
As for spectrum, remove it from the toolbar with the customize toolbar mode, or hide the window somehow (obscure it, or minimize it, or close it and summon it again later) and the visualization will stop processing most of its work. Apparently most of the processing power comes from the inflexible forced 60fps updating SceneKit display. I should add a configurable frame rate, and maybe separate frame rate for the larger window mode, and default them to like 15fps like most other players do.
Ok, looks it works ok now - 4-5% CPU without spectrum, and 12-14% CPU with spectrum. Customizing toolbar works ok now too. Thanks.