mirror of
https://github.com/octoleo/syncthing.git
synced 2024-11-13 08:46:30 +00:00
7d48115b90
We introduced the dbUpdater routine to handle many small files efficiently, but the folder stats call is almost equally expensive as it results in two distinct write transactions to the database. This moves it to the same routine. (Doesn't make a *huge* difference with leveldb actually, but reduces the 50k-files benchmark time by 25% on my experimental bolt branch...) |
||
---|---|---|
.. | ||
testdata | ||
.gitignore | ||
debug.go | ||
deviceactivity_test.go | ||
deviceactivity.go | ||
doc.go | ||
folderstate.go | ||
model_test.go | ||
model.go | ||
progressemitter_test.go | ||
progressemitter.go | ||
queue_test.go | ||
queue.go | ||
rofolder.go | ||
rwfolder_test.go | ||
rwfolder.go | ||
sharedpullerstate_test.go | ||
sharedpullerstate.go | ||
tempname_test.go | ||
tempname.go | ||
util.go |