diff options
author | Guido van Rossum <guido@python.org> | 2001-10-04 17:00:07 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2001-10-04 17:00:07 (GMT) |
commit | a68ca35a8bc56d572ac6ab343ce6359bbd3ab5cc (patch) | |
tree | 797982ca962ac0ace5f708f60b6611af1cbe36f6 | |
parent | 0e8427e4f2460ea0260b13bb375598063cc179c4 (diff) | |
download | cpython-a68ca35a8bc56d572ac6ab343ce6359bbd3ab5cc.zip cpython-a68ca35a8bc56d572ac6ab343ce6359bbd3ab5cc.tar.gz cpython-a68ca35a8bc56d572ac6ab343ce6359bbd3ab5cc.tar.bz2 |
Add note about profiling.
-rw-r--r-- | README | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -559,6 +559,21 @@ Additional debugging code to help debug memory management problems can be enabled by using the --with-pydebug option to the configure script. +Profiling +--------- + +If you want C profiling turned on, the easiest way is to run configure +with the CC environment variable to the necessary compiler +invocation. For example, on Linux, this works for profiling using +gprof(1): + + CC="gcc -pg" ./configure + +Note that on Linux, gprof apparently does not work for shared +libraries. The Makefile/Setup mechanism can be used to compile and +link most extension module statically. + + Testing ------- |