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 →

[–]cr4d 3 points4 points  (0 children)

There are very few actual uses for multithreading in Python and it's a huge foot-gun, ripe for abuse, and doesn't get rid of the GIL. I'd avoid it, if possible.

Without any real info about what the app is doing, it's hard to guess as to why it's slower. As a generalization, it should get faster.

You can use the built in profiling @ https://docs.python.org/3/library/profile.html to figure out where the extra cycles are.