Public Member Functions | Public Attributes | Static Public Attributes | List of all members
benchplot.gnuplot Class Reference
Inheritance diagram for benchplot.gnuplot:
Inheritance graph
[legend]

Public Member Functions

def __enter__ (self)
 
def __enter__ (self)
 
def __exit__ (self, type, value, traceback)
 
def __exit__ (self, type, value, traceback)
 
def gen_csv (self)
 
def gen_csv (self)
 
def parse_re2_benchlog (self, filename)
 
def parse_re2_benchlog (self, filename)
 
def run (self)
 
def run (self)
 

Public Attributes

 script
 

Static Public Attributes

 benchdata = dict()
 
string output = "result.png"
 
string script
 
list tempfiles = []
 
string template = """'{}' using 1:5:xticlabels(2) with linespoints linewidth 3 title "{}",\\\n"""
 

Detailed Description

Definition at line 8 of file bloaty/third_party/re2/benchlog/benchplot.py.

Member Function Documentation

◆ __enter__() [1/2]

def benchplot.gnuplot.__enter__ (   self)

Definition at line 27 of file bloaty/third_party/re2/benchlog/benchplot.py.

◆ __enter__() [2/2]

def benchplot.gnuplot.__enter__ (   self)

Definition at line 27 of file re2/benchlog/benchplot.py.

◆ __exit__() [1/2]

def benchplot.gnuplot.__exit__ (   self,
  type,
  value,
  traceback 
)
remove all temporary files

Definition at line 30 of file bloaty/third_party/re2/benchlog/benchplot.py.

◆ __exit__() [2/2]

def benchplot.gnuplot.__exit__ (   self,
  type,
  value,
  traceback 
)
remove all temporary files

Definition at line 30 of file re2/benchlog/benchplot.py.

◆ gen_csv() [1/2]

def benchplot.gnuplot.gen_csv (   self)
generate temporary csv files

Definition at line 61 of file re2/benchlog/benchplot.py.

◆ gen_csv() [2/2]

def benchplot.gnuplot.gen_csv (   self)
generate temporary csv files

Definition at line 61 of file bloaty/third_party/re2/benchlog/benchplot.py.

◆ parse_re2_benchlog() [1/2]

def benchplot.gnuplot.parse_re2_benchlog (   self,
  filename 
)
parse the input benchlog and return a dictionary contain bench data

Definition at line 38 of file bloaty/third_party/re2/benchlog/benchplot.py.

◆ parse_re2_benchlog() [2/2]

def benchplot.gnuplot.parse_re2_benchlog (   self,
  filename 
)
parse the input benchlog and return a dictionary contain bench data

Definition at line 38 of file re2/benchlog/benchplot.py.

◆ run() [1/2]

def benchplot.gnuplot.run (   self)

Definition at line 76 of file re2/benchlog/benchplot.py.

◆ run() [2/2]

def benchplot.gnuplot.run (   self)

Definition at line 76 of file bloaty/third_party/re2/benchlog/benchplot.py.

Member Data Documentation

◆ benchdata

benchplot.gnuplot.benchdata = dict()
static

Definition at line 24 of file bloaty/third_party/re2/benchlog/benchplot.py.

◆ output

string benchplot.gnuplot.output = "result.png"
static

Definition at line 10 of file bloaty/third_party/re2/benchlog/benchplot.py.

◆ script [1/2]

string benchplot.gnuplot.script
static
Initial value:
= """
set terminal png size 1024, 768
set output "{}.png"
set title "re2 benchlog"
set datafile separator ";"
set grid x y
set ylabel "MB/s"
set autoscale
plot """

Definition at line 12 of file bloaty/third_party/re2/benchlog/benchplot.py.

◆ script [2/2]

benchplot.gnuplot.script

Definition at line 74 of file bloaty/third_party/re2/benchlog/benchplot.py.

◆ tempfiles

list benchplot.gnuplot.tempfiles = []
static

Definition at line 25 of file bloaty/third_party/re2/benchlog/benchplot.py.

◆ template

string benchplot.gnuplot.template = """'{}' using 1:5:xticlabels(2) with linespoints linewidth 3 title "{}",\\\n"""
static

Definition at line 22 of file bloaty/third_party/re2/benchlog/benchplot.py.


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


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