Skip to content
Snippets Groups Projects

Speed up the "Project Network Graph" cucumber feature

Merged Ramya Authappan requested to merge github/fork/rspeicher/cucumber_speedup into master

Created by: rspeicher

This change involves stubbing out the call to Grit::Commit.find_all and limiting the number of commits to 10 vs. the standard of 650 used by Gitlab::GraphCommit.to_graph.

Prior to this change, this single feature required almost 3 minutes of running time and over 2 GB of memory on my machine. Now it takes less than 3 seconds.

Merge request reports

Merged by avatar (Jan 11, 2025 7:20am UTC)

Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading