[Python-checkins] python/dist/src/Lib/test/output test_profile, 1.2, 1.3

mondragon at users.sourceforge.net mondragon at users.sourceforge.net
Wed Mar 24 16:57:11 EST 2004


Update of /cvsroot/python/python/dist/src/Lib/test/output
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8622/Lib/test/output

Modified Files:
	test_profile 
Log Message:
Enable the profiling of C functions (builtins and extensions)


Index: test_profile
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/output/test_profile,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** test_profile	22 Mar 2004 20:12:55 -0000	1.2
--- test_profile	24 Mar 2004 21:57:09 -0000	1.3
***************
*** 1,8 ****
  test_profile
!          53 function calls in 1.000 CPU seconds
  
     Ordered by: standard name
  
     ncalls  tottime  percall  cumtime  percall filename:lineno(function)
          1    0.000    0.000    1.000    1.000 <string>:1(?)
          0    0.000             0.000          profile:0(profiler)
--- 1,11 ----
  test_profile
!          74 function calls in 1.000 CPU seconds
  
     Ordered by: standard name
  
     ncalls  tottime  percall  cumtime  percall filename:lineno(function)
+        12    0.000    0.000    0.012    0.001 :0(hasattr)
+         8    0.000    0.000    0.000    0.000 :0(range)
+         1    0.000    0.000    0.000    0.000 :0(setprofile)
          1    0.000    0.000    1.000    1.000 <string>:1(?)
          0    0.000             0.000          profile:0(profiler)




More information about the Python-checkins mailing list