gear
gear copied to clipboard
Charge for data section instantation
Problem to Solve
After investigating this issue, it was determined that the weight of code section instantiation substantially differs from the weight of data section instantiation. Therefore, we should charge for them separately.
Possible Solution
Charge for data section instantiation. The implementation idea is to base the charge on the number of OS pages (4K) used by data segments in the data section, as the number of OS pages contributes the most to the overall data section instantiation time.
Notes
Relates to #3907
Blocked by #3942, probably gonna be implemented in same PR.