Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • S Slicer
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 40
    • Merge requests 40
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Sam Horvath
  • Slicer
  • Merge requests
  • !73

ENH: Don't batch process when show/hide only a few child nodes

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Andras Lasso requested to merge github/fork/lassoan/models-branch-visibility-toggle-optimization into master Oct 11, 2013
  • Overview 1
  • Commits 1
  • Pipelines 0
  • Changes 2

When there are many child nodes in a hierarchy then show/hide is much more efficient if batch processing is enabled. However, if there are few nodes only then a full refresh at the end of a batch processing takes longer than doing the update on each node separately. Count the number of child nodes and if there are less than 30 then update each node separately.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/lassoan/models-branch-visibility-toggle-optimization