-
Notifications
You must be signed in to change notification settings - Fork 187
Add support for Zisk profiling scopes #6434
Description
Zisk ziskemu allows for having AIR-cost profiling while setting up scopes to get more detailed views. See 0xPolygonHermez/zisk#680
At the EF zkVM team, we have been using this to have more granular view of the cost of proving blocks. For example, see the analysis report from some weeks ago.
To allow to have this view, I needed to add scopes more directly.
This issue is opened to see if would be possible to make this work in some shape/form that feels comfortable for the codebase. The most obvious take is to make this as part of report_cycles gated by a feature. But this might not be as simple as it seems since the scope name isn't a string but a "tag" that must be known at compile time.
The goal is that proper Zisk scopes are defined so we don't have to fork Ethrex to do these kind of analysis.
cc @ilitteri