Windows 7 / 10, dvc 0.93.0+f5d89f (after merging #3645)
Running cProfile on dvc repro -P in a repository with around 200 steps all of which are up to date. On my system this takes 65s, of which 42s is spent in _edit_rwlock.
I wonder, is it necessary to lock each individual file here? Couldn't the whole repository be locked instead?
Maybe a broader question: what are the respective purposes of .dvc/tmp/rwlock, .dvc/lockand .dvc/updater.lock?
Windows 7 / 10, dvc 0.93.0+f5d89f (after merging #3645)
Running cProfile on
dvc repro -Pin a repository with around 200 steps all of which are up to date. On my system this takes 65s, of which 42s is spent in_edit_rwlock.I wonder, is it necessary to lock each individual file here? Couldn't the whole repository be locked instead?
Maybe a broader question: what are the respective purposes of
.dvc/tmp/rwlock,.dvc/lockand.dvc/updater.lock?