Retrieve dialog taking very long time to switch between contexts.

Issue #1834 resolved
Justin Julicher created an issue

In the screen below it is taking about 30 seconds everytime you either switch the context or select/deselect Local + Server.

It used to be nearly instant - any ideas why this might be occurring?

Comments (5)

  1. Scott Wells repo owner

    Justin, the primary changes to that dialog--and to the mechanism used to populate server metadata--were put in place months back, and they should have actually made things considerably faster due to caching. The only change that was implemented recently at all in this area was for case-insensitive matching of names in one location where it wasn't doing so. Let's get a log that should hopefully include some timing information. Please set the following up for debug logging:

    #com.illuminatedcloud.intellij.builder.BuildOptionsDialog
    #com.illuminatedcloud.intellij.configCache.FilePropertiesCache
    

    After adding those, reproduce the behavior and shoot over the resulting logs for review. I'll be curious to see what they show.

  2. Justin Julicher reporter

    arghh.. I regenerated the OST and reloaded the project and now it’s pretty quick 😞

    typical… I guess you can close it for the time being. I’ll leave the debug logs on in case it re-occurs.

    thanks

  3. Log in to comment