Skip to content

Add function to benchmark compile time execution #1

Description

@Viatorus
auto dur = ctp::bench(1 /* id */, []{
   // code...
});

ctp::print(dur); // 1s 12 ms

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    cppissues related to the C++ partenhancementNew feature or requestpythonissues related to the Python part

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions