Slow rendering of pages for certain users
- ZD: https://gitlab.zendesk.com/agent/tickets/116808
- Related issue: https://gitlab.com/gitlab-com/support-forum/issues/4390
You can see this endpoint often takes 10+ seconds to load (https://log.gitlab.net/goto/228e917bef32f4bac4838eafa07a08a5). In my browser, it took 1.6 s to load:
Most of the time is spent in rendering views. A ruby-prof output is in http://profiler.gitlap.com/20190321/1775dff9-7765-48f1-8f01-f931007e235b.html.gz. It looks like most of that time is spent rendering partials, which is why I suspect this is a CPU contention issue.
Edited by Stan Hu