I believe this is some crossover comic where Spider-Man and Superman face each other. The entire fight Superman was holding back. At the end of the fight he realizes Spider-Man is actually a good guy, so he decides to stop the fight by standing still taking punches from him until he gives up. Long time ago I read it.
Just some lazy writing to accommodate that Superman is too OP for this kind of crossover.
Peter Parker could out think Superman. Given the knowledge of Kryptonite, it would have been a good match up to see Superman working to stop Spider-Man from getting some.