What was worse, black death or cholera in the middle ages?

Cholera. Because it killed more people. Black death, aka the plague, probably killed about 140 million people up to the 20th century; cholera has killed over a billion.