thechiselgroup / biomixer

BioMixer
http://bio-mixer.appspot.com/
16 stars 13 forks source link

very slow when responding to term neighbourhood #142

Closed ghost closed 10 years ago

ghost commented 12 years ago

examples blow.

http://20120711-1.bio-mixer.appspot.com/?mode=embed&embed_mode=paths_to_root&virtual_ontology_id=1370&full_concept_id=http%3A%2F%2Fpurl.obolibrary.org%2Fobo%2FATO_0000160&userapikey=

http://20120711-1.bio-mixer.appspot.com/?mode=embed&embed_mode=paths_to_root&virtual_ontology_id=1507&full_concept_id=http%3A%2F%2Fpurl.obolibrary.org%2Fobo%2FCCO%23_U0000002&userapikey=

cpetrachenko commented 12 years ago

In Firefox 13.0.1 running on Windows 7 Pro SP1 http://20120711-1.bio-mixer.appspot.com/?mode=embed&embed_mode=paths_to_root&virtual_ontology_id=1370&full_concept_id=http%3A%2F%2Fpurl.obolibrary.org%2Fobo%2FATO_0000160&userapikey=

There was an error dialog and then the browser hung for ~15 seconds:

A script on this page may be busy, or it may have stopped responding. You can stop the script now, or you can continue to see if the script will complete. Script: http://20120711-1.bio-mixer.appspot.com/org.thechiselgroup.biomixer.BioMixerWorkbench/564393ECCEB7402451FFA5668E4660C6.cache.html:5687

Then, the visualization tried to load for ~1minute and then I received a BioMixer error:

(TypeError): a is null stack: ixc(null,false)@http://20120711-1.bio-mixer.appspot.com/org.thechiselgroup.biomixer.BioMixerWorkbench/564393ECCEB7402451FFA5668E4660C6.cache.html:4358 uxc([object Object],null)@http://20120711-1.bio-mixer.appspot.com/org.thechiselgroup.biomixer.BioMixerWorkbench/564393ECCEB7402451FFA5668E4660C6.cache.html:4666 yxc([object Object],[object Object],null)@http://20120711-1.bio-mixer.appspot.com/org.thechiselgroup.biomixer.BioMixerWorkbench/564393ECCEB7402451FFA5668E4660C6.cache.html:5750 qxc([object Object],[object Object])@http://20120711-1.bio-mixer.appspot.com/org.thechiselgroup.biomixer.BioMixerWorkbench/564393ECCEB7402451FFA5668E4660C6.cache.html:5750 cxc([object Object],[object Object],[object Object])@http://20120711-1.bio-mixer.appspot.com/org.thechiselgroup.biomixer.BioMixerWorkbench/564393ECCEB7402451FFA5668E4660C6.cache.html:4676 cCc([object Object],[object Object])@http://20120711-1.bio-mixer.appspot.com/org.thechiselgroup.biomixer.BioMixerWorkbench/564393ECCEB7402451FFA5668E4660C6.cache.html:2636 CYc([object Object],[object Object],[object Object])@http://20120711-1.bio-mixer.appspot.com/org.thechiselgroup.biomixer.BioMixerWorkbench/564393ECCEB7402451FFA5668E4660C6.cache.html:4848 n5c([object Object],[object Object])@http://20120711-1.bio-mixer.appspot.com/org.thechiselgroup.biomixer.BioMixerWorkbench/564393ECCEB7402451FFA5668E4660C6.cache.html:3778 p5c([object Object])@http://20120711-1.bio-mixer.appspot.com/org.thechiselgroup.biomixer.BioMixerWorkbench/564393ECCEB7402451FFA5668E4660C6.cache.html:5756 dy([object Object],[object Object])@http://20120711-1.bio-mixer.appspot.com/org.thechiselgroup.biomixer.BioMixerWorkbench/564393ECCEB7402451FFA5668E4660C6.cache.html:5605 Px([object Object],[object Object])@http://20120711-1.bio-mixer.appspot.com/org.thechiselgroup.biomixer.BioMixerWorkbench/564393ECCEB7402451FFA5668E4660C6.cache.html:4854 jYc([object Object],[object Object],718,-16)@http://20120711-1.bio-mixer.appspot.com/org.thechiselgroup.biomixer.BioMixerWorkbench/564393ECCEB7402451FFA5668E4660C6.cache.html:4717 m4c([object Object])@http://20120711-1.bio-mixer.appspot.com/org.thechiselgroup.biomixer.BioMixerWorkbench/564393ECCEB7402451FFA5668E4660C6.cache.html:5756 hWc([object MouseEvent])@http://20120711-1.bio-mixer.appspot.com/org.thechiselgroup.biomixer.BioMixerWorkbench/564393ECCEB7402451FFA5668E4660C6.cache.html:5753 ibb([object MouseEvent],[object SVGSVGElement],[object Object])@http://20120711-1.bio-mixer.appspot.com/org.thechiselgroup.biomixer.BioMixerWorkbench/564393ECCEB7402451FFA5668E4660C6.cache.html:4698 ([object MouseEvent])@http://20120711-1.bio-mixer.appspot.com/org.thechiselgroup.biomixer.BioMixerWorkbench/564393ECCEB7402451FFA5668E4660C6.cache.html:5715 ck((function (a) {var b, c = this;while (c && !(b = c.listener)) {c = c.parentNode;}c && c.nodeType != 1 && (c = null);b && Gcb(b) && ibb(a, c, b);}),[object SVGSVGElement],[object Arguments])@http://20120711-1.bio-mixer.appspot.com/org.thechiselgroup.biomixer.BioMixerWorkbench/564393ECCEB7402451FFA5668E4660C6.cache.html:3597 fk((function (a) {var b, c = this;while (c && !(b = c.listener)) {c = c.parentNode;}c && c.nodeType != 1 && (c = null);b && Gcb(b) && ibb(a, c, b);}),[object SVGSVGElement],[object Arguments])@http://20120711-1.bio-mixer.appspot.com/org.thechiselgroup.biomixer.BioMixerWorkbench/564393ECCEB7402451FFA5668E4660C6.cache.html:5392 ([object MouseEvent])@http://20120711-1.bio-mixer.appspot.com/org.thechiselgroup.biomixer.BioMixerWorkbench/564393ECCEB7402451FFA5668E4660C6.cache.html:4589 fileName: http://20120711-1.bio-mixer.appspot.com/org.thechiselgroup.biomixer.BioMixerWorkbench/564393ECCEB7402451FFA5668E4660C6.cache.html lineNumber: 4358

lgrammel commented 12 years ago

This is likely due to the number of REST calls. In the first example, there are many (I guess 100-200) REST service calls made at the same time, and a lot of them time out (which is to be expected given the number of calls). This can be addressed once the REST services that accept a series of IDs (as discussed in March with Paul) are available.