bmatsuo / lmdb-go

Bindings for the LMDB C library
BSD 3-Clause "New" or "Revised" License
158 stars 59 forks source link

lmdb: Add benchmarks that batch various numbers of ops in single txns #110

Closed bmatsuo closed 7 years ago

bmatsuo commented 7 years ago

This shows that using Readonly transactions with Reset/Renew has benefits for small transactions, where resource allocation appears to dominate runtime. However, as the number of operations in transactions increase overhead in Readonly becomes more apparent.