A very simple test, just open and close the JavaScript panel in jsbin:
It's slow in Chrome, as so far as I can see, it's slow in Canary. Slow, like 100-200ms slow.
Offline is a completely different story. So I changed jsbin so you can see the difference in production.
There's 3 states of the jsbin JavaScript. To switch between versions, a cookie is dropped against jsbin.com:
- Build, no cookie: concat + uglified - jsbin-.min.js
- Concat, debug="concat": jsbin-.js
- Development, debug="true": each individual script is included as a
<script>
tag.
So,
- I can't for the life of me understand why the concat version is super slow compared to unconcatted.
- There is some rendering performance issues in the timeline, but no clues as to why (or that I understand)
- This just started happening in a recent update to Chrome (in the same release where the background apps to Chrome are flashing through on refresh - so something seems buggy to me).
I'm really asking to get professional eyes on the thing. I feel like it's a Chrome bug, but I can't narrow it down properly, and I guess some extra eyes might confirm my suspicion or just point out a mistake I've made.
@aerotwist and I will definitely figure it out and tell you what's up.