butter-desktop icon indicating copy to clipboard operation
butter-desktop copied to clipboard

Slow scrolling in `Movies` and `Series`

Open doup opened this issue 8 years ago • 2 comments

Scrolling is really slow for both the Movies and Series.

Technical details:

  • Butter Version: 0.3.8-5a
  • Built from source code
  • OSX El Capitan
  • MacBook Air mid 2012

doup avatar Mar 04 '16 13:03 doup

Probably to much people are trying to access the APIs at the same time. The APIs are just slow.

YIFYtorrents avatar Mar 04 '16 19:03 YIFYtorrents

Well, the issue happens even when the contents are already loaded. Few things that I've noticed:

  • Once few pages are loaded, it still lags on the first page (top rows). It doesn't seem that it's generating new requests since the terminal remains quiet.
  • It has some moments of smoothness, but if there is a pattern I can't see it.
  • I've seen that sometimes it loads new content even in the middle of the page (probably unrelated).
  • Finally, but not least, nwjs helper goes to 100% CPU usage when scrolling.

Few ideas:

  • An expensive calculation when scrolling?
  • Synchornous code somewhere?
  • It's just queueing lot's of requests?
  • node-webkit issue (like #2723 or #3029)?
  • My computer is getting old :-) (last year version worked quite well...)

Tell me if this helps somehow, or if there is anything I can do to better delimit the issue.

doup avatar Mar 04 '16 22:03 doup