bmatsuo / lmdb-go

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

Rework BenchmarkScan to benchmark Txn.Renew #109

Closed bmatsuo closed 7 years ago

bmatsuo commented 7 years ago

It is not obvious that an update transaction will be faster than a Readonly transaction, even when renewing both the Txn and Cursor object. This benchmark rework is the first in a series that I hope to make, and that I hope will continue to bring meaningful insight into LMDB performance, unlike many of the existing benchmarks.