~10x slower with streamlit

When calling diamond via, shell = True), I have a nearly 10 fold increase in time, and I cannot figure out why. Speed is crucial for me here for snappy app performance, and it’s the difference between 1 second and 10 seconds.

I couldn’t reproduce this with something simple, like"sleep 5",shell=True), though I can provide an example using diamond if that is indeed helpful.

Any insight into this would be much appreciated!

Does anyone have an idea on how to begin to debug this? This only happens with some versions of DIAMOND, but Im a bit out of my depth in figuring out where to go from here.

Any ideas would be much appreciated!

Hi @mmcguffi,

Would you mind sharing a minimal example using diamond that I could reproduce? Have you noted which of the some versions of DIAMOND are affected? That would be useful info while reproducing the issue. :slightly_smiling_face:

Best, :balloon: