VB Graphics slowness up to 2-3 minutes while editing or deploying
System 800xA V4.1
VB Graphic Displays experience slowness up to 2-3 minutes while editing or deploying.
It was discovered that opening of the "Element Browser" and "Expression builder" was consuming more time while editing a VB graphic display.
There were 800+ unused object references in the Object reference list of the "Element Browser" and "Expression builder" each.
As by default "Auto Populate" feature is checked in the Graphic Builder Options, the "Object List" in the Element Browser/Expression Builder or "Object Property List" will automatically contain all the objects on that object type. Enumerating through 800+ Object references and getting all the properties in each object was taking time and thus was causing the delay.
As a work around, the "Auto Populate" feature was unchecked and then all unused Object references were removed.
Once those unused object references were removed, “Auto Populate” feature was checked again and after this, there was no slowness observed while opening, deploying, or editing graphics.