You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If we pull up the memory flamegraph of executing rollup-base-public with a cached artifact, we can then see that 96% of the peak memory usage comes from just deserializing the program artifact. Of this 1.6GB (52.6%) comes from the debug info as opposed to 1.3GB of actual bytecode (43.6%).
We should perform a similar optimization to the debug data stored in the program artifacts to minimise their memory footprint.
The text was updated successfully, but these errors were encountered:
We recently heavily reduced the memory consumption of the callstack representation within the compiler however once compilation is complete we then use the old inefficient representation of the callstacks.
noir/compiler/noirc_errors/src/debug_info.rs
Lines 103 to 105 in 0007992
If we pull up the memory flamegraph of executing
rollup-base-public
with a cached artifact, we can then see that 96% of the peak memory usage comes from just deserializing the program artifact. Of this 1.6GB (52.6%) comes from the debug info as opposed to 1.3GB of actual bytecode (43.6%).We should perform a similar optimization to the debug data stored in the program artifacts to minimise their memory footprint.
The text was updated successfully, but these errors were encountered: