Closed Rayrnond closed 7 months ago
The energy impact is increasing with each "large" copy. I tested copying a large coding file (aprox. 200 lines) and it jumped from 10 to 100.
uh-oh this shouldn't be happening, I'll look forward and release a patch soon! Also what is your macOS version
Version 14.4 Beta (23E5205c) Also tested on latest stable 14.3 on a M3 MacBook Air, same issue.
Did some instrumenting, every copy is using an interesting amount of CPU total.
oh that's strange I tried replicating it on my machine, it goes max till 20, I'll check it in a while, thanks!
oh hi @Rayrnond, I tried out it does go upto 100, but then I tried out couple other clipboard managers as well they all go upto 150 on average and even 250 quite a lot of times, the reasoning for this is:
NSNotification
for NSPasteboard
updates so we have to manually loop a task which checks for updates in the system pasteboard
When using the app (just installed, didn't actually 'use' it yet), the app is using more than 200 on my Activity Monitor energy impact, which is insane. For context, 20 tabs open FireFox is using just under 300, running IntelliJ uses 150, and I personally noticed my battery go from 40% to 10% in about 30 mins, compared to normally taking 3ish hours.