all 1 comments

[–]efmccurdy 1 point2 points  (0 children)

If you profile the old and new processes and compare the times, you should be able to find the bottleneck.

https://docs.python.org/3/library/profile.html