summaryrefslogtreecommitdiffstats
path: root/tools/perf
diff options
context:
space:
mode:
authortonyg@chromium.org <tonyg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-05-28 20:30:29 +0000
committertonyg@chromium.org <tonyg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-05-28 20:30:29 +0000
commit40270e2f31f74cd3f5c92f538dbaf72f9d7c41bd (patch)
treefc5a0835b915106caa4f58b99e3b0d02fabaa70d /tools/perf
parent1a0569b9f3898af9c3432bef817d1affd395d05b (diff)
downloadchromium_src-40270e2f31f74cd3f5c92f538dbaf72f9d7c41bd.zip
chromium_src-40270e2f31f74cd3f5c92f538dbaf72f9d7c41bd.tar.gz
chromium_src-40270e2f31f74cd3f5c92f538dbaf72f9d7c41bd.tar.bz2
[Telemetry] Fix blink_perf output trace names on Windows.
Before: *RESULT third_party\WebKit\PerformanceTests\Parser\html-parser: third_party\WebK it\PerformanceTests\Parser\html-parser= [3177.99999996,3454.00000003,3165.999999 97,3162.99999994,3190.00000006] ms After: *RESULT html-parser: html-parser= [3217.99999999,3337.99999999,3174.0,3397.0,320 1.0] ms BUG=None TEST=python tools/perf/run_measurement --browser=release blink_perf third_party\WebKit\PerformanceTests\ NOTRY=True Review URL: https://chromiumcodereview.appspot.com/15891010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202643 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools/perf')
-rw-r--r--tools/perf/perf_tools/blink_perf.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/perf/perf_tools/blink_perf.py b/tools/perf/perf_tools/blink_perf.py
index 7754423..2183f9272 100644
--- a/tools/perf/perf_tools/blink_perf.py
+++ b/tools/perf/perf_tools/blink_perf.py
@@ -37,7 +37,8 @@ class BlinkPerf(page_measurement.PageMeasurement):
if '../' in open(path, 'r').read():
# If the page looks like it references its parent dir, include it.
page_set_dict['serving_dirs'] = [os.path.dirname(os.path.dirname(path))]
- page_set_dict['pages'].append({'url': 'file://' + path})
+ page_set_dict['pages'].append({'url':
+ 'file://' + path.replace('\\', '/')})
def _AddDir(dir_path, skipped):
for path in os.listdir(dir_path):