Monitoring Model During Simulation #64
-
When I simulate my network, I would like to know how much time and space is used for each component of my network in order to help optimize it, Is there any way to save the amount of time it takes for each behavior or each object like NeuronGroups to simulate without manually calculating these values? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Here's a code snippet I use to identify and troubleshoot bottlenecks: from pyinstrument import Profiler
with Profiler(async_mode="disabled") as p:
run_your_conex_model_here()
p.print() |
Beta Was this translation helpful? Give feedback.
-
Pymonntorch's Network class has a method for measuring the blocks' time. (Turn |
Beta Was this translation helpful? Give feedback.
Here's a code snippet I use to identify and troubleshoot bottlenecks: