syncthing/internal/model
Jakob Borg 7d48115b90 Reduce db writes for small files
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...)
2015-05-27 18:36:26 +02:00
..
testdata Retain meaningful names for temporary files 2015-05-10 18:57:27 +02:00
.gitignore model: TestIgnores should not randomly fail 2015-04-04 22:55:24 +02:00
debug.go MPLv2 2015-03-17 16:02:27 +01:00
deviceactivity.go Add mutex logging 2015-04-23 10:54:14 +01:00
deviceactivity_test.go MPLv2 2015-03-17 16:02:27 +01:00
doc.go MPLv2 2015-03-17 16:02:27 +01:00
folderstate.go Add mutex logging 2015-04-23 10:54:14 +01:00
model.go Add validation cache 2015-05-25 13:19:18 +02:00
model_test.go Run benchmarks when running tests 2015-05-23 15:08:17 +02:00
progressemitter.go typos and spelling correction 2015-04-29 15:59:47 +02:00
progressemitter_test.go Add mutex logging 2015-04-23 10:54:14 +01:00
queue.go Configurable file pull order (alphabetic, random, by size or age) 2015-04-25 23:20:21 +09:00
queue_test.go Configurable file pull order (alphabetic, random, by size or age) 2015-04-25 23:20:21 +09:00
rofolder.go Don't attempt reschedule with zero interval 2015-05-13 16:51:08 +02:00
rwfolder.go Reduce db writes for small files 2015-05-27 18:36:26 +02:00
rwfolder_test.go typos and spelling correction 2015-04-29 15:59:47 +02:00
sharedpullerstate.go Change permissions of newly created files and directories (fixes #1339) 2015-05-25 00:12:51 +02:00
sharedpullerstate_test.go Add mutex logging 2015-04-23 10:54:14 +01:00
tempname.go Retain meaningful names for temporary files 2015-05-10 18:57:27 +02:00
tempname_test.go Added simple unit test for temporary filenames 2015-05-10 18:57:27 +02:00
util.go MPLv2 2015-03-17 16:02:27 +01:00