Cost inflation has been a major drag on the financial performance of miners since COVID-19 disrupted global supply changes.