Speed can break a radar gun or make a batter look foolish. Every mph is accompanied by an ooh or aah.

If a pitcher could win a baseball game on speed alone, the Dodgers wouldn’t stand a chance against the Miami Marlins. When it comes to the radar gun, Dan Haren, Josh Beckett and Paul Maholm are no match for Tom Koehler, Jacob Turner and Jose Fernandez.

Koehler (3-3) notched his share of oohs and aahs and 95-mph fastballs, but the Dodgers notched a 6-5 victory Monday before an announced crowd of 37,187 at Dodger Stadium.

The key: 10 bases on balls, including two by Dee Gordon, Yasiel Puig and Matt Kemp.

Puig also hit a three-run home run in the fourth inning that followed walks to Drew Butera and Gordon. The 442-foot blast extended Puig’s hitting streak to 12 games and gave the Dodgers a 4-3 lead they would not relinquish.

“I thought we were patient with (Koehler) and obviously Yasiel’s home run was huge,” Dodgers manager Don Mattingly said.

The Dodgers (21-19) came back from an early deficit for the third straight game. The win was their second in five days since coming home, and their third in their last nine games overall. They kept pace with the victorious San Francisco Giants to remain 4 1/2 games out of first place in the National League West.

Haren (5-1), a veteran control artist, didn’t issue a free pass in seven innings.

The Marlins jumped out to a 3-1 lead after three innings on a solo home run by Christian Yelich and a two-run single by Giancarlo Stanton. Haren allowed seven hits total, but only one after the fourth inning. He struck out two batters in an efficient seven innings.

“Kind of typical Danny,” Mattingly said. “He’s going to stay in the game. He kind of just hangs in, continues to make pitches and stay in the game.”

Haren also drove in the Dodgers’ first run, stroking a 95-mph Koehler fastball to left field to score Matt Kemp in the second inning.

Kemp went 1 for 3 with a stolen base and scored twice. Justin Turner went 2 for 4, and Drew Butera doubled and scored twice.

Puig collected the easiest of his four RBIs when he drew a four-pitch, bases loaded walk against Henry Rodriguez in the fifth inning. Puig has drawn 17 walks in 34 games this season, compared to 36 walks in 104 games as a rookie.