I have a couple of problems with this post. First, Jesus was never beaten within an inch of his life. He had underwent 40-1 lashing in practice. Meaning, he was condemned to 40 lashings, but in practice this subtracted one just in case they miscounted. This is something that could be survived, and one was meant to survive it. It was a common ordeal prior to the crucifixion. It was not meant to kill, just hurt. The Romans did not want a person to die during the lashings, they wanted them to suffer on the cross for an elongated time.
Luke does not have Jesus complaining or anything. He is seen as quite tranquil. He is even talking about being in paradise later on. So in at least that account, I don't see too much taken away (now, I would say that account is a fraud, but that is besides the point). Either way, Jesus fully knew it was a temporary thing. He knew he would overcome death. So he had nothing to fear.
Logically, yes, it would be painful. But it was a relatively short time according to the Bible, Luke has him not really suffering at all, and according to the Bible, he knew would be alive once more, and be in paradise quite shortly. Personally, looking at the pay off, I would have done the same thing.