Advertisement
Guest User

Untitled

a guest
Jul 17th, 2019
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.42 KB | None | 0 0
  1. (57.617-50.337)/57.617 = 12.6%
  2.  
  3. BEFORE:
  4. ncalls tottime percall cumtime percall filename:lineno(function)
  5. 1038/1 0.042 0.000 63.622 63.622 {built-in method builtins.exec}
  6. 1 0.000 0.000 63.622 63.622 video:2(<module>)
  7. 1 0.004 0.004 60.960 60.960 videoprocessor.py:56(process_and_play)
  8. 1 0.999 0.999 60.954 60.954 videoprocessor.py:104(__process_and_play_video)
  9. 1776 0.011 0.000 57.617 0.032 videoplayer.py:25(playFrame)
  10. 1776 7.538 0.004 52.474 0.030 videoplayer.py:41(__setFramePixels)
  11. 895104 6.080 0.000 21.884 0.000 videoplayer.py:65(__setPixel)
  12. 895104 10.581 0.000 21.111 0.000 gamma.py:26(getScaledRGBOutputForColorFrame)
  13. 895104 4.160 0.000 15.804 0.000 apa102.py:170(set_pixel_rgb)
  14. 896640 10.636 0.000 11.663 0.000 apa102.py:143(set_pixel)
  15. 2685312 10.530 0.000 10.530 0.000 gamma.py:40(getScaledOutputForPixel)
  16. 1779 0.083 0.000 5.140 0.003 apa102.py:192(show)
  17. 60486 0.135 0.000 4.840 0.000 SPI.py:78(write)
  18. 60486 4.705 0.000 4.705 0.000 {method 'writebytes' of 'SpiDev' objects}
  19.  
  20. AFTER:
  21. ncalls tottime percall cumtime percall filename:lineno(function)
  22. 1038/1 0.043 0.000 63.669 63.669 {built-in method builtins.exec}
  23. 1 0.000 0.000 63.669 63.669 video:2(<module>)
  24. 1 0.004 0.004 61.001 61.001 videoprocessor.py:56(process_and_play)
  25. 1 3.640 3.640 60.995 60.995 videoprocessor.py:104(__process_and_play_video)
  26. 1776 0.011 0.000 50.337 0.028 videoplayer.py:25(playFrame)
  27. 1776 5.880 0.003 45.285 0.025 videoplayer.py:41(__setFramePixels)
  28. 895104 10.589 0.000 20.967 0.000 gamma.py:26(getScaledRGBOutputForColorFrame)
  29. 895104 6.674 0.000 18.437 0.000 videoplayer.py:63(__setPixel)
  30. 896640 10.746 0.000 11.781 0.000 apa102.py:143(set_pixel)
  31. 2685312 10.378 0.000 10.378 0.000 gamma.py:40(getScaledOutputForPixel)
  32. 1779 0.090 0.000 5.050 0.003 apa102.py:192(show)
  33. 60486 0.136 0.000 4.748 0.000 SPI.py:78(write)
  34. 60486 4.612 0.000 4.612 0.000 {method 'writebytes' of 'SpiDev' objects}
  35. 731713/731368 1.908 0.000 2.502 0.000 {built-in method builtins.len}
  36. 1072/5 0.026 0.000 2.336 0.467 <frozen importlib._bootstrap>:966(_find_and_load)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement