We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5295cc7 commit 5d4e630Copy full SHA for 5d4e630
benchmark/benchmarks.jl
@@ -54,4 +54,8 @@ SUITE["basic"]["@py"]["pydict"]["pydel"] = @benchmarkable test_atpy(Val(true))
54
include("gcbench.jl")
55
using .GCBench: append_lots
56
57
-SUITE["gc"]["append_and_full_gc"] = @benchmarkable GC.gc(true) setup=(append_lots())
+SUITE["gc"]["append_and_full_gc"] = @benchmarkable(
58
+ GC.gc(true),
59
+ setup=(GC.gc(true); append_lots(size=159)),
60
+ seconds=30,
61
+)
benchmark/gcbench.jl
@@ -2,7 +2,7 @@ module GCBench
2
3
using PythonCall
4
5
-function append_lots(iters=100 * 1024, size=1596)
+function append_lots(; iters=100 * 1024, size=1596)
6
v = pylist()
7
for i = 1:iters
8
v.append(pylist(rand(size)))
0 commit comments