code: def persist_config(run, session, cfg):
      
      from benchbuild.utils import schema as s
  
      for cfg_elem in cfg:
          session.add(
              s.Config(name=cfg_elem, value=cfg[cfg_elem], run_id=run.id))
docs: Persist the configuration in as key-value pairs.
  
      Args:
          run: The run we attach the config to.
          session: The db transaction we belong to.
          cfg: The configuration we want to persist.