motoko-base
motoko-base copied to clipboard
Added `countInstructionsAsync` to ExperimentalInternetComputer module
In some cases, one wants to profile cycles consumption of the async* function, and it will be convenient to have the out-of-box function for that, just like it is for synchronous functions
Dear @AndyGura,
In order to potentially merge your code in this open-source repository and therefore proceed with your contribution, we need to have your approval on DFINITY's CLA[^1].
If you decide to agree with it, please visit this issue and read the instructions there.
— The DFINITY Foundation [^1]: Contributor License Agreement