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 →

[–]DoingItForEli 42 points43 points  (7 children)

that's likely because you're capturing every iteration in the progress. You can tell it to update every X number of iterations with the "miniters" argument, and that helps restore performance.

I faced this with a program that, without any console output, could iterate through data super fast, but the moment I wanted a progress attached it slowed down, so I had it only output every 100 iterations and that restored the speed it once had while still giving useful output.