You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
BenchmarkTools.jl has some special syntax for string interpolation, plus the setup block, etc.
Often I'm @btime'ing something and then I just decide to run it once and simply remove the @btime, but this of course errors, and I need to revise it back to a version that doesn't use any special syntax. As a convenience, it would be nice to have a macro like @runonce which just runs the function once and gives the output, but accepts the special syntax.
The text was updated successfully, but these errors were encountered:
I'm going to close this for now as completed, please feel free to reopen if this did not resolve your issue. I'll also add that this is almost a duplicate of #118, which would be a good one to eventually fix.
BenchmarkTools.jl
has some special syntax for string interpolation, plus thesetup
block, etc.Often I'm
@btime
'ing something and then I just decide to run it once and simply remove the@btime
, but this of course errors, and I need to revise it back to a version that doesn't use any special syntax. As a convenience, it would be nice to have a macro like@runonce
which just runs the function once and gives the output, but accepts the special syntax.The text was updated successfully, but these errors were encountered: