innerHeight in jQuery 1.7 vs. 1.8 vs. 1.10 vs 1.11.3 (v10)

Revision 10 of this benchmark created by Andrew on


Preparation HTML

<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
<script> var $jq17 = jQuery.noConflict( true ); </script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script>
<script> var $jq18 = jQuery.noConflict( true ); </script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<script> var $jq19 = jQuery.noConflict( true ); </script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<script> var $jq1113 = jQuery.noConflict( true ); </script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
<script> var $jq110 = jQuery.noConflict( true ); </script>
<table style="table-layout:fixed;width:100px;">
<tr>
<td style="width:50px;">sdfsd sdgdsgsdg erg4g4g dfgdfg</td>
<td style="width:50px;" id="myEl">sdfsd sdgdsgsdg erg4g4g dfgdfg sdfsdfsdff</td>
</tr>
</table>

Test runner

Ready to run.

Testing in
TestOps/sec
jQuery 1.7.1
var el = $jq17('#myEl');
el.outerHeight();
 
ready
jQuery 1.8
var el = $jq18('#myEl');
el.outerHeight();
ready
jQuery 1.9
var el = $jq19('#myEl');
el.outerHeight();
ready
jQuery 1.10
var el = $jq110('#myEl');
el.outerHeight();
ready
jQuery 1.11.3
var el = $jq1113('#myEl');
el.outerHeight();
ready

Revisions

You can edit these tests or add more tests to this page by appending /edit to the URL.