JSFiddle - React, Tailwind, and code Playground

HTML

<!doctype html>
<html>
    <head>
        <title>Option Selector Test</title>
    </head>
    <body>
        <select id="testSelect">
        </select>
        <span id="selectTime"></span>
    </body>
</html>

JavaScript

$ ( document ).ready ( function () {
    var index, startTime;
    
    for ( index = 0; index < 12000; ++index ) {
        $ ( '#testSelect' ).append ( '<option value="' + index + '">' + index + '</option>' );
    }
    
    startTime = new Date ();
    $ ( 'option' ).length;
    $ ( '#selectTime' ).html ( ( new Date () - startTime ) / 1000 + ' seconds' );
} );