User Tools

Site Tools


code:profiling

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

code:profiling [2009/11/30 01:25]
127.0.0.1 external edit
code:profiling [2017/12/22 14:25] (current)
phil
Line 27: Line 27:
 $ ./a.out $ ./a.out
 $ gprof a.out gmon.out $ gprof a.out gmon.out
 +</​code>​
 +
 +==== Python ====
 +
 +Profiling Python is pretty simple, using cPython module:
 +<​code>​
 +$ python -m cPython myscript.py
 </​code>​ </​code>​
  
code/profiling.txt · Last modified: 2017/12/22 14:25 by phil