Both did great for their village, the only flaw in Itachi's actions was his leaving Sasuke alive for Sasuke's and the Uchiha clan pride. In Itachi's noble actions of wounding his own heart by assassinating his clan, including his family and other loved ones, he couldn't bring himself to completely exterminate his bloodline so he had to leave somebody alive to have the hope of one day killing him and returning honor to the Uchiha name, who better to do that then his most treasured little brother. However by leaving Sasuke alive and having him foster such hatred, he indirectly assisted in the breeding of one of Konoha's most powerful criminals and even further disgrace to his clan. Although not intentional (having Sasuke turn the way he did) it was of his will to some extent.
On the note with Minato, had he let Kushina sacrifice herself, the village would be safe and Minato would still be alive and able to defend the village much more efficiently then Hiruzen and could've remained in power as Hokage, not to mention, Naruto could've had a father and techer and he could've still been the Jinchuuriki, making his power even greater then what it is now. Kushina's dragging the kyuubi back inside her would've resulted in the halt of the Kyuubi's ressurection, however they would have to deal with the ressurection somehow and I feel Naruto would've still been made a Jinchuuriki. Minato's sacrifice was for the sake of Kushina to see her child grow up
Both of these shinobi suffered from slight impulses of passion and emotion, however both did great for their village and are to be praised, I don't think either did better then the other in terms of who did more for the village.