plumb testing

Benchmark created on


Preparation HTML

<script src="//ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
<script src="//jsplumbtoolkit.com/js/jquery.jsPlumb-1.5.5-min.js"></script>
<div id="hello">Hello</div>
<div id="bye">Bye</div>

Setup

jsPlumb.setRenderMode(jsPlumb.SVG);
    for (var i = 0; i < 20; i++) {
    jsPlumb.connect({
          source: $("#hello"),
          target: $("#bye")
    });
    }

Test runner

Ready to run.

Testing in
TestOps/sec
detachall
jsPlumb.select({ source: "hello" }).detach();
ready
detach
jsPlumb.select({ source: "hello" }).each(function (c) {
    jsPlumb.detach(c);
});
ready

Revisions

You can edit these tests or add more tests to this page by appending /edit to the URL.