Friendly as ever I see, Juha.
While the Pe-2 and Tu-2 were not quite in the same class, Juha, there was no equivalent to the B-29 anywhere else in the world. The B-29 could routinely haul 20,000 pounds of bombs on long range missions. The B-24 could haul 2,700 pounds on very long range missions up to 8,000 pounds on short missions. They were nothing alike.
The Pe-2 was somewhat lighter and hauled 3520 pounds of bombs. The Tu-2, while a bit heavier, could haul 3300 pounds internally and they could hang more externally to make a very short range payload of up to some 8,000 pounds. They didn't do that much from what I understand, but it was certainly possible. Many times they were dispatched with roughly the same payloads.
The Pe-2 and Tu-2 attacked the same targets as the Tu-2 and sometimes they were used alongside one another. In effect, they did the same job most of the time.
The B-24 never once did the same job as the B-29, so your question is a bit meaningless. It's like asking someone, "Did you walk to work or bring your lunch?" The two are unrelated.
You may think as you like and I agree with you that I'd rather have a Tu-2 if I only had one attack airplane, but I think the Pe-2 did more for the Soviet war effort than the Tu-2 did, and would take 11,000+ Pe-2's over 2,500 Tu-2's any day.
I might be mistaken there and, in the end, it wouldn't matter much either way, would it?