Skip to content

Monitoring Model During Simulation #64

Answered by realamirhe
a2l5t8 asked this question in Q&A
Discussion options

You must be logged in to vote

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()

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@a2l5t8
Comment options

@realamirhe
Comment options

Answer selected by a2l5t8
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
3 participants