From the autobiography's synopsis:
…he was still collecting unemployment checks when he began shooting his breakout film role in Mel Brooks's original film version of The Producers (1968). The movie flopped commercially, but Wilder's comedic chops were established.
I hadn't realized that The Producers was a commercial flop. The real question is: was that the plan all along?