Index: Lib/test/output/test_profile =================================================================== --- Lib/test/output/test_profile (revision 58550) +++ Lib/test/output/test_profile (working copy) @@ -1,5 +1,5 @@ test_profile - 120 function calls (100 primitive calls) in 1.000 CPU seconds + 122 function calls (102 primitive calls) in 1.000 CPU seconds Ordered by: standard name @@ -9,6 +9,7 @@ 1 0.000 0.000 1.000 1.000 :0(exec) 12 0.000 0.000 0.012 0.001 :0(hasattr) 1 0.000 0.000 0.000 0.000 :0(setprofile) + 1 0.000 0.000 0.000 0.000 :0(utf_8_decode) 1 0.000 0.000 1.000 1.000 :1() 0 0.000 0.000 profile:0(profiler) 1 0.000 0.000 1.000 1.000 profile:0(testfunc()) @@ -21,6 +22,7 @@ 4 0.116 0.029 0.120 0.030 test_profile.py:78(helper1) 2 0.000 0.000 0.140 0.070 test_profile.py:89(helper2_indirect) 8 0.312 0.039 0.400 0.050 test_profile.py:93(helper2) + 1 0.000 0.000 0.000 0.000 utf_8.py:15(decode) Ordered by: standard name @@ -29,8 +31,10 @@ :0(append) -> :0(exc_info) -> :0(exec) -> :1()(1) 1.000 + utf_8.py:15(decode)(1) 0.000 :0(hasattr) -> test_profile.py:115(__getattr__)(12) 0.028 :0(setprofile) -> +:0(utf_8_decode) -> :1() -> test_profile.py:30(testfunc)(1) 1.000 profile:0(profiler) -> profile:0(testfunc())(1) 1.000 profile:0(testfunc()) -> :0(exec)(1) 1.000 @@ -52,6 +56,7 @@ test_profile.py:93(helper2)(2) 0.400 test_profile.py:93(helper2) -> :0(hasattr)(8) 0.012 test_profile.py:103(subhelper)(8) 0.080 +utf_8.py:15(decode) -> :0(utf_8_decode)(1) 0.000 Ordered by: standard name @@ -63,6 +68,7 @@ :0(hasattr) <- test_profile.py:78(helper1)(4) 0.120 test_profile.py:93(helper2)(8) 0.400 :0(setprofile) <- profile:0(testfunc())(1) 1.000 +:0(utf_8_decode) <- utf_8.py:15(decode)(1) 0.000 :1() <- :0(exec)(1) 1.000 profile:0(profiler) <- profile:0(testfunc()) <- profile:0(profiler)(1) 0.000 @@ -79,5 +85,6 @@ test_profile.py:89(helper2_indirect) <- test_profile.py:60(helper)(2) 0.600 test_profile.py:93(helper2) <- test_profile.py:60(helper)(6) 0.600 test_profile.py:89(helper2_indirect)(2) 0.140 +utf_8.py:15(decode) <- :0(exec)(1) 1.000 Index: Lib/test/output/test_cProfile =================================================================== --- Lib/test/output/test_cProfile (revision 58550) +++ Lib/test/output/test_cProfile (working copy) @@ -1,5 +1,5 @@ test_cProfile - 119 function calls (99 primitive calls) in 1.000 CPU seconds + 121 function calls (101 primitive calls) in 1.000 CPU seconds Ordered by: standard name @@ -14,6 +14,8 @@ 4 0.116 0.029 0.120 0.030 test_cProfile.py:78(helper1) 2 0.000 0.000 0.140 0.070 test_cProfile.py:89(helper2_indirect) 8 0.312 0.039 0.400 0.050 test_cProfile.py:93(helper2) + 1 0.000 0.000 0.000 0.000 utf_8.py:15(decode) + 1 0.000 0.000 0.000 0.000 {_codecs.utf_8_decode} 1 0.000 0.000 1.000 1.000 {exec} 12 0.000 0.000 0.012 0.001 {hasattr} 4 0.000 0.000 0.000 0.000 {method 'append' of 'list' objects} @@ -43,7 +45,10 @@ 2 0.078 0.100 test_cProfile.py:93(helper2) test_cProfile.py:93(helper2) -> 8 0.064 0.080 test_cProfile.py:103(subhelper) 8 0.000 0.008 {hasattr} +utf_8.py:15(decode) -> 1 0.000 0.000 {_codecs.utf_8_decode} +{_codecs.utf_8_decode} -> {exec} -> 1 0.000 1.000 :1() + 1 0.000 0.000 utf_8.py:15(decode) {hasattr} -> 12 0.012 0.012 test_cProfile.py:115(__getattr__) {method 'append' of 'list' objects} -> {method 'disable' of '_lsprof.Profiler' objects} -> @@ -68,6 +73,8 @@ test_cProfile.py:89(helper2_indirect) <- 2 0.000 0.140 test_cProfile.py:60(helper) test_cProfile.py:93(helper2) <- 6 0.234 0.300 test_cProfile.py:60(helper) 2 0.078 0.100 test_cProfile.py:89(helper2_indirect) +utf_8.py:15(decode) <- 1 0.000 0.000 {exec} +{_codecs.utf_8_decode} <- 1 0.000 0.000 utf_8.py:15(decode) {exec} <- {hasattr} <- 4 0.000 0.004 test_cProfile.py:78(helper1) 8 0.000 0.008 test_cProfile.py:93(helper2)