We should be able to visualize gas usage from VM profile files. It should look something like this:
Currently this is not as useful as it would be, because Sway inlines all function calls. The compiler provides no mapping for locating the original calling function, meaning that nested scopes seen in the image above are unavailable. This also makes it impossible to get proper code coverage reports at the moment.
We should be able to visualize gas usage from VM profile files. It should look something like this:
Currently this is not as useful as it would be, because Sway inlines all function calls. The compiler provides no mapping for locating the original calling function, meaning that nested scopes seen in the image above are unavailable. This also makes it impossible to get proper code coverage reports at the moment.