Logo Search packages:      
Sourcecode: namebench version File versions  Download package

def libnamebench::benchmark::Benchmark::__init__ (   self,
  nameservers,
  run_count = 2,
  test_count = 30,
  status_callback = None 
)

Constructor.

Args:
  nameservers: a list of NameServerData objects
  run_count: How many test-runs to perform on each nameserver (int)
  test_count: How many DNS lookups to test in each test-run (int)

Definition at line 52 of file benchmark.py.

                                    :
    """Constructor.

    Args:
      nameservers: a list of NameServerData objects
      run_count: How many test-runs to perform on each nameserver (int)
      test_count: How many DNS lookups to test in each test-run (int)
    """
    self.test_count = test_count
    self.run_count = run_count
    self.nameservers = nameservers
    self.results = {}
    self.test_data = []
    self.status_callback = status_callback

  def msg(self, msg, **kwargs):


Generated by  Doxygen 1.6.0   Back to index