PERFORMANCE PROBLEM: Opening or switching to the Program Settings tab takes 10-15 seconds

Rosie Perera
Rosie Perera Member Posts: 26,202 ✭✭✭✭✭
edited November 21 in English Forum

Background: I have a lot of hidden resources (several thousand).

When I open the Program Settings tab, it takes over 10 seconds to come up, during which Logos is "Not Responding" for the latter half of the time.

When I switch to a different tab and then switch back to Program Settings, it takes another 10+ seconds to display.

Log file: 3404.LogosLog20210418.zip

I could sort of understand (though not excuse) the long time it takes to come up the first time. It must be populating the list box of hidden resources.

But the second time, the list box is already populated and should be cached in memory. There shouldn't be a need to repopulate it.

In order to get better UI responsiveness, you need to delay doing things that take a long time but aren't needed yet (such as populating a huge listbox) until a more opportune time (while the user is idle), and make them interruptible/continuable processes.

For example: I open the Program Settings tab. I want to see it immediately (within 3 seconds). I might not even scroll down as far as the hidden resources listbox (most of the time I don't; I just want to check or tweak one of the settings up near the top of the tab), so why should I have to wait 10-15 seconds for Logos to populate some list box I'm not even going to look at?

Be smarter than that. Wait to start populating the list box until AFTER you've displayed the tab, while I'm staring at it. It takes users longer to start interacting with UI elements than they expect it to take to be able to see those UI elements. You might get a few seconds to start populating that list box during idle cycles while I'm looking for the setting I want to tweak, or while I'm thinking about scrolling down to look at the hidden resource list box.

Make sure the process is interruptible, so that if I do start scrolling down, you can display immediately what you've populated so far and then finish it later. It's going to take me another couple of seconds to start scrolling in the list box. And you don't have the fill the entire list box to show me the first few pages worth of stuff in there. I'd rather have to wait for you to fill up more pages of it on the off chance that I do want to go scrolling through that box instead of taking the 10-15 second hit EVERY TIME I open the Program Settings tab.

I hope this helps you improve the performance of this feature. I wish Logos used the model of processing during user idle time more often.

Tagged:

Comments

  • Dave Hooton
    Dave Hooton MVP Posts: 35,682

    I could sort of understand (though not excuse) the long time it takes to come up the first time. It must be populating the list box of hidden resources.

    But the second time, the list box is already populated and should be cached in memory. There shouldn't be a need to repopulate it.

    Only one occurrence in the log, taking 1.7s. Whilst twice as long as mine, your Logos then moved to sync all items in the same time as mine (10s). Evaluating Hidden resources had occurred nearly 2m earlier, so it played no part in this. Updating the Collection cache occurred well after this, so there were no processes that spanned the opening of the Settings tab. How are you opening Settings?

    Dave
    ===

    Windows 11 & Android 13

  • Rosie Perera
    Rosie Perera Member Posts: 26,202 ✭✭✭✭✭

    How are you opening Settings?

    I click on the icon on my toolbar, which I created by dragging the command "show program settings" to my toolbar years ago.

  • Bradley Grainger (Logos)
    Bradley Grainger (Logos) Administrator, Logos Employee Posts: 11,958

    When I open the Program Settings tab, it takes over 10 seconds to come up, during which Logos is "Not Responding" for the latter half of the time.

    When I switch to a different tab and then switch back to Program Settings, it takes another 10+ seconds to display.

    There are no updates about this known issue since https://community.logos.com/forums/t/196748.aspx, sorry.

  • Dave Hooton
    Dave Hooton MVP Posts: 35,682

    I click on the icon on my toolbar, which I created by dragging the command "show program settings" to my toolbar

    I thought it might have an effect, but opening from a shortcut was similar to opening from Tools menu. Is that your experience?

    Dave
    ===

    Windows 11 & Android 13

  • Rosie Perera
    Rosie Perera Member Posts: 26,202 ✭✭✭✭✭

    When I open the Program Settings tab, it takes over 10 seconds to come up, during which Logos is "Not Responding" for the latter half of the time.

    When I switch to a different tab and then switch back to Program Settings, it takes another 10+ seconds to display.

    There are no updates about this known issue since https://community.logos.com/forums/t/196748.aspx, sorry.

    Oops, sorry. I forgot that I'd reported this already.