The native getElementById is faster. Jquery selector engine just wraps this for any #x selectors.
Using the firebug console you can profile jquery in the following way.
Not sure it works well for native api calls like getElementById.
console.profile();
$('#eleId');
console.profileEnd();