Skip to content

Instantly share code, notes, and snippets.

@georgebrindeiro
Created October 3, 2017 21:12
Show Gist options
  • Save georgebrindeiro/f7da02734b5751740bda395a088256d6 to your computer and use it in GitHub Desktop.
Save georgebrindeiro/f7da02734b5751740bda395a088256d6 to your computer and use it in GitHub Desktop.
ema_trike imu_node profiling with cProfile
Sun Oct 1 14:38:19 2017 stats
544483 function calls (542040 primitive calls) in 44.773 seconds
Ordered by: cumulative time
List reduced from 721 to 10 due to restriction <10>
ncalls tottime percall cumtime percall filename:lineno(function)
1 0.000 0.000 44.773 44.773 <string>:1(<module>)
1 0.073 0.073 44.772 44.772 /home/glados/hratc2015_workspace/src/ema_trike/scripts/imu_node.py:11(main)
2984 0.064 0.000 43.735 0.015 /home/glados/git/ema_trike/scripts/ema/libs/yei/threespace_api.py:2914(faWriteRead)
2979 0.015 0.000 43.713 0.015 /home/glados/git/ema_trike/scripts/ema/libs/yei/threespace_api.py:2599(_wirelessWriteRead)
2967 0.008 0.000 43.353 0.015 /home/glados/git/ema_trike/scripts/ema/modules/imu.py:231(getStreamingData)
2967 0.007 0.000 43.344 0.015 /home/glados/git/ema_trike/scripts/ema/libs/yei/threespace_api.py:1627(getStreamingBatch)
11482 42.146 0.004 42.146 0.004 {time.sleep}
2988/2987 0.076 0.000 42.123 0.014 /usr/lib/python2.7/threading.py:308(wait)
3012 0.031 0.000 1.523 0.001 /usr/lib/python2.7/dist-packages/serial/serialposix.py:464(write)
3038 1.508 0.000 1.508 0.000 {select.select}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment