Skip to content

Is there a macro like Base.@timed or BenchmarkTools.@btimed? #166

@singularitti

Description

@singularitti

According to Base.@timed docs, @timed is

A macro to execute an expression, and return the value of the expression, elapsed time in seconds, total bytes allocated, garbage collection time, an object with various memory allocation counters, compilation time in seconds, and recompilation time in seconds.

Since version v1.6.0, BenchmarkTools.jl has added macro @btimed.
I wonder if Chairmarks.jl has the same tool or has it planned. I am migrating from BenchmarkTools.jl to Chairmarks.jl, it would be nice to have the same tool without changing much of my code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions