danman113 / simple-autoscrollv2

Manifest V3 version of autoscroll
GNU General Public License v3.0
8 stars 4 forks source link

Simple Autoscroll is amazing, but has problem where scrolling becomes very slow on a very long pages after few minutes. #7

Open nataleeonajourney opened 8 months ago

nataleeonajourney commented 8 months ago

Dear Daniel, i really enjoy your your amazing extension called 'simple autoscroll' on google chrome and am really grateful and thankful to you. Further I would like your help on resolving a issue listed below -

On a very long page where scrolling is taking place for multiple minutes the scroll automatically slows down, there is a latency, and further it keeps getting slower and slower and latency/smoothness in scrolling keep getting slower. I have tried changing the value of scroll speed and pixel number but no matter what I try the issue remains the same.

Daniel I would be so great if it could get fixed or a possible solution, thank you. take care and wish you great health and success for 2024.

danman113 commented 6 months ago

Hello @nataleeonajourney, sorry for the delay, I haven't had much time to work on the extension lately. I was able to reproduce this bug by leaving reddit open with a 5 pixel offset every millisecond. After a while it does seem to get quite jittery. Could you please let me know which website you encountered this issue on?

At first glance, this bug could be caused by a few things:

  1. Poor simple-autoscroll performance: While replicating this bug I took a performance snapshot and couldn't even find any simple-autoscroll function calls in the profiler. It's very possible that I'm just looking at the wrong profiler, maybe chrome keeps track of it in a separate window.
  2. Poor host-page performance: It's pretty well known in the web development community that infinite scrolling can sometimes degrade performance. It could just be that the web page uses more resources the longer time you use it, so all extension performance may degrade after a while. I have some evidence that this is the case: I wasn't able to replicate the bug on http://www.worldslongestwebsite.com/ and https://en.wikipedia.org/wiki/List_of_Hindi_songs_recorded_by_Asha_Bhosle (one of the tallest wikipedia entries).
  3. Some floating point precision bug: Very possible I messed up somewhere and floating point errors are accumulating. Maybe this interacts poorly with the browser API.

Unfortunately this kind of bug is pretty time consuming to fix, so I'm not sure if I'll get around to fixing it any time soon. I'll try to give it a look before the end of the year at the very least.

nataleeonajourney commented 6 months ago

in twitter.com when auto scrolling throught long list of likes and tweets, it scrolls perfectly for couple of minites then it slowly starts to get slower, starts to perform poorly, increase in latency.

Thanks for responding, please do help if you can.

From: Daniel Berezin @.> Date: Tuesday, 16 April 2024 at 11:19 AM To: danman113/simple-autoscrollv2 @.> Cc: Natalee @.>, Mention @.> Subject: Re: [danman113/simple-autoscrollv2] Simple Autoscroll is amazing, but has problem where scrolling becomes very slow on a very long pages after few minutes. (Issue #7)

Hello @nataleeonajourneyhttps://github.com/nataleeonajourney, sorry for the delay, I haven't had much time to work on the extension lately. I was able to reproduce this bug by leaving reddit open with a 5 pixel offset every millisecond. After a while it does seem to get quite jittery. Could you please let me know which website you encountered this issue on?

At first glance, this bug could be caused by a few things:

  1. Poor simple-autoscroll performance: While replicating this bug I took a performance snapshot and couldn't even find any simple-autoscroll function calls in the profiler. It's very possible that I'm just looking at the wrong profiler, maybe chrome keeps track of it in a separate window.
  2. Poor host-page performance: It's pretty well known in the web development community that infinite scrolling can sometimes degrade performance. It could just be that the web page uses more resources the longer time you use it, so all extension performance may degrade after a while. I have some evidence that this is the case: I wasn't able to replicate the bug on http://www.worldslongestwebsite.com/ and https://en.wikipedia.org/wiki/List_of_Hindi_songs_recorded_by_Asha_Bhosle (one of the tallest wikipedia entries).
  3. Some floating point precision bug: Very possible I messed up somewhere and floating point errors are accumulating. Maybe this interacts poorly with the browser API.

Unfortunately this kind of bug is pretty time consuming to fix, so I'm not sure if I'll get around to fixing it any time soon. I'll try to give it a look before the end of the year at the very least.

— Reply to this email directly, view it on GitHubhttps://github.com/danman113/simple-autoscrollv2/issues/7#issuecomment-2058277814, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BA6CTTZMN3GIYAYI3NWRKPDY5S3UXAVCNFSM6AAAAABD2TPWBOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANJYGI3TOOBRGQ. You are receiving this because you were mentioned.Message ID: @.***>

nataleeonajourney commented 3 months ago

any update so far dear dev. many are waiting for the update if you can fix it. Your extension is amazing and we thank you for it.

danman113 commented 3 months ago

Hello @nataleeonajourney, unfortunately I've been really busy with both my work and private life and haven't gotten around to it. I'll try to prioritize this when I get some heads-down time but unfortunately in this stage of my life that's in very short supply.