In the history of Hollywood, very few people — 28 to be precise, all men — have had the sole directing credit on a billion-dollar movie.

Make that 28 men and one woman: Greta Gerwig.

“Barbie,” directed by Ms. Gerwig from a script she wrote with her partner, Noah Baumbach, will finish the weekend with more than $1 billion in ticket sales at the global box office, according to Warner Bros. No movie in the studio’s 100-year history has sold so many tickets so fast, said Jeff Goldstein, Warner’s president of domestic distribution. As of Sunday, “Barbie” had been playing in theaters for 17 days. (“Harry Potter and the Deathly Hallows: Part 2” was previously the fastest to $1 billion, at 19 days.)

Ms. Gerwig could not be reached, according to a spokeswoman. Warner Bros. was giddy. “PINK FEVER,” Mr. Goldstein wrote in a text message. “Barbie” was No. 1 in the United States and Canada for the third weekend in a row, collecting $53 million, for a new domestic total…