dear J wizards—how do I use @btime inside a function with a passed argument?
julia> function testme( afun ); @btime begin afun(2) end end
testme (generic function with 1 method)
julia> testme( println )
ERROR: UndefVarError: afun not defined
@atime works, but afaik, it is not recommended for benchmarking.