You can profile your script by hitting the ‘profile’ button (it is to the right of the ‘run’, ‘debug’, and ‘run with coverage’ buttons):
Among the output, you will find the name of the script itself, and the time needed to run it.
Note: the function is available in PyCharm PROFESSIONAL 2017.1 for the Linux platform; other installations might not provide the profiler button.