Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Filelight Filelight
  • 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
  • Bugzilla
    • Bugzilla
  • Merge requests 3
    • Merge requests 3
  • 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
  • FilelightFilelight
  • Merge requests
  • !17

Implement multi-threading for disk scanning

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Martin Tobias Holmedahl Sandsmark requested to merge sandsmark/filelight:martin/threading into master Oct 24, 2021
  • Overview 3
  • Commits 2
  • Pipelines 4
  • Changes 3

For each subfolder we see if there's a thread free, if not we scan immediately in the same thread (as before), otherwise we run it in a new thread and wait for it.

It's stupid simple, but it seemingly works. At least on my laptops with NVMe disks the speed is stupid fast now.

Edited Oct 24, 2021 by Martin Tobias Holmedahl Sandsmark
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: martin/threading