def restrict_to_benchmarks(self, benchmarks):
        checksums = set([b.checksum for b in benchmarks])

        ex_benchmarks = self.get_benchmarks()

        to_delete = set(ex_benchmarks.index) - checksums

        t = self._benchmarks
        for chksum in to_delete:
            log.info('Deleting %s\n%s' % (chksum, ex_benchmarks.xs(chksum)))
            stmt = t.delete().where(t.c.checksum == chksum)
            self.conn.execute(stmt)
Configure allocator from :class:`ConfigParser` instance.
dataset/ETHPy150Open pydata/vbench/vbench/db.py/BenchmarkDB.restrict_to_benchmarks--crossover with--dataset/ETHPy150Open OpenMDAO/OpenMDAO-Framework/openmdao.main/src/openmdao/main/grid_engine.py/GridEngineAllocator.configure