tools/perf/benchmarks/memory.py
def SetExtraBrowserOptionsForMemoryMeasurement(options):
  """Sets extra browser args necessary for measuring memory usage.

  Separated out so that code can be re-used in other benchmarks.
  """
  # Just before we measure memory we flush the system caches
  # unfortunately this doesn't immediately take effect, instead
  # the next page run is effected. Due to this the first page run
  # has anomalous results. This option causes us to flush caches
  # each time before Chrome starts so we effect even the first page
  # - avoiding the bug.
  options.flush_os_page_caches_on_start = True
Sets extra browser args necessary for measuring memory usage.

  Separated out so that code can be re-used in other benchmarks.
  
Sets extra browser args necessary for measuring memory usage.
Separated out so that code can be re-used in other benchmarks.
Sets extra browser args necessary for measuring memory usage . Separated out so that code can be re - used in other benchmarks .
def SetExtraBrowserOptionsForMemoryMeasurement(options):
  options.flush_os_page_caches_on_start = True
def SetExtraBrowserOptionsForMemoryMeasurement ( options ) : options . flush_os_page_caches_on_start = True
Sets extra browser args necessary for measuring memory usage.
Sets extra browser args necessary for measuring memory usage .
"""Sets extra browser args necessary for measuring memory usage.

  Separated out so that code can be re-used in other benchmarks.
  """ # Just before we measure memory we flush the system caches # unfortunately this doesn't immediately take effect, instead # the next page run is effected. Due to this the first page run # has anomalous results. This option causes us to flush caches # each time before Chrome starts so we effect even the first page # - avoiding the bug.
options