Description
I am running into some intense performance issues. I wasn't running into this during initial development, however when I rolled out my tools into prod I started running into these issues.
Per form, I am displaying 9 input fields. 3 of those input fields use selectize. While developing, I was running no more than 5 forms per page. However now that I launched on prod, I have over 50 forms, since each form is a customer. Though I intend to add pagination, I am expecting to always have 50 per page.
I've updated my code so that I only load selectize on the currently visible form. The execution time is now around 1-2 seconds rather than 75 seconds. This is tested on the latest version of Chrome, IE 10, and IE 11. This does not happen in IE9.
Using IE's profiler, I was able to drill down into the call stack to notice the slowest method call was "offsetWidth".