You can’t compare the two, because Nietzsche was a hedgehog and Foucault was a fox.
Isaiah Berlin said that there are two kinds of thinkers:
“There is a line among the fragments of the Greek poet Archilochus which says: “The fox knows many things, but the hedgehog knows one big thing.”
[T]he words … mark one of the deepest differences which divide writers and thinkers, and, it may be, human beings in general. For there exists a great chasm between those, on one side, who relate everything to … a single, universal, organising principle in terms of which alone all that they are and say has significance – and, on the other side, those who pursue many ends, often unrelated and even contradictory….” [Isaiah Berlin, The Hedgehog and the Fox, 1953.]