docstr: Benchmark view creation with row and Split By.
docstr_tok: ["Benchmark","view","creation","with","row","and","Split","By","."]
code: def benchmark_view_two(self):
      """Benchmark view creation with row and Split By."""
      for i in range(len(PerspectiveBenchmark.group_by_OPTIONS)):
          RP = PerspectiveBenchmark.group_by_OPTIONS[i]
          CP = PerspectiveBenchmark.split_by_OPTIONS[i]
          if len(RP) == 0 and len(CP) == 0:
              continue
          test_meta = make_meta(
              "view", "two_{0}x{1}_pivot".format(len(RP), len(CP))
          )
          view_constructor = partial(
              self._table.view, group_by=RP, split_by=CP
          )
          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 10 for calling the PerspectiveBenchmark obj's underlying member method code with example usage: obj.benchmark_view_two() without return types