lmdb-python-dbm
lmdb-python-dbm copied to clipboard
Add Shelve to the benchmark
Something like this:
import shelve
class ShelveBenchmark(BaseBenchmark):
def __init__(self, db_tpl):
super().__init__(db_tpl, "shelve")
def open(self):
return shelve.open(self.path)