server icon indicating copy to clipboard operation
server copied to clipboard

Performance degradation over time

Open FluffyDiscord opened this issue 9 months ago • 0 comments

I have noticed that when Buggregator runs for few hours, and I have dumped a lot of small or big things, the UI gets either unusable (slow reaction times) or it takes quite some time for a dump to show in the UI. Clicking on Clear events button does not solve the issue. I would have thought, that if I click that button, any state/events buggregator holds, get removed, from PHP and javascript side.

To reproduce:

  1. Start buggregator
  2. Repeat 100 times or more steps 3 a 4
  3. Dump something small, for example array with single scalar
  4. Click Clear events
  5. Check the UI responsibility/dump

If you cannot reproduce that, dump larger array of about 1500 simple items/objects, clear button, dump one small scalar. Same performance degradation occurs.

I am not sure if something is left behind in javascript memory, or server stores something, somehow.

FluffyDiscord avatar Apr 16 '25 11:04 FluffyDiscord