_Davidsmith,
@_Davidsmith@mastodon.social avatar

The good news: You have found a way to reliably reproduce a hang you've seen intermittently and the new Xcode Hang detection helped you quickly narrow down its source. (🎉)

The bad news: It is caused by some very old Objective-C model logic which you haven't touched in years and are terrified of making any changes to. (😔)

_Davidsmith,
@_Davidsmith@mastodon.social avatar

The last Pedometer++ update addresses some issues with app Hangs. Using the Instruments Hang tool I was able to track down and resolve an intermittent Severe Hang, and then in the process of working on that I found and fixed a few other more minor hangs.

The net result is nearly 7X fewer hangs than the previous version(🎉). 34 seconds/hour on-screen still feels high to me, but it’s a great start.

This WWDC video was SUPER helpful in knowing how to use the Hang instrument https://developer.apple.com/videos/play/wwdc2023/10248/

cocoafrog,
@cocoafrog@hachyderm.io avatar

@_Davidsmith awesome to hear that, happy it was helpful!

_Davidsmith,
@_Davidsmith@mastodon.social avatar

@cocoafrog INCREDIBLY helpful! Once I watched that video and actually knew what I was doing, the process became incredibly straightforward. Thanks!

bobdel,
@bobdel@mastodon.social avatar

@_Davidsmith @cocoafrog also +1 for one of the best wwdc videos in 2023. Complex topic, clearly explained.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • tacticalgear
  • DreamBathrooms
  • cisconetworking
  • khanakhh
  • mdbf
  • magazineikmin
  • modclub
  • InstantRegret
  • rosin
  • Youngstown
  • slotface
  • Durango
  • kavyap
  • ngwrru68w68
  • JUstTest
  • everett
  • tester
  • cubers
  • normalnudes
  • thenastyranch
  • osvaldo12
  • GTA5RPClips
  • ethstaker
  • Leos
  • provamag3
  • anitta
  • megavids
  • lostlight
  • All magazines