title: How do I time script execution time in PyCharm without adding code every time?
body: <p>Currently I just add the following lines around my code:</p>
  
  <pre><code>import time
  start_time = time.time()
  
  # my code here
  
  print "time elapsed: {:.2f}s".format(time.time() - start_time)
  </code></pre>
  
  <p>Is it possible to achieve the same without adding code to every script I want to time? Either adding something in run configuration or using a plugin?</p>