[Python-checkins] python/dist/src configure, 1.448,
1.449 configure.in, 1.459, 1.460 pyconfig.h.in, 1.98, 1.99
mondragon at users.sourceforge.net
mondragon at users.sourceforge.net
Fri Jun 25 19:31:09 EDT 2004
Update of /cvsroot/python/python/dist/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23805
Modified Files:
configure configure.in pyconfig.h.in
Log Message:
Massive performance improvement for C extension and builtin tracing code
Index: configure
===================================================================
RCS file: /cvsroot/python/python/dist/src/configure,v
retrieving revision 1.448
retrieving revision 1.449
diff -C2 -d -r1.448 -r1.449
*** configure 22 Jun 2004 03:51:32 -0000 1.448
--- configure 25 Jun 2004 23:30:56 -0000 1.449
***************
*** 1,4 ****
#! /bin/sh
! # From configure.in Revision: 1.458 .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.59 for python 2.4.
--- 1,4 ----
#! /bin/sh
! # 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.
***************
*** 870,874 ****
--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
--- 870,873 ----
***************
*** 13031,13059 ****
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
--- 13030,13033 ----
Index: configure.in
===================================================================
RCS file: /cvsroot/python/python/dist/src/configure.in,v
retrieving revision 1.459
retrieving revision 1.460
diff -C2 -d -r1.459 -r1.460
*** configure.in 22 Jun 2004 03:51:37 -0000 1.459
--- configure.in 25 Jun 2004 23:31:05 -0000 1.460
***************
*** 1947,1963 ****
AC_MSG_RESULT($with_doc_strings)
- # Check for C call profiling support
- AC_MSG_CHECKING(for --with-c-profiling)
- AC_ARG_WITH(c-profiling,
- [ --with-c-profiling Enable profiling of builtins and C extension functions], [
- if test "$withval" != no
- then
- AC_DEFINE(WITH_C_PROF, 1,
- [Define to enable profile hooks for C extension functions and builtins])
- AC_MSG_RESULT(yes)
- else AC_MSG_RESULT(no)
- fi],
- [AC_MSG_RESULT(no)])
-
# Check for Python-specific malloc support
AC_MSG_CHECKING(for --with-tsc)
--- 1947,1950 ----
Index: pyconfig.h.in
===================================================================
RCS file: /cvsroot/python/python/dist/src/pyconfig.h.in,v
retrieving revision 1.98
retrieving revision 1.99
diff -C2 -d -r1.98 -r1.99
*** pyconfig.h.in 22 Jun 2004 03:51:31 -0000 1.98
--- pyconfig.h.in 25 Jun 2004 23:31:05 -0000 1.99
***************
*** 760,766 ****
#undef WINDOW_HAS_FLAGS
- /* Define to enable profile hooks for C extension functions and builtins */
- #undef WITH_C_PROF
-
/* Define if you want documentation strings in extension modules */
#undef WITH_DOC_STRINGS
--- 760,763 ----
More information about the Python-checkins
mailing list