Closed a1cd closed 6 months ago
It would be helpful if you could run a performance profile in order to narrow down the root cause. Could you download the build of AdvantageScope from the artifacts here? This version includes several performance optimizations added since 3.0.1 and uses a different version of Electron that works around a bug with performance data exports. Here's the process to follow:
I know this is a bit tedious, but there are unfortunately a lot of potential causes for an issue like this and I haven't been able to recreate it thus far. The performance profile will provide useful data about which tasks are causing the issue.
Yes, I will send this over once I find some time to do this. I can probably do this some time tomorrow.
Ok, I just got around to updating my WPILib. I'm sorry it took so long! It seems that it is no longer an issue.
If you still want a performance profile on the latest version I can make one.
Describe the bug High CPU usage by the Electron renderer helper on Intel Mac.
To Reproduce Steps to reproduce the behavior:
Connect to logs on WPILIB AdvantageScope. I use a MacBook Air 2020 with a 1.1 GHz Quad-Core Intel Core i5 without struggle for almost everything else.
Expected behavior A clear and concise description of what you expected to happen. My computer shouldn't struggle to perform other basic tasks while AdvantageScope is running. I expect AdvantageScope to run without crippling my computer.
Screenshots If applicable, add screenshots to help explain your problem.
Version (required):
Additional context Add any other context about the problem here. High CPU from
AdvantageScope (Helper)
. When connected to logs there are twoAdvantageScope (Helper)
processes, oneAdvantageScope
process, and a process namedAdvantageScope (GPU)
. AllAdvantageScope (Helper)
use a consistent 90%-100% cpu when connected to a simulator or robot.