summaryrefslogtreecommitdiff
path: root/src/plugins/python/pythonproject.cpp
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@qt.io>2019-11-14 13:29:48 +0100
committerChristian Kandeler <christian.kandeler@qt.io>2019-11-14 13:18:16 +0000
commitb7395e97f3586fc14f94d2868148e992508b2d76 (patch)
tree328b16a01ad0428d0b94383bc7cd8a51639e4ec9 /src/plugins/python/pythonproject.cpp
parentbb5727de17fd13f13f173a308da246190da7c884 (diff)
downloadqt-creator-b7395e97f3586fc14f94d2868148e992508b2d76.tar.gz
Git: Speed up the unmanagedFiles() function
Given a list of files, we should not call git for every single one of them to figure out which ones are part of the repository, because this job can be done with a single call. As a test case, I added my whole ~/dev directory with ca 600,000 source files to a generic project. With this patch, the time spent on retrieving the list of unmanaged files went down from nine hours to seven seconds. Task-number: QTCREATORBUG-20652 Change-Id: Ic04a2b973e14eff549a2642bde7bc269df069fd1 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Diffstat (limited to 'src/plugins/python/pythonproject.cpp')
0 files changed, 0 insertions, 0 deletions