Open alecmev opened 2 years ago
OS Linux
Gmail Desktop Version v3.0.0-alpha.35
Describe the bug About 13% of 1 core is being used at all times.
Additional context I ran a CPU profiler, and looks like it's some element-ready that is never ready, so it must be one of these:
element-ready
https://github.com/timche/gmail-desktop/blob/fceff40c275097626120274f6dee3bf68beb7a2b/src/main/account-views/preload/index.ts#L25
https://github.com/timche/gmail-desktop/blob/fceff40c275097626120274f6dee3bf68beb7a2b/src/main/account-views/preload/gmail.ts#L128-L130
https://github.com/timche/gmail-desktop/blob/fceff40c275097626120274f6dee3bf68beb7a2b/src/main/account-views/preload/gmail.ts#L263-L269
Probably the second one, since it has no timeout?
Thanks @alecmev for the detailed bug report! Will look into it asap!
OS Linux
Gmail Desktop Version v3.0.0-alpha.35
Describe the bug About 13% of 1 core is being used at all times.
Additional context I ran a CPU profiler, and looks like it's some
element-ready
that is never ready, so it must be one of these:https://github.com/timche/gmail-desktop/blob/fceff40c275097626120274f6dee3bf68beb7a2b/src/main/account-views/preload/index.ts#L25
https://github.com/timche/gmail-desktop/blob/fceff40c275097626120274f6dee3bf68beb7a2b/src/main/account-views/preload/gmail.ts#L128-L130
https://github.com/timche/gmail-desktop/blob/fceff40c275097626120274f6dee3bf68beb7a2b/src/main/account-views/preload/gmail.ts#L263-L269
Probably the second one, since it has no timeout?