“Spider-Man: Homecoming” was a soaring success. “Thor: Ragnarok” opened even bigger. Then “Black Panther” crushed both of them.

But none of those Marvel movies could compare to the franchise’s shiniest jewel, “Avengers: Infinity War,” which rampaged through the weekend with $630 million worldwide — easily the biggest global opening of all time.

Expectations were high for “Infinity War,” the first installment of a two-part finale, which will wrap up a whopping 20-film Disney franchise. The movie features a litany of brand-name stars — Robert Downey Jr., Scarlett Johansson, Chris Hemsworth, Gwyneth Paltrow, Don Cheadle, Chris Pratt and dozens more — as the heroes assemble to take down Thanos (Josh Brolin), the series’ biggest baddie yet. Disney poured in around $300 million to make the movie and another $150 million or so to market it, sending the extensive cast around the world and to nearly every talk show.

[ Read A.O. Scott’s spoiler-filled article about the ending of “Avengers: Infinity War.” ]

The investments paid off. The $630 million global opening for “Infinity War” crushed the previous record-holder, “The Fate of the Furious,” which arrived last year to a now seemingly pedestrian $542 million. Incredibly, “Infinity War” sprinted to first place without the enormous markets of China or Russia, where it will open in the next two weeks. Domestically, the film put up a cool $250 million and was celebrated in Hollywood as the biggest opening ever. When adjusted for inflation, though, “Infinity War” lags slightly behind “Star Wars: The Force Awakens,” which arrived in 2015 to about $261 million in today’s dollars.