DirectName icon indicating copy to clipboard operation
DirectName copied to clipboard

Performance İssues - Stutters in Fusion every few seconds

Open Trampler60 opened this issue 7 months ago • 3 comments

When I run the add-on, Fusion 360 starts to experience brief stutters every few seconds, lasting about half or a quarter of a second.

Trampler60 avatar May 15 '25 15:05 Trampler60

Hi, hmm, the thing that could hit performance is the scanning of updates that DirectName does after user actions.

Is the problem more pronounced in documents with a long timeline?

I'm adding a troubleshooting mode to the next version (1.4.3). It will log all the events that the add-in reacts to and should make it easier to pin-point if there is any specific event that triggers often that the add-in should filter.

Currently ignored events:

    # Heavy traffic commands
                          'SelectCommand',
                          'CommitCommand',
                          'PanCommand',
                          'FreeOrbitCommand',
                          'ActivateEnvironmentCommand',
                          'VisibilityToggleCmd',

thomasa88 avatar May 16 '25 18:05 thomasa88

In fact, the freezing occurred even during pan and orbit movements. Could there be an issue with the ignore system?

Trampler60 avatar May 17 '25 00:05 Trampler60

I have added troubleshooting mode in v1.4.3. It has been submitted to Autodesk.

When you have this version. Enable the troubleshooting mode from the menu and then open the console by pressing Ctrl+Alt+C. Then observe what log messages happen when the program stutters.

https://github.com/thomasa88/DirectName/releases

thomasa88 avatar May 21 '25 16:05 thomasa88