Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Configuration:
- Intel(R) Core(TM) i3 CPU M 380 @ 2.53GHz
- Core Processor DRAM Controller
- creadit: http://chap09.blogspot.in
- Testing Pow functions
- --------------------------------------------------
- Custom/Recursive function
- 0 JUMP_IF_TRUE_OR_POP 30575
- 3 LOAD_NAME 10354 (10354)
- 6 <49>
- 7 <48>
- 8 <44>
- 9 SLICE+2
- 10 <49>
- 11 <48>
- 12 <48>
- 13 STORE_SLICE+1
- 103 function calls (3 primitive calls) in 0.000 seconds
- Ordered by: standard name
- ncalls tottime percall cumtime percall filename:lineno(function)
- 1 0.000 0.000 0.000 0.000 <string>:1(<module>)
- 101/1 0.000 0.000 0.000 0.000 pow.py:7(power)
- 1 0.000 0.000 0.000 0.000 {method 'disable' of '_lsprof.Profiler' objects}
- execution time 0.000048
- --------------------------------------------------
- built in math.pow function
- 0 IMPORT_FROM 29793 (29793)
- 3 BUILD_SET 28718
- 6 JUMP_IF_FALSE_OR_POP 10359
- 9 <49>
- 10 <48>
- 11 <44>
- 12 SLICE+2
- 13 <49>
- 14 <48>
- 15 <48>
- 16 STORE_SLICE+1
- 3 function calls in 0.000 seconds
- Ordered by: standard name
- ncalls tottime percall cumtime percall filename:lineno(function)
- 1 0.000 0.000 0.000 0.000 <string>:1(<module>)
- 1 0.000 0.000 0.000 0.000 {math.pow}
- 1 0.000 0.000 0.000 0.000 {method 'disable' of '_lsprof.Profiler' objects}
- execution time 0.000002
- --------------------------------------------------
- built in operators 10 ** 100
- 0 <49>
- 1 <48>
- 2 SLICE+2
- 3 STORE_SLICE+2
- 4 STORE_SLICE+2
- 5 SLICE+2
- 6 <49>
- 7 <48>
- 8 <48>
- 2 function calls in 0.000 seconds
- Ordered by: standard name
- ncalls tottime percall cumtime percall filename:lineno(function)
- 1 0.000 0.000 0.000 0.000 <string>:1(<module>)
- 1 0.000 0.000 0.000 0.000 {method 'disable' of '_lsprof.Profiler' objects}
- execution time 0.000001
Add Comment
Please, Sign In to add comment