Unverified Commit f3e63571 authored by Marcio Diaz's avatar Marcio Diaz Committed by GitHub
Browse files

Fix benchmarks! macro for non dispatchable code (#5100)



* Init allowing non dispatchable closure to be benchmarked.

* Remove example, add it in timestamp

* Fix nits.

* Move test to example.

* Update frame/example/src/lib.rs

Co-Authored-By: default avatarShawn Tabrizi <[email protected]>

* Update frame/example/src/lib.rs

Co-Authored-By: default avatarShawn Tabrizi <[email protected]>

* Apply review suggestion: move test to benchmarking crate.

* Update frame/benchmarking/src/lib.rs

Co-Authored-By: default avatarBastian Köcher <[email protected]>

* Remove unused imports.

Co-authored-by: default avatarShawn Tabrizi <[email protected]>
Co-authored-by: default avatarBastian Köcher <[email protected]>
Co-authored-by: default avatarBenjamin Kampmann <[email protected]>
parent 75116bd8
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment