Skip to content

Commit

Permalink
Reduce allocations
Browse files Browse the repository at this point in the history
  • Loading branch information
Sbozzolo committed Oct 18, 2023
1 parent 76a03bd commit 7fbeb9b
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions perf/flame.jl
Original file line number Diff line number Diff line change
Expand Up @@ -59,14 +59,14 @@ allocs = @allocated SciMLBase.step!(integrator)
@info "`allocs ($job_id)`: $(allocs)"

allocs_limit = Dict()
allocs_limit["flame_perf_target"] = 4656
allocs_limit["flame_perf_target_tracers"] = 204288
allocs_limit["flame_perf_target_edmfx"] = 253440
allocs_limit["flame_perf_diagnostics"] = 3016136
allocs_limit["flame_perf_target_diagnostic_edmfx"] = 862464
allocs_limit["flame_perf_target_edmf"] = 6382052544
allocs_limit["flame_perf_target_threaded"] = 5857808
allocs_limit["flame_perf_target_callbacks"] = 46407936
allocs_limit["flame_perf_target"] = 4592
allocs_limit["flame_perf_target_tracers"] = 204224
allocs_limit["flame_perf_target_edmfx"] = 253008
allocs_limit["flame_perf_diagnostics"] = 3016072
allocs_limit["flame_perf_target_diagnostic_edmfx"] = 861824
allocs_limit["flame_perf_target_edmf"] = 5745042560
allocs_limit["flame_perf_target_threaded"] = 5856976
allocs_limit["flame_perf_target_callbacks"] = 38057984
allocs_limit["flame_perf_gw"] = 4865358896

if allocs < allocs_limit[job_id] * buffer
Expand Down

0 comments on commit 7fbeb9b

Please sign in to comment.