mirror of
https://github.com/octoleo/syncthing.git
synced 2024-12-23 03:18:59 +00:00
c0d02a65c3
Reuses key byte slices to reduce allocations: benchmark old allocs new allocs delta Benchmark10kReplace 178112 168615 -5.33% Benchmark10kUpdateChg 567954 561557 -1.13% Benchmark10kUpdateSme 238691 228680 -4.19% Benchmark10kNeed2k 105382 103383 -1.90% Benchmark10kHaveFullList 60230 60230 +0.00% Benchmark10kGlobal 237484 227493 -4.21% benchmark old bytes new bytes delta Benchmark10kReplace 8725368 7661788 -12.19% Benchmark10kUpdateChg 58155152 57441025 -1.23% Benchmark10kUpdateSme 16130875 14996717 -7.03% Benchmark10kNeed2k 6561685 6338283 -3.40% Benchmark10kHaveFullList 7611112 7611135 +0.00% Benchmark10kGlobal 21415056 20300723 -5.20% |
||
---|---|---|
.. | ||
testdata | ||
.gitignore | ||
blockmap_test.go | ||
blockmap.go | ||
concurrency_test.go | ||
debug.go | ||
leveldb_test.go | ||
leveldb_xdr.go | ||
leveldb.go | ||
namespaced_test.go | ||
namespaced.go | ||
set_test.go | ||
set.go | ||
truncated.go | ||
virtualmtime_test.go | ||
virtualmtime.go |