I notice some benchmarks in Frame have #[skip_meta].

What does this macro do?

Please explain when one should use this macro when benchmarking.

1 Answer 1


This is what I found.



It would ignore the reads_and_writes if the benchmark was marked as #[skip_meta].

It won't calculate the reads_and_writes and won't put them into the BenchmarkResult.

  • ahh nice find. I wonder why we would want to ignore the read and writes?
    – Yatusabes
    Dec 10, 2022 at 8:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.