I started poking around GitLab's frontend performance issues back on November 3, mostly because web performance is what I spend my day job thinking about anyway. Looked through epic &3284 first, which says around 52% of the JavaScript shipped on every GitLab page goes unused at first paint, and picked up a handful of small lazy-load fixes alongside something much messier in the repository view.
The early bundle fixes were mostly just hunting down stray imports. Like on the dependency firewall dashboard ( !267453 ), active_policies_table.vue was pulling getSecurityPolicyListUrl out of source_editor_security_policy_schema_ext.js , which meant a plain table page was dragging the Monaco editor in with it just to build one link. Moved that helper into security_policy_url_utility.js and pointed the dashboard and four security policy components at it.…