Twitch-Tools icon indicating copy to clipboard operation
Twitch-Tools copied to clipboard

Issue: High CPU usage

Open Mishasama opened this issue 6 months ago • 10 comments

Describe the bug

When opening and viewing the settings page, the CPU and memory usage is unusually high.

To Reproduce

  1. Open the settings
  2. See error

Expected behavior

A settings page shouldn't have such a high CPU usage, is something caught in a dead loop?

Screenshots

image

Extension Information

  • Version: 5.33.4.6/7
  • Source: store & GitHub
  • Browser: chrome & edge
  • Operating System: Windows

Additional comments

CPU usage drops to single digits when placing the page in the background without displaying it, is this caused by any active element rendering over and over again?

Also, when using TTVT, all Twitch tabs' CPU usage goes high.

From Ephellon

  • Seems to be caused by events being fired less than 100ms

Mishasama avatar Aug 24 '24 23:08 Mishasama