The wins are still coming, but the work is getting harder – much harder. The Warriors look as if they’re wearing perfection around their necks and, moreover, it’s getting heavy.

After racing out to an 18-point lead in the first half, the Warriors gave it all back and had to come from behind for a 115-110 victory over the hard-charging Toronto Raptors on Tuesday night at sold-out Oracle Arena.

The victory pushed the Warriors’ regular-season home win streak to 25 and moved them to a franchise-record 12-0 this season, tying them with the 1996-97 Bulls for the second-best start by a defending champion.

Trailing 98-96 with 5:54 left, the Warriors summoned enough finishing kick to hold off the persistent Raptors.

Steph Curry scored a game-high 37 points to lead the way, while Klay Thompson tossed in 19 and Andrew Bogut added 13. Draymond Green finished with 9 points, nine rebounds and five assists.

The Warriors, wearing “The City” throwback jerseys for the first time since 2006-07, shot 53.8 percent from the floor to offset a 39-27 deficit in free throws.