Actually, they are both subsonic aircraft and have a very similar top speed. The F117, however, has a larger radar cross signature, which makes it appear as a larger aircraft than the B2 in a radar return.
It's been a decade since I read much about it, but this site states that the F-117 has a radar cross section of 30 square centimeters while the B-2 has an RCS of 14 square centimeters.
[1] http://www.answers.com/topic/stealth-technology