aboutsummaryrefslogtreecommitdiff
path: root/bolt_unix_solaris.go
diff options
context:
space:
mode:
authorAlexander Morozov <lk4d4@docker.com>2016-01-28 09:51:40 -0800
committerAlexander Morozov <lk4d4@docker.com>2016-01-28 09:51:51 -0800
commite1ffca3629c16a5a19eebe8f7805176ce69cbf97 (patch)
treea2c36430ff48c4686bbae9e4aac1f2f10533370b /bolt_unix_solaris.go
parentMerge pull request #492 from boltdb/revert-491-arm64 (diff)
downloaddedo-e1ffca3629c16a5a19eebe8f7805176ce69cbf97.tar.gz
dedo-e1ffca3629c16a5a19eebe8f7805176ce69cbf97.tar.xz
Use sync.Pool for small pages in db.allocate
Benchmark results: benchmark old ns/op new ns/op delta BenchmarkDBBatchAutomatic-4 2552625 2485200 -2.64% BenchmarkDBBatchSingle-4 59632698 50757603 -14.88% BenchmarkDBBatchManual10x100-4 2564789 2452735 -4.37% benchmark old allocs new allocs delta BenchmarkDBBatchAutomatic-4 10199 10202 +0.03% BenchmarkDBBatchSingle-4 56642 56653 +0.02% BenchmarkDBBatchManual10x100-4 5986 5995 +0.15% benchmark old bytes new bytes delta BenchmarkDBBatchAutomatic-4 433587 382462 -11.79% BenchmarkDBBatchSingle-4 32504533 16308931 -49.83% BenchmarkDBBatchManual10x100-4 1362370 881765 -35.28% Signed-off-by: Alexander Morozov <lk4d4@docker.com>
Diffstat (limited to 'bolt_unix_solaris.go')
0 files changed, 0 insertions, 0 deletions