What do you mean by "record"?
If you mean winning %, it's obviously Sampras.
If you mean which is the more impressive record, then anyone who tells you it isn't Federer is kidding themselves. Making three extra finals is obviously better than losing earlier.