syncthing/lib/db
Jakob Borg 0c0c69f0cf The GC runs are legacy and slows things down quite a bit
benchmark                         old ns/op      new ns/op      delta
BenchmarkReplaceAll-8             2942370526     2866418930     -2.58%
BenchmarkUpdateOneChanged-8       7402489        226635         -96.94%
BenchmarkUpdateOneUnchanged-8     7298777        229090         -96.86%
BenchmarkNeedHalf-8               113608416      104483393      -8.03%
BenchmarkHave-8                   29834263       29288220       -1.83%
BenchmarkGlobal-8                 162773699      159269126      -2.15%
BenchmarkNeedHalfTruncated-8      111943400      108235000      -3.31%
BenchmarkHaveTruncated-8          29490369       28945489       -1.85%
BenchmarkGlobalTruncated-8        165841081      149355833      -9.94%

benchmark                         old allocs     new allocs     delta
BenchmarkReplaceAll-8             1054942        1054944        +0.00%
BenchmarkUpdateOneChanged-8       1149           1135           -1.22%
BenchmarkUpdateOneUnchanged-8     1135           1135           +0.00%
BenchmarkNeedHalf-8               374774         374777         +0.00%
BenchmarkHave-8                   151995         151995         +0.00%
BenchmarkGlobal-8                 530042         530063         +0.00%
BenchmarkNeedHalfTruncated-8      374697         374699         +0.00%
BenchmarkHaveTruncated-8          151834         151834         +0.00%
BenchmarkGlobalTruncated-8        530050         530021         -0.01%

benchmark                         old bytes      new bytes      delta
BenchmarkReplaceAll-8             5074294728     5074297112     +0.00%
BenchmarkUpdateOneChanged-8       141048         135097         -4.22%
BenchmarkUpdateOneUnchanged-8     134976         134976         +0.00%
BenchmarkNeedHalf-8               44734813       44759436       +0.06%
BenchmarkHave-8                   11911634       11911138       -0.00%
BenchmarkGlobal-8                 80436854       81609867       +1.46%
BenchmarkNeedHalfTruncated-8      46514673       46588024       +0.16%
BenchmarkHaveTruncated-8          11348357       11348354       -0.00%
BenchmarkGlobalTruncated-8        81730740       79485168       -2.75%
2015-10-21 23:05:22 +02:00
..
testdata mv internal lib 2015-08-09 09:35:26 +02:00
.gitignore mv internal lib 2015-08-09 09:35:26 +02:00
benchmark_test.go Make benchmarks more realistic 2015-10-21 23:04:29 +02:00
blockmap_test.go Fix import paths 2015-09-22 19:38:46 +02:00
blockmap.go Fix import paths 2015-09-22 19:38:46 +02:00
concurrency_test.go mv internal lib 2015-08-09 09:35:26 +02:00
debug.go Implement facility based logger, debugging via REST API 2015-10-03 18:09:53 +02:00
leveldb_test.go mv internal lib 2015-08-09 09:35:26 +02:00
leveldb_xdr.go mv internal lib 2015-08-09 09:35:26 +02:00
leveldb.go The GC runs are legacy and slows things down quite a bit 2015-10-21 23:05:22 +02:00
namespaced_test.go mv internal lib 2015-08-09 09:35:26 +02:00
namespaced.go mv internal lib 2015-08-09 09:35:26 +02:00
set_test.go Make benchmarks more realistic 2015-10-21 23:04:29 +02:00
set.go Also keep GlobalSize in RAM 2015-10-21 21:58:48 +02:00
truncated.go Fix import paths 2015-09-22 19:38:46 +02:00
virtualmtime_test.go mv internal lib 2015-08-09 09:35:26 +02:00
virtualmtime.go Implement facility based logger, debugging via REST API 2015-10-03 18:09:53 +02:00