More filename stripping

pull/11367/head
ncteisen 8 years ago
parent a278759ec9
commit bf1ee7b12f
  1. 2
      tools/profiling/microbenchmarks/bm_diff/bm_diff.py
  2. 2
      tools/profiling/microbenchmarks/bm_diff/bm_run.py

@ -152,7 +152,7 @@ def diff(bms, loops, track, old, new):
['bm_diff_%s/opt/%s' % (old, bm),
'--benchmark_list_tests']).splitlines():
stripped_line = line.strip().replace("/", "_").replace(
"<", "_").replace(">", "_")
"<", "_").replace(">", "_").replace(", ", "_")
js_new_ctr = _read_json('%s.%s.counters.%s.%d.json' %
(bm, stripped_line, new, loop), badfiles)
js_new_opt = _read_json('%s.%s.opt.%s.%d.json' %

@ -94,7 +94,7 @@ def _collect_bm_data(bm, cfg, name, reps, idx, loops):
['bm_diff_%s/%s/%s' % (name, cfg, bm),
'--benchmark_list_tests']).splitlines():
stripped_line = line.strip().replace("/", "_").replace(
"<", "_").replace(">", "_")
"<", "_").replace(">", "_").replace(", ", "_")
cmd = [
'bm_diff_%s/%s/%s' % (name, cfg, bm), '--benchmark_filter=^%s$' %
line, '--benchmark_out=%s.%s.%s.%s.%d.json' %

Loading…
Cancel
Save