select test

Benchmark created on


Preparation HTML

<select>
    <option>test</option>
    <option>test</option>
    <option>test</option>
    <option>test</option>
</select><script src="//ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>

Test runner

Ready to run.

Testing in
TestOps/sec
gt
$('option:gt(0)').attr('disabled', 'disabled');
ready
eq
$('option').attr('disabled', 'disabled').eq(0).removeAttr('disabled');
ready

Revisions

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