starsimhub / starsim

Starsim disease modeling framework
http://starsim.org
MIT License
15 stars 9 forks source link

Add automated profiling tool #656

Closed cliffckerr closed 1 month ago

cliffckerr commented 1 month ago

Would be nice to have ss.profile(sim) which would tell you how long is spent on each module in total ... !

cliffckerr commented 1 month ago

That was way easier than expected. :grin:

sim.loop.plot_cpu(): image