octoblu / issues

The place to report Octoblu issues
3 stars 2 forks source link

Designer is dog slow when a flow contains multiple Things with large / complex message schemas #243

Open brianehlert opened 8 years ago

brianehlert commented 8 years ago

Contact me directly for the source code for the experimental thing or its schema.

The symptom: When a Thing with a large / complex message schema (that renders properly in the designer) is duplicated the Designer gets slower and slower. The behavior is as if the schema for all instances of the Thing is parsed and not simply the individual Thing that is selected. As more instances of this Thing are added to a single flow the performance of the Designer keeps decreasing, taking longer and longer to respond to click (focus) changes.

My sample flow is simply triggers and instances of a particular Thing. With each instance defining a unique message to the target Thing.

brianehlert commented 8 years ago

The browser does not seem to matter on this one. Equally as bad with Chrome as FireFox.

brianehlert commented 8 years ago

I have a sample flow for this. I will provide the Thing when you are willing to look at this. HPE and FTL will soon uncover this bug as well. https://app.octoblu.com/bluprints/import/cfe4a0d7-1846-4149-ae4f-5685ffe200f8

brianehlert commented 8 years ago

Just got a popup in FireFox that the following script is running slow: dependencies.js I don't know if it was related or not.