class_docstr: Benchmarks for static optimizations.
class_docstr_tok: ["Benchmarks","for","static","optimizations","."]
docstr: Evaluates performance map of fusion.
docstr_tok: ["Evaluates","performance","map","of","fusion","."]
code: def benchmark_map_and_filter_fusion(self):
      """Evaluates performance map of fusion."""
  
      chain_lengths = [0, 1, 2, 5, 10, 20, 50]
      for chain_length in chain_lengths:
          self._benchmark_map_and_filter_fusion(
              chain_length=chain_length, optimize_dataset=False
          )
          self._benchmark_map_and_filter_fusion(
              chain_length=chain_length, optimize_dataset=True
          )
  
file_path: tensorflow/tensorflow/python/data/experimental/benchmarks/optimize_benchmark.py
imports: from tensorflow.python.data.benchmarks import benchmark_base
  from tensorflow.python.data.ops import dataset_ops
  from tensorflow.python.data.ops import options
  from tensorflow.python.ops import math_ops
label_desc: Use image node_id 3 for calling the OptimizationBenchmark obj's underlying member method code with example usage: obj.benchmark_map_and_filter_fusion() without return types