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

def libnamebench::benchmark::Benchmark::_LowestLatencyAsciiChart (   self  )  [private]

Return a simple set of tuples to generate an ASCII chart from.

Definition at line 215 of file benchmark.py.

00215                                     :
    """Return a simple set of tuples to generate an ASCII chart from."""
    fastest = self.FastestNameServerResult()
    slowest_result = fastest[-1][1]
    chart = []
    for (ns, duration) in fastest:
      textbar = util.DrawTextBar(duration, slowest_result)
      chart.append((ns.name, textbar, duration))
    return chart

  def _MeanRequestAsciiChart(self):


Generated by  Doxygen 1.6.0   Back to index