I am writing a PR to Modern Julia Workflows to suggest Chairmarks over BenchmarkTools. Their current text has this BenchmarkTools.jl example that I don't know how to do with Chairmarks. I couldn't find any examples like this in the documentation.
my_matmul(A, b) = A * b;
@btime my_matmul(A, b) setup=(
A = rand(1000, 1000); # use semi-colons between setup lines
b = rand(1000)
);