Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions perf/flame.jl
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,6 @@ prof = Profile.@profile begin
do_work!(integrator, cache)
end

p = @allocated do_work!(integrator, cache)
using Test
@testset "Allocations" begin
@test p == 0
end

import ProfileCanvas

if haskey(ENV, "BUILDKITE_COMMIT") || haskey(ENV, "BUILDKITE_BRANCH")
Expand All @@ -47,3 +41,9 @@ if haskey(ENV, "BUILDKITE_COMMIT") || haskey(ENV, "BUILDKITE_BRANCH")
else
ProfileCanvas.view(Profile.fetch())
end

p = @allocated do_work!(integrator, cache)
using Test
@testset "Allocations" begin
@test p == 0
end
Loading