##// END OF EJS Templates
scm: git: performance improvements in fetching revisions (#8857, #9472)...
scm: git: performance improvements in fetching revisions (#8857, #9472) Parse a revision for a given branch, just if we haven't parsed it for any branches before. Moved the db check to for existing revisions into a grouped search. Search for many revisions at once: this reduces db load. Revisions are grouped into sets of 100. This is to improve memory consumption. There will be just one query instead of each 100. The above two methods significantly increase parsing speed. Test case was a git repo with 6000+ commits on a master branch, and several other branches originating for master. Speed improved from 1.4h to 18min. Contributed by Gergely Fábián. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9144 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r7119:e0246646af6e
r9024:999a4ba30d7b
Show More
show.html.erb
42 lines | 1.6 KiB | text/plain | TextLexer
Jean-Philippe Lang
Makes title/filters consistent with the issue list....
r4790 <h2><%= @query.new_record? ? l(:label_calendar) : h(@query.name) %></h2>
Jean-Philippe Lang
Makes saved query filters visible (#2883)....
r2778
Jean-Philippe Lang
Converted issue filters to non-AJAX GET requests (#1965)....
r5156 <% form_tag({:controller => 'calendars', :action => 'show', :project_id => @project}, :method => :get, :id => 'query_form') do %>
<%= hidden_field_tag 'set_filter', '1' %>
Jean-Philippe Lang
Makes title/filters consistent with the issue list....
r4790 <fieldset id="filters" class="collapsible <%= @query.new_record? ? "" : "collapsed" %>">
Jean-Philippe Lang
Makes tickets and timelogs filters collapsible (UI)....
r2777 <legend onclick="toggleFieldset(this);"><%= l(:label_filter_plural) %></legend>
Jean-Philippe Lang
Makes title/filters consistent with the issue list....
r4790 <div style="<%= @query.new_record? ? "" : "display: none;" %>">
Jean-Philippe Lang
Adds support for free ticket filtering and custom queries on Calendar....
r1796 <%= render :partial => 'queries/filters', :locals => {:query => @query} %>
Jean-Philippe Lang
Makes tickets and timelogs filters collapsible (UI)....
r2777 </div>
</fieldset>
Jean-Philippe Lang
Adds support for free ticket filtering and custom queries on Calendar....
r1796
Jean-Philippe Lang
Makes tickets and timelogs filters collapsible (UI)....
r2777 <p style="float:right;">
Jean-Philippe Lang
Converted issue filters to non-AJAX GET requests (#1965)....
r5156 <%= link_to_previous_month(@year, @month) %> | <%= link_to_next_month(@year, @month) %>
Jean-Philippe Lang
Adds support for free ticket filtering and custom queries on Calendar....
r1796 </p>
<p class="buttons">
Eric Davis
Added missing labels to the Issue Calendar....
r3632 <%= label_tag('month', l(:label_month)) %>
Jean-Philippe Lang
Makes tickets and timelogs filters collapsible (UI)....
r2777 <%= select_month(@month, :prefix => "month", :discard_type => true) %>
Eric Davis
Added missing labels to the Issue Calendar....
r3632 <%= label_tag('year', l(:label_year)) %>
Jean-Philippe Lang
Makes tickets and timelogs filters collapsible (UI)....
r2777 <%= select_year(@year, :prefix => "year", :discard_type => true) %>
Jean-Philippe Lang
Converted issue filters to non-AJAX GET requests (#1965)....
r5156 <%= link_to_function l(:button_apply), '$("query_form").submit()', :class => 'icon icon-checked' %>
<%= link_to l(:button_clear), { :project_id => @project, :set_filter => 1 }, :class => 'icon icon-reload' %>
Jean-Philippe Lang
Adds support for free ticket filtering and custom queries on Calendar....
r1796 </p>
<% end %>
<%= error_messages_for 'query' %>
<% if @query.valid? %>
<%= render :partial => 'common/calendar', :locals => {:calendar => @calendar} %>
Jean-Philippe Lang
Move hardcoded calendar images to css classes....
r3363 <p class="legend cal">
Toshi MARUYAMA
replace tabs to spaces at app/views/calendars/show.html.erb...
r7119 <span class="starting"><%= l(:text_tip_issue_begin_day) %></span>
<span class="ending"><%= l(:text_tip_issue_end_day) %></span>
<span class="starting ending"><%= l(:text_tip_issue_begin_end_day) %></span>
Jean-Philippe Lang
Move hardcoded calendar images to css classes....
r3363 </p>
Jean-Philippe Lang
Adds support for free ticket filtering and custom queries on Calendar....
r1796 <% end %>
<% content_for :sidebar do %>
<%= render :partial => 'issues/sidebar' %>
<% end %>
<% html_title(l(:label_calendar)) -%>