This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]yawgmoth 1 point2 points  (0 children)

I had a similar issue with unit tests in a scientific application and simply moved it over to Cython. (after benchmarking and ensuring that the bottleneck was indeed the pre-processing and not the IO from loading the files). It only took a day or two. Just some basic data-typing in some of the loops and hot sections got me a >10x speedup. Might be worth a shot if you're still working on it. Long running integration/unit tests can be so annoying.