Dropdown open time is higher in Chrome comparing to Firefox

Using select2 with dataset of thousands of items shows noticeable difference in dropdown open time in Chrome and Firefox. Could it be by code differences in select2 for these browsers?
The example placed here.
Tested with Chrome 84 and Firefox 79.

As far as I know there are no major differences between the Select2 code that runs in Firefox vs Chrome. However, Select2 is not efficient when dealing with large datasets (more than a few hundred items). You should use the Ajax feature to retrieve data from the server based on the user’s search term. That should result in a much smaller dataset that Select2 can handle efficiently.