I haven't come across anything like that yet and I think there is not really any other way than testing for your specific scenarios.
There are way too many factors involved to give a consistent answer:
e.g. what NIC's are you using, are they doing TCP checksum offloading, how performant is your switching fabric, what disks are you using, how much cache do they have, how much data are you transferring, a lot of small packets or a few large packets, etc., etc.
When your are talking RAM access times you're talking about 10-100ns nowadays, vs probably around 4-8ms for harddrives. Any benchmark tool should give you good results for RAM & harddrive measuring
UDP vs. TCP on the other hand, you really can't give any specific numbers. Theoretically UDP should be be 30-50% faster than TCP because it's missing the extra trip for the ACK and has a smaller header overhead, however in reality there are many cases where TCP would outperform UDP just because of congestion control. Also, TCP with Nagle turned on batches packets, which again wouldn't be a fair comparison to UDP which doesn't do that.
All in all, really do your own testing according to your needs. Even if there was a benchmark sheet somewhere around of someone who ran similar tests, they might be completely invalid and non reproducible for your application & hardware stack