Top "Cprofile" questions

cProfile is a built-in Python module that describes the run time performance of a program, providing a variety of statistics.

Sort cProfile output by percall when profiling a Python script

I'm using python -m cProfile -s calls myscript.py python -m cProfile -s percall myscript.py does not work. The …

python profiling cprofile
Python getting meaningful results from cProfile

I have a Python script in a file which takes just over 30 seconds to run. I am trying to profile …

python cprofile
cProfile saving data to file causes jumbles of characters

I am using cProfile on a module named bot4CA.py so in the console I type: python -m cProfile …

python file command-line profiling cprofile
profiling a method of a class in Python using cProfile?

I'd like to profile a method of a function in Python, using cProfile. I tried the following: import cProfile as …

python profiler cprofile
Using cProfile results with KCacheGrind

I'm using cProfile to profile my Python program. Based upon this talk I was under the impression that KCacheGrind could …

python profiling kcachegrind cprofile
How can I speed up fetching pages with urllib2 in python?

I have a script that fetches several web pages and parses the info. (An example can be seen at http://…

python time urllib2 urlopen cprofile
What is the difference between tottime and cumtime on cProfile output?

I am profiling a python script main.py using cProfile with the following command: python -m cProfile -s tottime main.…

python profiling cprofile
What is this cProfile result telling me I need to fix?

I would like to improve the performance of a Python script and have been using cProfile to generate a performance …

python performance profiling profile cprofile
Python multiprocess profiling

I'm struggling to figure out how to profile a simple multiprocess python script import multiprocessing import cProfile import time def …

python multiprocessing cprofile
saving cProfile results to readable external file

I am using cProfile try to profile my codes: pr = cProfile.Profile() pr.enable() my_func() # the code I want …

python python-3.x text profiling cprofile