BigW Consortium Gitlab

  1. 16 Nov, 2015 4 commits
  2. 13 Nov, 2015 1 commit
  3. 12 Nov, 2015 1 commit
    • Avoid render edit_form in each notes. · 19740871
      Jason Lee authored
      Use RJS to render edit note feature.
      
      Before:
      
      ```
      Rendered projects/notes/_note.html.haml (27.9ms)
      Rendered projects/_zen.html.haml (0.3ms)
      Rendered projects/notes/_hints.html.haml (0.7ms)
      Rendered projects/_md_preview.html.haml (3.9ms)
      Rendered projects/notes/_edit_form.html.haml (6.9ms)
      Rendered projects/notes/_note.html.haml (17.7ms)
      Rendered projects/_zen.html.haml (0.3ms)
      Rendered projects/notes/_hints.html.haml (0.6ms)
      Rendered projects/_md_preview.html.haml (3.4ms)
      Rendered projects/notes/_edit_form.html.haml (7.0ms)
      ```
      
      After:
      
      ```
      Rendered projects/notes/_note.html.haml (13.8ms)
      Rendered projects/notes/_note.html.haml (7.1ms)
      Rendered projects/notes/_note.html.haml (9.5ms)
      Rendered projects/notes/_note.html.haml (8.5ms)
      ```
      
      This change reduce at least 6ms * N ('N' - number of notes).
  4. 10 Nov, 2015 3 commits
  5. 09 Nov, 2015 4 commits
    • remove state_machine_patch.rb · e357e4fb
      Pirate Praveen authored
    • Added Sherlock, a custom profiling tool for GitLab · dec3e4ce
      Yorick Peterse authored
      Sherlock will be a new GitLab specific tool for measuring the
      performance of Rails requests (and SideKiq jobs at some point). Some of
      the things that are currently tracked:
      
      * SQL queries along with their timings, backtraces and query plans
        (using "EXPLAIN ANALYZE" for PostgreSQL and regular "EXPLAIN" for
        MySQL)
      * Timings of application files (including views) on a per line basis
      * Some meta data such as the request method, path, total duration, etc
      
      More tracking (e.g. Rugged or gitlab-shell timings) might be added in
      the future.
      
      Sherlock will replace any existing tools we have used so far (e.g.
      active_record_query_trace and rack-mini-profiler), hence the
      corresponding Gems have been removed from the Gemfile.
      
      Sherlock can be enabled by starting Rails as following:
      
          ENABLE_SHERLOCK=1 bundle exec rails s
      
      Recorded transactions can be found at `/sherlock/transactions`.
    • Fix incoming email config defaults · 0fb85939
      Douwe Maan authored
  6. 08 Nov, 2015 1 commit
  7. 05 Nov, 2015 5 commits
  8. 03 Nov, 2015 3 commits
  9. 29 Oct, 2015 1 commit
  10. 28 Oct, 2015 1 commit
  11. 26 Oct, 2015 1 commit
  12. 23 Oct, 2015 1 commit
  13. 15 Oct, 2015 4 commits
    • Fixed Rubocop styling issues · bed29940
      Yorick Peterse authored
    • Added rack-lineprof for development · d4832b03
      Yorick Peterse authored
      This can be used to measure the time (roughly) spent on a per line
      basis. This can also be used to measure timings for views, for example
      by adding the following to a URL:
      
         ?lineprof=app/views/projects/notes/_note
      
      rack-lineprof is only enabled when:
      
      1. The application runs in development mode
      2. The used Ruby is MRI
      3. The environment variable ENABLE_LINEPROF is set to a non-empty value
    • Added active_record_query_trace · 7971ed5d
      Yorick Peterse authored
      This can be used to track down where queries originate from, regardless
      of whether they're caused by N+1 problems or not. This can be enabled by
      setting the environment variable ENABLE_QUERY_TRACE to a non-empty value
      (e.g. "true").
    • Added Bullet to the Gemfile · fa3d7db3
      Yorick Peterse authored
      This can be used to resolve N+1 query problems. Bullet is disabled by
      default and can be enabled by starting Rails with the environment
      variable ENABLE_BULLET set to a non empty value (e.g. "true").
  14. 14 Oct, 2015 5 commits
  15. 13 Oct, 2015 3 commits
  16. 11 Oct, 2015 1 commit
  17. 08 Oct, 2015 1 commit