queue more changes to keys db
Increasing the size of the queue 10x makes git-annex init 7% faster in a repository with 86000 annexed files. The memory use goes up, from 70876 kb to 85376 kb.
This commit is contained in:
parent
8fcee4ac9d
commit
c834d2025a
4 changed files with 11 additions and 5 deletions
|
@ -12,6 +12,4 @@ This will need some care to be implemented safely...
|
|||
|
||||
I benchmarked it, and using insertUnique is no faster, but using insert is.
|
||||
This would be a 15% speed up.
|
||||
|
||||
Update: Implemented this optimisation.
|
||||
"""]]
|
||||
|
|
|
@ -0,0 +1,8 @@
|
|||
[[!comment format=mdwn
|
||||
username="joey"
|
||||
subject="""comment 14"""
|
||||
date="2022-11-18T17:26:03Z"
|
||||
content="""
|
||||
Implemented the two optimisations discussed above, and init in that
|
||||
repository dropped from 24 seconds to 19 seconds, a 21% speedup.
|
||||
"""]]
|
Loading…
Add table
Add a link
Reference in a new issue