ganadist

Untitled

Aug 13th, 2017
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.56 KB | None | 0 0
  1. $ python3.6 /usr/lib/python3.6/test/pystone.py
  2. Pystone(1.2) time for 50000 passes = 0.364503
  3. This machine benchmarks at 137173 pystones/second
  4.  
  5.  
  6.  
  7. $ python3.6 -m cProfile /usr/lib/python3.6/test/pystone.py
  8. Pystone(1.2) time for 50000 passes = 0.543397
  9. This machine benchmarks at 92013.8 pystones/second
  10. 1050020 function calls in 0.545 seconds
  11.  
  12. Ordered by: standard name
  13.  
  14. ncalls tottime percall cumtime percall filename:lineno(function)
  15. 1 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap>:989(_handle_fromlist)
  16. 50000 0.090 0.000 0.203 0.000 pystone.py:144(Proc1)
  17. 50000 0.018 0.000 0.018 0.000 pystone.py:160(Proc2)
  18. 50000 0.022 0.000 0.029 0.000 pystone.py:171(Proc3)
  19. 50000 0.009 0.000 0.009 0.000 pystone.py:181(Proc4)
  20. 50000 0.008 0.000 0.008 0.000 pystone.py:188(Proc5)
  21. 50000 0.022 0.000 0.029 0.000 pystone.py:195(Proc6)
  22. 150000 0.019 0.000 0.019 0.000 pystone.py:214(Proc7)
  23. 50000 0.064 0.000 0.064 0.000 pystone.py:219(Proc8)
  24. 150000 0.019 0.000 0.019 0.000 pystone.py:232(Func1)
  25. 50000 0.035 0.000 0.042 0.000 pystone.py:240(Func2)
  26. 50000 0.007 0.000 0.007 0.000 pystone.py:257(Func3)
  27. 1 0.000 0.000 0.545 0.545 pystone.py:40(<module>)
  28. 1 0.000 0.000 0.000 0.000 pystone.py:50(Record)
  29. 50002 0.019 0.000 0.019 0.000 pystone.py:52(__init__)
  30. 50000 0.030 0.000 0.049 0.000 pystone.py:60(copy)
  31. 1 0.000 0.000 0.545 0.545 pystone.py:67(main)
  32. 1 0.000 0.000 0.545 0.545 pystone.py:74(pystones)
  33. 1 0.000 0.000 0.000 0.000 pystone.py:82(<listcomp>)
  34. 1 0.163 0.163 0.545 0.545 pystone.py:86(Proc0)
  35. 1 0.000 0.000 0.000 0.000 {built-in method builtins.__build_class__}
  36. 100000 0.012 0.000 0.012 0.000 {built-in method builtins.chr}
  37. 1 0.000 0.000 0.545 0.545 {built-in method builtins.exec}
  38. 1 0.000 0.000 0.000 0.000 {built-in method builtins.hasattr}
  39. 1 0.000 0.000 0.000 0.000 {built-in method builtins.len}
  40. 100000 0.008 0.000 0.008 0.000 {built-in method builtins.ord}
  41. 2 0.000 0.000 0.000 0.000 {built-in method builtins.print}
  42. 4 0.000 0.000 0.000 0.000 {built-in method time.time}
  43. 1 0.000 0.000 0.000 0.000 {method 'disable' of '_lsprof.Profiler' objects}
Advertisement
Add Comment
Please, Sign In to add comment