Search found 1 match

by Jason34521
Monday 11 March 2019 12:23
Forum: Python
Topic: How can you profile a Python script?
Replies: 0
Views: 341

How can you profile a Python script?

Project Euler and other coding contests often have a maximum time to run or people boast of how fast their particular solution runs. With python, sometimes the approaches are somewhat kludgey - i.e., adding timing code to __main__.

What is a good way to profile how long a python program takes to run?