On Thu, Sep 11, 2014 at 4:58 AM, Simon Porritt <si...@jsplumbtoolkit.com> wrote:
It's true that current versions of jsPlumb get a little bogged down with a lot of elements. In 1.7.0 - the next release - I've put a bit of effort into reducing the number of page reflows that jsplumb causes when painting. I've managed to bring the load test page, on the default settings, down from ~1.7 seconds to about 350ms. That page really only tests connections, though, so I added a page that puts 1500 elements into the DOM and then adds endpoints to each of them, and with the various enhancements I've made I got the time taken down quite considerably on that one too. I haven't finished tinkering with it yet. I'm sure there are more enhancements I can make.I don't know a great deal about ReactJS but I do know that I will never make jsPlumb depend on it, ha. Are you talking about the shadow DOM, though, or are you talking about fragments? I once did an experiment in which I created a document fragment and added everything to that, in the load test, and only added the fragment to the DOM itself when everything was done. I expected it to be much faster but it was in fact slower. Not having the time to investigate I had to leave the reason for that as a mystery, but in the back of my mind is the notion that I should go back and investigate.
--
You received this message because you are subscribed to a topic in the Google Groups "jsPlumb" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jsplumb/qEitbut0Mfw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jsplumb+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.