I have implemented a code in Python which uses Monte Carlo simulations, but even at N=1000 it takes too much time. I have two questions:
Now I'm running it on a Notebook, would running it on Pycharm on my computer improve the performance?
How can I understand which part of my code is taking the most time? I would like to know for example: your code spend x% of the time on this for loop and y% in this other for loop.
Edit:
The code in particular is for evaluating odds of poker hands, so I'm simulating a lot of boards and every time evaluating which hand is better.