As great as Floyd is, could he in his absolute prime ever be able to dodge over 20 punches all standing in one spot(without having to use or rely on footwork) like Sweat Pea? Whitaker once dodged like 8 quick punches in a row from a Prime Oscar De La Hoya in less than 6 seconds. Maybe Floyd at this point(right now) has accomplished slightly more than Pernell Whitaker but in terms of sheer talent and skills, I'd give the slight edge to Whitaker.
Overall Floyd is clearly the better fighter. Defensively it is an interesting discussion, but IMO Floyd takes fewer hits, probably because everything he does is extremely calculated and his game plans are conservative. Whitaker took more chances offensively which opened up his defense. If PW fought like Floyd he would probably have just as good of defense. I also think PBF has tighter defense whereas Pernell was incredibly flashy and made guys miss by a mile, Floyd will just make you miss by an inch. It accomplishes the same thing.
Two of my favorite fighters though with obvious similarities between the two. I've read about a sparring session they had in the 90s when Floyd was only 17. PW got the better of him obviously, but he came away very impressed with PBF even at that early of an age.