We should have a macro (maybe it's called measure!) which is like the macros in the log or tracing crate which allow circuits to be measured depending on a configuration or feature flag and give a custom interface for storing the measurements (printing to stdout or logging to file, etc.). Perhaps we can actually use those crates too?
We should have a macro (maybe it's called
measure!
) which is like the macros in thelog
ortracing
crate which allow circuits to be measured depending on a configuration or feature flag and give a custom interface for storing the measurements (printing to stdout or logging to file, etc.). Perhaps we can actually use those crates too?