Gitlab really slow with a bunch of tags / branches
Created by: netdata-be
As you can see getting this request takes about 30 seconds. I'm using the latest master branch and apache/passenger combination.
Started GET "/dpplus/master/tree" for 10.32.64.70 at 2012-05-21 08:33:49 +0000
Processing by RefsController#tree as HTML
Parameters: {"project_id"=>"dpplus", "id"=>"master"}
Rendered refs/_head.html.haml (11318.3ms)
Rendered refs/_tree_item.html.haml (23.1ms)
Rendered refs/_tree_item.html.haml (21.5ms)
Rendered refs/_tree_item.html.haml (25.4ms)
Rendered refs/_tree_item.html.haml (39.0ms)
Rendered refs/_tree_item.html.haml (35.8ms)
Rendered refs/_tree_item.html.haml (21.1ms)
Rendered refs/_tree_item.html.haml (23.0ms)
Rendered refs/_tree_item.html.haml (26.4ms)
Rendered refs/_tree_item.html.haml (43.2ms)
Rendered refs/_tree_item.html.haml (104.4ms)
Rendered refs/_tree_item.html.haml (152.6ms)
Rendered refs/_tree_item.html.haml (37.7ms)
Rendered refs/_tree_item.html.haml (31.9ms)
Rendered refs/_tree_item.html.haml (208.6ms)
Rendered refs/_tree_item.html.haml (175.4ms)
Rendered refs/_tree_item.html.haml (307.3ms)
Rendered refs/_tree_item.html.haml (106.4ms)
Rendered refs/_tree_item.html.haml (279.2ms)
Rendered refs/_tree_item.html.haml (216.8ms)
Rendered refs/_tree_item.html.haml (38.8ms)
Rendered refs/_tree_item.html.haml (42.6ms)
Rendered refs/_tree_item.html.haml (141.3ms)
Rendered refs/_tree_item.html.haml (42.5ms)
Rendered refs/_tree_item.html.haml (24.4ms)
Rendered refs/_tree_item.html.haml (147.9ms)
Rendered refs/_tree_item.html.haml (64.7ms)
Rendered refs/_tree.html.haml (2413.7ms)
Rendered refs/tree.html.haml within layouts/project (13733.7ms)
Rendered layouts/_head.html.haml (4.4ms)
Rendered layouts/_flash.html.haml (0.1ms)
Rendered layouts/_head_panel.html.haml (108.1ms)
Rendered layouts/_project_menu.html.haml (14.8ms)
Completed 200 OK in 13893ms (Views: 13859.9ms | ActiveRecord: 6.5ms)
Is when I look to top I can see ruby taking 100% CPU Is this expected behaviour ?
This project has +- 200 tags and +- 50 branches