mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Massive performance improvement for C extension and builtin tracing code
This commit is contained in:
parent
ec6229e352
commit
d858a7763a
5 changed files with 31 additions and 97 deletions
28
configure
vendored
28
configure
vendored
|
@ -1,5 +1,5 @@
|
|||
#! /bin/sh
|
||||
# From configure.in Revision: 1.458 .
|
||||
# From configure.in Revision: 1.459 .
|
||||
# Guess values for system-dependent variables and create Makefiles.
|
||||
# Generated by GNU Autoconf 2.59 for python 2.4.
|
||||
#
|
||||
|
@ -869,7 +869,6 @@ Optional Packages:
|
|||
deprecated; use --with(out)-threads
|
||||
--with-pth use GNU pth threading libraries
|
||||
--with(out)-doc-strings disable/enable documentation strings
|
||||
--with-c-profiling Enable profiling of builtins and C extension functions
|
||||
--with(out)-tsc enable/disable timestamp counter profile
|
||||
--with(out)-pymalloc disable/enable specialized mallocs
|
||||
--with-wctype-functions use wctype.h functions
|
||||
|
@ -13030,31 +13029,6 @@ fi
|
|||
echo "$as_me:$LINENO: result: $with_doc_strings" >&5
|
||||
echo "${ECHO_T}$with_doc_strings" >&6
|
||||
|
||||
# Check for C call profiling support
|
||||
echo "$as_me:$LINENO: checking for --with-c-profiling" >&5
|
||||
echo $ECHO_N "checking for --with-c-profiling... $ECHO_C" >&6
|
||||
|
||||
# Check whether --with-c-profiling or --without-c-profiling was given.
|
||||
if test "${with_c_profiling+set}" = set; then
|
||||
withval="$with_c_profiling"
|
||||
|
||||
if test "$withval" != no
|
||||
then
|
||||
|
||||
cat >>confdefs.h <<\_ACEOF
|
||||
#define WITH_C_PROF 1
|
||||
_ACEOF
|
||||
|
||||
echo "$as_me:$LINENO: result: yes" >&5
|
||||
echo "${ECHO_T}yes" >&6
|
||||
else echo "$as_me:$LINENO: result: no" >&5
|
||||
echo "${ECHO_T}no" >&6
|
||||
fi
|
||||
else
|
||||
echo "$as_me:$LINENO: result: no" >&5
|
||||
echo "${ECHO_T}no" >&6
|
||||
fi;
|
||||
|
||||
# Check for Python-specific malloc support
|
||||
echo "$as_me:$LINENO: checking for --with-tsc" >&5
|
||||
echo $ECHO_N "checking for --with-tsc... $ECHO_C" >&6
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue