Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Kate Kate
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 27
    • Issues 27
    • List
    • Boards
    • Service Desk
    • Milestones
  • Bugzilla
    • Bugzilla
  • Merge requests 7
    • Merge requests 7
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • UtilitiesUtilities
  • KateKate
  • Merge requests
  • !153

Improve search performance by reducing the amount of work

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Waqar Ahmed requested to merge waqar/kate:search-perf into master Dec 31, 2020
  • Overview 6
  • Commits 1
  • Pipelines 0
  • Changes 2

This change takes advantage of my previous change and reuses the stored colors instead of creating them from scratch every time.

rootFileItem() now returns early for search-as-you-type and CurrentFile searches. This greatly reduces the amount of work it has to do.

The same file which took 9-10 seconds in search now takes 5 seconds only

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: search-perf