Big file & slow files page problem
Created by: Trontastic
Hey
First problem: I uploaded a text file with ~3.5mb size and ~90,000 lines, but when i want to check the commit, i think the gitlab want to load all the file, and my browser freeze until i dont restart them.
Is it possible to show new files as "added / removed", and dont see the content?
Second: Every page load in 1sec, but the Files page need to load at least 5-10 seconds... How can i fix it?
Thanx.
=[ VPS Specification ]= Debian 6 3GB ram Latest stable gitlab
=[ Loading FILES menu ]= Started GET "/test/master/tree" for x.x.x.x at 2012-10-20 17:30:50 +0200 Processing by RefsController#tree as HTML Parameters: {"project_id"=>"test", "id"=>"master"} Rendered shared/_ref_switcher.html.haml (1.7ms) Rendered refs/_head.html.haml (3.2ms) Rendered refs/_tree_item.html.haml (15197.2ms) Rendered refs/_tree.html.haml (15199.1ms) Rendered refs/tree.html.haml within layouts/project (15203.0ms) Rendered layouts/_head.html.haml (2.4ms) Rendered layouts/_flash.html.haml (0.1ms) Rendered layouts/_head_panel.html.haml (7.8ms) Rendered layouts/_project_menu.html.haml (11.9ms) Completed 200 OK in 15267ms (Views: 15226.3ms | ActiveRecord: 13.2ms)
=[ Loading the BIG file's commit ]= Started GET "/test/commits/6fbd7c5d2cd04f3feaf5acf703b13d54c307670e" for x.x.x.x at 2012-10-20 17:45:25 +0200 Processing by CommitsController#show as HTML Parameters: {"project_id"=>"test", "id"=>"6fbd7c5d2cd04f3feaf5acf703b13d54c307670e"} Rendered commits/_commit_box.html.haml (19.2ms) Rendered commits/_diff_head.html.haml (7.7ms) Rendered notes/_per_line_note_link.html.haml (0.2ms) Rendered notes/_per_line_note_link.html.haml (0.2ms) Rendered notes/_per_line_note_link.html.haml (0.2ms) Rendered notes/_per_line_note_link.html.haml (0.1ms) Rendered notes/_per_line_note_link.html.haml (0.2ms) Rendered notes/_per_line_note_link.html.haml (0.2ms) Rendered notes/_per_line_note_link.html.haml (0.2ms) Rendered notes/_per_line_note_link.html.haml (0.2ms) Rendered notes/_per_line_note_link.html.haml (0.2ms) Rendered notes/_per_line_note_link.html.haml (0.1ms) Rendered notes/_per_line_note_link.html.haml (0.2ms) Rendered notes/_per_line_note_link.html.haml (0.2ms) Rendered notes/_per_line_note_link.html.haml (0.2ms) Rendered notes/_per_line_note_link.html.haml (0.2ms) Rendered notes/_per_line_note_link.html.haml (0.2ms) Rendered notes/_per_line_note_link.html.haml (0.1ms) Rendered notes/_per_line_note_link.html.haml (0.2ms) Rendered notes/_per_line_note_link.html.haml (0.2ms) Rendered notes/_per_line_note_link.html.haml (0.2ms)
And much more... 5MB log from this single request