In 2017, Roger Federer defeated Juan Martín del Potro in the semifinal, 3-6 6-3 6-3. After dropping the opening set, Federer won the next two, and the match lasted 117 minutes. In the other semifinal, Serena Paris beat Marin Cilic, 7-5 7-6(3). That match lasted 131 minutes and ended in a tiebreak.
In the 2017 Shanghai Masters final, Federer faced Nadal and won 6-4 6-3. This time, two sets and 72 minutes were enough for him.
A year earlier, in 2011, David Ferrer defeated Feliciano Lopez in the semifinal, 6-7(5) 6-3 6-3. After losing the tiebreak, Ferrer won the next two sets, and the match lasted 131 minutes. Andy Murray beat Kei Nishikori in the other semifinal, 6-3 6-0, finishing the match in 57 minutes.
The 2011 Shanghai Masters final pitted Murray against Ferrer. Murray won 7-5 6-4, and the tournament's title match lasted 106 minutes.