DedalusProject / dedalus

A flexible framework for solving PDEs with modern spectral methods.
http://dedalus-project.org/
GNU General Public License v3.0
489 stars 115 forks source link

Add built-in cprofile tooling #278

Closed kburns closed 7 months ago

kburns commented 7 months ago

This PR adds a profile keyword argument for the IVP solver that enables cProfile and accumulates the statistics across processes. It outputs separate accumulated profiles for startup, warmup, and runtime.