Skip to content

Commit 397ef3f

Browse files
committed
benchmarks: include gcbench in runs
1 parent 4f78589 commit 397ef3f

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

benchmark/benchmarks.jl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,3 +49,7 @@ end
4949

5050
SUITE["basic"]["@py"]["pydict"]["init"] = @benchmarkable test_atpy(Val(false))
5151
SUITE["basic"]["@py"]["pydict"]["pydel"] = @benchmarkable test_atpy(Val(true))
52+
53+
54+
include("gcbench.jl")
55+
SUITE["gc"]["append_and_full_gc"] = @benchmarkable GC.gc(true) setup=(append_lots())

gcbench.jl renamed to benchmark/gcbench.jl

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,3 @@ function append_lots(iters=100 * 1024, size=1596)
2121
end
2222
return v
2323
end
24-
25-
@time "Total" begin
26-
@gctime append_lots()
27-
@time "Next full GC" begin
28-
GC.gc(true)
29-
end
30-
end

0 commit comments

Comments
 (0)