Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e8427e commit a68ca35Copy full SHA for a68ca35
1 file changed
README
@@ -559,6 +559,21 @@ Additional debugging code to help debug memory management problems can
559
be enabled by using the --with-pydebug option to the configure script.
560
561
562
+Profiling
563
+---------
564
+
565
+If you want C profiling turned on, the easiest way is to run configure
566
+with the CC environment variable to the necessary compiler
567
+invocation. For example, on Linux, this works for profiling using
568
+gprof(1):
569
570
+ CC="gcc -pg" ./configure
571
572
+Note that on Linux, gprof apparently does not work for shared
573
+libraries. The Makefile/Setup mechanism can be used to compile and
574
+link most extension module statically.
575
576
577
Testing
578
-------
579
0 commit comments