lmdb-python-dbm icon indicating copy to clipboard operation
lmdb-python-dbm copied to clipboard

Add Shelve to the benchmark

Open djstrong opened this issue 2 years ago • 0 comments

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)

djstrong avatar Apr 03 '23 11:04 djstrong