docstr: Benchmark view creation with different pivots.
docstr_tok: ["Benchmark","view","creation","with","different","pivots","."]
code: def benchmark_view_one(self):
      """Benchmark view creation with different pivots."""
      for pivot in PerspectiveBenchmark.group_by_OPTIONS:
          if len(pivot) == 0:
              continue
          test_meta = make_meta(
              "view", "one_{0}_pivot".format(len(pivot))
          )
          view_constructor = partial(self._table.view, group_by=pivot)
          func = Benchmark(lambda: view_constructor(), meta=test_meta)
          setattr(self, "view_{0}".format(test_meta["name"]), func)
  
imports: import os
  from functools import partial
  from bench import Benchmark, Suite, Runner
  from perspective import Table
  import perspective
  import logging
label_desc: Use image node_id 8 for calling the PerspectiveBenchmark obj's underlying member method code with example usage: obj.benchmark_view_one() without return types