File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -33,5 +33,5 @@ function all_has_edge(g::AbstractGraph)
33
33
end
34
34
35
35
suite[" core" ][" has_edge" ] = BenchmarkGroup ([" graphs" , " digraphs" ])
36
- suite[" core" ][" has_edge" ][" graphs" ] = @benchmark [all_has_edge (g) for (n, g) in $ GRAPHS]
37
- suite[" core" ][" has_edge" ][" digraphs" ] = @benchmark [all_has_edge (g) for (n, g) in $ DIGRAPHS]
36
+ suite[" core" ][" has_edge" ][" graphs" ] = @benchmarkable [all_has_edge (g) for (n, g) in $ GRAPHS]
37
+ suite[" core" ][" has_edge" ][" digraphs" ] = @benchmarkable [all_has_edge (g) for (n, g) in $ DIGRAPHS]
Original file line number Diff line number Diff line change @@ -42,11 +42,11 @@ using BenchmarkTools
42
42
43
43
function comparison (f, g)
44
44
println (" Mulithreaded on $(Threads. nthreads ()) " )
45
- b1 = @benchmark mapvertices ($ f, $ g)
45
+ b1 = @benchmarkable mapvertices ($ f, $ g)
46
46
println (b1)
47
47
48
48
println (" singlethreaded" )
49
- b2 = @benchmark mapvertices_single ($ f, $ g)
49
+ b2 = @benchmarkable mapvertices_single ($ f, $ g)
50
50
println (b2)
51
51
return println (" done" )
52
52
end
You can’t perform that action at this time.
0 commit comments