Skip to content

Commit

Permalink
Compile all callbacks in flame graph
Browse files Browse the repository at this point in the history
  • Loading branch information
charleskawczynski committed Dec 5, 2023
1 parent 49b27b4 commit 65c01f0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion perf/flame.jl
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ simulation = CA.get_simulation(config)

import SciMLBase
SciMLBase.step!(integrator) # compile first
CA.call_all_callbacks!(integrator) # compile callbacks
CA.call_all_callbacks!(integrator) # compile callbacks for out = ...
CA.call_all_callbacks!(integrator) # compile callbacks for out .= ...
import Profile, ProfileCanvas
output_dir = job_id
mkpath(output_dir)
Expand Down

0 comments on commit 65c01f0

Please sign in to comment.