signalapp / Signal-Desktop

A private messenger for Windows, macOS, and Linux.
https://signal.org/download
GNU Affero General Public License v3.0
14.68k stars 2.68k forks source link

High CPU usage on idle #7069

Open rex4539 opened 2 weeks ago

rex4539 commented 2 weeks ago

Using a supported version?

Overall summary

CPU usage between 6-7% on idle

Steps to reproduce

  1. Open any chat.
  2. Leave client idle in background.

Expected result

Very low CPU usage.

Actual result

Constant high CPU usage around 6-7%

Screenshots

Screenshot 2024-11-03 at 07 00 36

Signal version

7.32.0-beta.1

Operating system

macOS 15.1

Version of Signal on your phone

No response

Link to debug log

No response

scottnonnenberg-signal commented 2 weeks ago

@rex4539 Does it happen for all conversations for you, or is there something different about the conversations where it does happen vs. the ones where it doesn't?

It doesn't happen for me, for example. I see the Renderer process go up to 0.9 on idle, and the main process go up to 0.5 on idle, but often it's at 0.1.

Maybe you could talk about your computer specs?

A prior related bug: https://github.com/signalapp/Signal-Desktop/issues/5192

rex4539 commented 2 weeks ago

I only have 1 chat, which is a one-2-one chat with someone. It's mainly text messages with occasional photos.

My computer is a MacBook Pro 6-Core Intel Core i7 2,6 GHz with 16GB RAM.

scottnonnenberg-signal commented 2 weeks ago

@rex4539 Does it change over time, or does that CPU usage stay constant for extended periods of time? What's the longest you've seen it stay high like that?

rex4539 commented 2 weeks ago

It's constant and never drops.