I'm running the following code line on my terminal to get a profile of my program.
python3 -m cProfile -s time main.py
However the output it prints is gigantic. I only want to know the 10 most time-consuming tasks or to sort them in ascending order. How can I tell this to cprof?