Public Member Functions | Public Attributes | List of all members
benchmarks.python.py_benchmark.Benchmark Class Reference

Public Member Functions

def __init__ (self, module=None, test_method=None, setup_method=None, total_bytes=None, full_iteration=1)
 
def dry_run (self, test_method_args='', setup_method_args='')
 
def full_setup_code (self, setup_method_args='')
 
def run_benchmark (self, test_method_args='', setup_method_args='')
 
def set_test_method (self, test_method)
 

Public Attributes

 full_iteration
 
 module
 
 setup_method
 
 test_method
 
 total_bytes
 

Detailed Description

Definition at line 108 of file py_benchmark.py.

Constructor & Destructor Documentation

◆ __init__()

def benchmarks.python.py_benchmark.Benchmark.__init__ (   self,
  module = None,
  test_method = None,
  setup_method = None,
  total_bytes = None,
  full_iteration = 1 
)

Definition at line 109 of file py_benchmark.py.

Member Function Documentation

◆ dry_run()

def benchmarks.python.py_benchmark.Benchmark.dry_run (   self,
  test_method_args = '',
  setup_method_args = '' 
)

Definition at line 127 of file py_benchmark.py.

◆ full_setup_code()

def benchmarks.python.py_benchmark.Benchmark.full_setup_code (   self,
  setup_method_args = '' 
)

Definition at line 120 of file py_benchmark.py.

◆ run_benchmark()

def benchmarks.python.py_benchmark.Benchmark.run_benchmark (   self,
  test_method_args = '',
  setup_method_args = '' 
)

Definition at line 132 of file py_benchmark.py.

◆ set_test_method()

def benchmarks.python.py_benchmark.Benchmark.set_test_method (   self,
  test_method 
)

Definition at line 117 of file py_benchmark.py.

Member Data Documentation

◆ full_iteration

benchmarks.python.py_benchmark.Benchmark.full_iteration

Definition at line 110 of file py_benchmark.py.

◆ module

benchmarks.python.py_benchmark.Benchmark.module

Definition at line 111 of file py_benchmark.py.

◆ setup_method

benchmarks.python.py_benchmark.Benchmark.setup_method

Definition at line 113 of file py_benchmark.py.

◆ test_method

benchmarks.python.py_benchmark.Benchmark.test_method

Definition at line 112 of file py_benchmark.py.

◆ total_bytes

benchmarks.python.py_benchmark.Benchmark.total_bytes

Definition at line 114 of file py_benchmark.py.


The documentation for this class was generated from the following file:


libaditof
Author(s):
autogenerated on Wed May 21 2025 02:07:06