The literary device used in this paragraph is Comparison.
Explanation:
As its name suggests, <em>Comparison </em>is the literary device in which the author contrasts two elements to show similarity. In this text, the author explains that the character of Esperanza establishes the comparison between something that should be graceful (as a laughter of a woman) with something terrible to hear (breaking dishes).