It was also nerve-wracking watching McDavid's lap.
"Even when Connor was in the last turn and he was at eight or nine seconds I was saying, 'I don't think I'm holding up.' But I did, and it's pretty cool.
"I remember growing up watching the fastest skater, and to be in it and win one, it's pretty exciting."
McDavid had not played since a 7-3 Oilers win against the Arizona Coyotes on Saturday. Barzal had a far shorter layoff with the Islanders, who defeated the Rangers 4-2 on Tuesday.
"He was on a break, his break actually happened for a few days, so he hadn't been on skates for a while," Barzal said. "I was fresher."
McDavid agreed.
"I think you're trying not to get hurt, obviously, but you're sitting on your bum for six days and you hop in and try to go 100 [miles per hour], so it's tough," McDavid said. "What are you going to do?
"But we try to do it for the fans and try to put on a good show."
Mission accomplished.
McDavid last year became the first player to win the event three times. His time in San Jose in 2019 was 13.378, which would have placed him third on Friday.