Classes | Public Member Functions | List of all members
google_benchmark.__OptionMaker Class Reference

Classes

class  Options
 

Public Member Functions

def __getattr__ (self, builder_name)
 
def make (cls, func_or_options)
 

Detailed Description

A stateless class to collect benchmark options.

Collect all decorator calls like @option.range(start=0, limit=1<<5).

Definition at line 72 of file third_party/benchmark/bindings/python/google_benchmark/__init__.py.

Member Function Documentation

◆ __getattr__()

def google_benchmark.__OptionMaker.__getattr__ (   self,
  builder_name 
)
Append option call in the Options.

Definition at line 92 of file third_party/benchmark/bindings/python/google_benchmark/__init__.py.

◆ make()

def google_benchmark.__OptionMaker.make (   cls,
  func_or_options 
)
Make Options from Options or the benchmarked function.

Definition at line 86 of file third_party/benchmark/bindings/python/google_benchmark/__init__.py.


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


grpc
Author(s):
autogenerated on Fri May 16 2025 03:03:30