Functions | |
def | _bazel_build_benchmark (bm_name, cfg) |
def | collect_latency (bm_name, args) |
def | collect_perf (bm_name, args) |
def | collect_summary (bm_name, args) |
def | fnize (s) |
def | heading (name) |
def | link (txt, tgt) |
def | run_summary (bm_name, cfg, base_json_name) |
def | text (txt) |
Variables | |
argp = argparse.ArgumentParser(description='Collect data from microbenchmarks') | |
args = argp.parse_args() | |
choices | |
dictionary | collectors |
default | |
flamegraph_dir = os.path.join(os.path.expanduser('~'), 'FlameGraph') | |
help | |
string | index_html |
nargs | |
type | |
|
private |
Build given benchmark with bazel
Definition at line 78 of file run_microbenchmark.py.
def run_microbenchmark.collect_latency | ( | bm_name, | |
args | |||
) |
generate latency profiles
Definition at line 87 of file run_microbenchmark.py.
def run_microbenchmark.collect_perf | ( | bm_name, | |
args | |||
) |
generate flamegraphs
Definition at line 142 of file run_microbenchmark.py.
def run_microbenchmark.collect_summary | ( | bm_name, | |
args | |||
) |
Definition at line 205 of file run_microbenchmark.py.
def run_microbenchmark.fnize | ( | s | ) |
Definition at line 40 of file run_microbenchmark.py.
def run_microbenchmark.heading | ( | name | ) |
Definition at line 62 of file run_microbenchmark.py.
def run_microbenchmark.link | ( | txt, | |
tgt | |||
) |
Definition at line 67 of file run_microbenchmark.py.
def run_microbenchmark.run_summary | ( | bm_name, | |
cfg, | |||
base_json_name | |||
) |
Definition at line 193 of file run_microbenchmark.py.
def run_microbenchmark.text | ( | txt | ) |
Definition at line 73 of file run_microbenchmark.py.
Definition at line 244 of file run_microbenchmark.py.
run_microbenchmark.args = argp.parse_args() |
Definition at line 269 of file run_microbenchmark.py.
run_microbenchmark.choices |
Definition at line 247 of file run_microbenchmark.py.
dictionary run_microbenchmark.collectors |
Definition at line 238 of file run_microbenchmark.py.
run_microbenchmark.default |
Definition at line 249 of file run_microbenchmark.py.
run_microbenchmark.flamegraph_dir = os.path.join(os.path.expanduser('~'), 'FlameGraph') |
Definition at line 31 of file run_microbenchmark.py.
run_microbenchmark.help |
Definition at line 250 of file run_microbenchmark.py.
string run_microbenchmark.index_html |
Definition at line 53 of file run_microbenchmark.py.
run_microbenchmark.nargs |
Definition at line 248 of file run_microbenchmark.py.
run_microbenchmark.type |
Definition at line 256 of file run_microbenchmark.py.