parameters: (self)
docstring: Benchmark column-only view creation.
docstring_summary: Benchmark column-only view creation.
docstring_tokens: Benchmark column - only view creation .
function: def benchmark_view_two_column_only(self):
          """Benchmark column-only view creation."""
          for pivot in PerspectiveBenchmark.split_by_OPTIONS:
              if len(pivot) == 0:
                  continue
              test_meta = make_meta(
                  "view", "two_column_only_{0}_pivot".format(len(pivot))
              )
              view_constructor = partial(self._table.view, split_by=pivot)
              func = Benchmark(lambda: view_constructor(), meta=test_meta)
              setattr(self, "view_{0}".format(test_meta["name"]), func)
function_tokens: def benchmark_view_two_column_only ( self ) : for pivot in PerspectiveBenchmark . split_by_OPTIONS : if len ( pivot ) == 0 : continue test_meta = make_meta ( "view" , "two_column_only_{0}_pivot" . format ( len ( pivot ) ) ) view_constructor = partial ( self . _table . view , split_by = pivot ) func = Benchmark ( lambda : view_constructor ( ) , meta = test_meta ) setattr ( self , "view_{0}" . format ( test_meta [ "name" ] ) , func )