-
Notifications
You must be signed in to change notification settings - Fork 2
Profiling
StefanBerlin edited this page Jan 19, 2015
·
3 revisions
Used for profiling: line_profiler (https://pypi.python.org/pypi/line_profiler/)
(is not working in all processes)
profile: kernprof -l main.py
OUTPUT: python3 -m line_profiler main.py.lprof > /home/USER/Desktop/lineprof2
Some Results:
core.py:
Line # Hits Time Per Hit % Time Line Contents
525 376 1316947 3502.5 38.2 opt.parameter_alias = pl.get_subscribtions()[oID][opt.block_name].alias
542 1197 1624082 1356.8 47.1 opt.parameter_alias = pl.get_subscribtions()[oID][opt.block_name].alias