After going all through it and reading everyone's lists
on increasing performance, there still weren't a lot of apparent problem areas. The main issues I saw were:
- 8,000+ lines of code
- People keep opening the site in IE6
Neither of those are things I can really correct. Especially the latter, for reasons I can't discuss lest my head explode.
One reason there's so much code in this application is that numerous DOM elements are added and wired up dynamically. Modern browsers seem to handle this well, so I don't want to imply it's excessive, but it is the thing I can control that'll offer the biggest performance boost if I change it. In most cases, these elements are added dynamically so the code doesn't have to go looking for them later to toggle their CSS classes or attach event listeners. Because of a custom templating system that provides the meat of the frontend, adding unique IDs to have a handy reference to these elements isn't an option.