Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ python3.6 /usr/lib/python3.6/test/pystone.py
- Pystone(1.2) time for 50000 passes = 0.364503
- This machine benchmarks at 137173 pystones/second
- $ python3.6 -m cProfile /usr/lib/python3.6/test/pystone.py
- Pystone(1.2) time for 50000 passes = 0.543397
- This machine benchmarks at 92013.8 pystones/second
- 1050020 function calls in 0.545 seconds
- Ordered by: standard name
- ncalls tottime percall cumtime percall filename:lineno(function)
- 1 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap>:989(_handle_fromlist)
- 50000 0.090 0.000 0.203 0.000 pystone.py:144(Proc1)
- 50000 0.018 0.000 0.018 0.000 pystone.py:160(Proc2)
- 50000 0.022 0.000 0.029 0.000 pystone.py:171(Proc3)
- 50000 0.009 0.000 0.009 0.000 pystone.py:181(Proc4)
- 50000 0.008 0.000 0.008 0.000 pystone.py:188(Proc5)
- 50000 0.022 0.000 0.029 0.000 pystone.py:195(Proc6)
- 150000 0.019 0.000 0.019 0.000 pystone.py:214(Proc7)
- 50000 0.064 0.000 0.064 0.000 pystone.py:219(Proc8)
- 150000 0.019 0.000 0.019 0.000 pystone.py:232(Func1)
- 50000 0.035 0.000 0.042 0.000 pystone.py:240(Func2)
- 50000 0.007 0.000 0.007 0.000 pystone.py:257(Func3)
- 1 0.000 0.000 0.545 0.545 pystone.py:40(<module>)
- 1 0.000 0.000 0.000 0.000 pystone.py:50(Record)
- 50002 0.019 0.000 0.019 0.000 pystone.py:52(__init__)
- 50000 0.030 0.000 0.049 0.000 pystone.py:60(copy)
- 1 0.000 0.000 0.545 0.545 pystone.py:67(main)
- 1 0.000 0.000 0.545 0.545 pystone.py:74(pystones)
- 1 0.000 0.000 0.000 0.000 pystone.py:82(<listcomp>)
- 1 0.163 0.163 0.545 0.545 pystone.py:86(Proc0)
- 1 0.000 0.000 0.000 0.000 {built-in method builtins.__build_class__}
- 100000 0.012 0.000 0.012 0.000 {built-in method builtins.chr}
- 1 0.000 0.000 0.545 0.545 {built-in method builtins.exec}
- 1 0.000 0.000 0.000 0.000 {built-in method builtins.hasattr}
- 1 0.000 0.000 0.000 0.000 {built-in method builtins.len}
- 100000 0.008 0.000 0.008 0.000 {built-in method builtins.ord}
- 2 0.000 0.000 0.000 0.000 {built-in method builtins.print}
- 4 0.000 0.000 0.000 0.000 {built-in method time.time}
- 1 0.000 0.000 0.000 0.000 {method 'disable' of '_lsprof.Profiler' objects}
Advertisement
Add Comment
Please, Sign In to add comment