dfinity / interface-spec

IC Interface Specification
https://khsfq-wqaaa-aaaak-qckvq-cai.icp0.io/docs
37 stars 20 forks source link

RUN-636: Add per-call instruction counter #172

Closed dfinity-berestovskyy closed 1 year ago

dfinity-berestovskyy commented 1 year ago

The current execution instruction counter (performance counter type 0) gets reset at the beginning of each execution, i.e. at the beginning or each call, callback, or a system task. This makes the async code profiling difficult, as the profiling data must be stored across executions and then consolidated.

This new per-call instruction counter (performance counter type 1) is monotonically increasing across nested calls and await points, greatly facilitating the async code profiling and optimization.

netlify[bot] commented 1 year ago

Deploy Preview for ic-interface-spec ready!

Name Link
Latest commit 84244b679bfe5f4f8100977e0167e3185cbbba49
Latest deploy log https://app.netlify.com/sites/ic-interface-spec/deploys/64996c0e114b890008118c1a
Deploy Preview https://deploy-preview-172--ic-interface-spec.netlify.app/
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

mraszyk commented 1 year ago

Closing in favor of #185 which is converted from AsciiDoc to MarkDown.