It does not work. Over and over again people were willing to hold out for as long as it took, or they gave bad information, or they broke but had been given bad information themselves just in case. The result is that the Nazis had to continually treat every break in intelligence as suspect, run down every suspect, and of course that took too much time. You also can’t torture people in some kind of magical and unlimited way, torture takes time too.
The result is the torture just doesn’t work as well as the alternatives, some of which can work very quickly. Worst torture makes people lazy and unprofessional that laziness and unprofessional conduct spreads to the organization. The kind of people who could be skilled and practiced torturers make poor policemen, intelligence officers, and soldiers.
This argument is much more fully and cogently made in the book Torture and Democracy, and there has the benefit of being fully cited. The bottom line however is that for whatever use you could think to put torture to, they would be another tool with a better success rate. Torture is not a science, and the results are predictably poor compared to scientific approaches to interrogation.