waistline icon indicating copy to clipboard operation
waistline copied to clipboard

Massive Stuttering on Specific Situations

Open SpookedByRoaches opened this issue 1 year ago • 1 comments

I was having trouble when I click on the bottom bar to see the macros left for the day. Sometimes when I do it it works fine, other times it has a bit of a delay, other times it takes a good 7 seconds to finish.

I looked at Logcat and messed around to see why these things are happening. I found that when clicking the bar for the first time after the app is opened, that's when it stutters. If I open the app then immediately click the bar, this appears in the Logcat

07-18 08:47:33.409 24291 24291 I Choreographer: Skipped 38 frames!  The application may be doing
too much work on its main thread.

This is when the stuttering is not too bad. However, if I add a food then click the bar, this appears.

07-18 08:54:04.889 24828 24828 I Choreographer: Skipped 98 frames!  The application may be doing
too much work on its main thread.
07-18 08:54:04.907 24828 24842 I OpenGLRenderer: Davey! duration=887ms; Flags=0, FrameTimelineVsyncId=14281681, IntendedVsync=67193203155326, Vsync=67193244791751, InputEventId=0, HandleInputStart=67193246614351, AnimationStart=67193246615124, PerformTraversalsStart=67193247525199, DrawStart=67193247563854, FrameDeadline=67193278046321, FrameInterval=67193246610851, FrameStartTime=8327285, SyncQueued=67193247754610, SyncStart=67193252431693, IssueDrawCommandsStart=67193252497245,
SwapBuffers=67194081474215, FrameCompleted=67194094922457, DequeueBufferDuration=5087, QueueBufferDuration=954711, GpuCompleted=67194094922457, SwapBuffersCompleted=67194082642143, DisplayPresentTime=67191105403046, CommandSubmissionCompleted=67194081474215

Which is more annoying. The real problem comes when I add the food, then delete it and click the bar. This appears in Logcat

07-18 08:56:07.509 25182 25182 I Choreographer: Skipped 252 frames!  The application may be doing too much work on its main thread.
07-18 08:56:07.532 25182 25194 I OpenGLRenderer: Davey! duration=2126ms; Flags=0, FrameTimelineVsyncId=14311838, IntendedVsync=67314586083855, Vsync=67314586083855, InputEventId=0, HandleInputStart=67314586384104, AnimationStart=67314586385243, PerformTraversalsStart=67314586906117, DrawStart=67314586944000, FrameDeadline=67314619341630, FrameInterval=67314586380808, FrameStartTime=8329147, SyncQueued=67314587084218, SyncStart=67314587106313, IssueDrawCommandsStart=67314587139109, SwapBuffers=67316699707307, FrameCompleted=67316712296011, DequeueBufferDuration=5819, QueueBufferDuration=1879273, GpuCompleted=67316712296011, SwapBuffersCompleted=67316701954377, DisplayPresentTime=67311180746448, CommandSubmissionCompleted=67316699707307,

This is not the worst since I've seen it go all the way up to skipping 350+ frames. I don't know if this is specific to my device or what.

The app is running the 3.6.0 version from F-Droid. My Specs are:

  • Google Pixel 6 Pro
  • Android 13
  • Build TQ3A.230605.010

SpookedByRoaches avatar Jul 18 '23 06:07 SpookedByRoaches

I haven't noticed an issue on my Pixel 6a.

davidhealey avatar Jul 19 '23 11:07 davidhealey