class_docstr: A single Benchmark function. Use as a wrapper for stateless lambdas
  with no parameters.
  
  Example:
      >>> func = Benchmark(lambda: self._view.to_records(), meta={
              "name": "to_records",
              "group": "view"
          })
class_docstr_tok: ["A","single","Benchmark","function",".","Use","as","a","wrapper","for","stateless","lambdas","with","no","parameters",".","Example",":",">",">",">","func","=","Benchmark","(","lambda",":","self._view.to_records","(",")",",","meta=","{","``","name","''",":","``","to_records","''",",","``","group","''",":","``","view","''","}",")"]
docstr: A decorator for a benchmark function, which will attach each attribute
  of the `meta` dictionary to the decorated function as well as provide
  it with the `benchmark` attribute.
  
  Args:
      meta (dict) : a metadata dictionary, whose keys and values will
          become attributes on the benchmark function. The metadata dictionary
          should be consistent within each suite, i.e. there should be no
          additional values in between different methods decorated with
          `@benchmark`.
docstr_tok: ["A","decorator","for","a","benchmark","function",",","which","will","attach","each","attribute","of","the","`","meta","`","dictionary","to","the","decorated","function","as","well","as","provide","it","with","the","`","benchmark","`","attribute",".","Args",":","meta","(","dict",")",":","a","metadata","dictionary",",","whose","keys","and","values","will","become","attributes","on","the","benchmark","function",".","The","metadata","dictionary","should","be","consistent","within","each","suite",",","i.e",".","there","should","be","no","additional","values","in","between","different","methods","decorated","with","`","@","benchmark","`","."]
code: def __init__(self, func, meta={}):
      """A decorator for a benchmark function, which will attach each attribute
      of the `meta` dictionary to the decorated function as well as provide
      it with the `benchmark` attribute.
  
      Args:
          meta (dict) : a metadata dictionary, whose keys and values will
              become attributes on the benchmark function. The metadata dictionary
              should be consistent within each suite, i.e. there should be no
              additional values in between different methods decorated with
              `@benchmark`.
      """
      self._func = func
      self._meta = meta
      self.benchmark = True
  
      for k, v in self._meta.items():
          marked_key = "__BENCH__{0}".format(k)
          setattr(self, marked_key, v)
  
imports: import logging
  import os
  import sys
  import signal
  import subprocess
  import venv
  import tornado
  from timeit import timeit
  from perspective import Table, PerspectiveManager, PerspectiveTornadoHandler
label_desc: Use image node_id 1 to create a new Benchmark object from inherited base classes: object with example: obj = Benchmark(func, meta)