Wiktionary
do the hard yards
vb. (context idiomatic English) To perform a difficult task or tasks.