diff options
author | nednguyen <nednguyen@google.com> | 2015-04-24 23:12:28 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-04-25 06:12:38 +0000 |
commit | c3d7606e8efbb5ac063f2e98a14e09e48aff5022 (patch) | |
tree | 917024874e7d281c45a38e8d7dd880580532c4f7 /testing | |
parent | 0a74fd9a8fb634aa6e7407afed9fa556fc8ebca2 (diff) | |
download | chromium_src-c3d7606e8efbb5ac063f2e98a14e09e48aff5022.zip chromium_src-c3d7606e8efbb5ac063f2e98a14e09e48aff5022.tar.gz chromium_src-c3d7606e8efbb5ac063f2e98a14e09e48aff5022.tar.bz2 |
[Telemetry] Improve _GetProcJiffies operation with using grep.
Previously, telemetry read the whole '/proc/timer_list' file just to parse the
first occurence of "jiffies". In case the file is big and telemetry is run
against remote device, this can create a big delay for transferring the file
to host device.
This patch modify it so that telemetry just use
'grep jiffies /proc/timer_list' to get the only lines that contain 'jiffies'.
Context: https://groups.google.com/a/chromium.org/forum/#!topic/telemetry/SblQqF0tHbc
Try job runs:
./tools/perf/run_benchmark --browser=trybot-all-android page_cycler.top_10_mobile --also-run-disabled-tests
https://codereview.chromium.org/1100233003
./tools/perf/run_benchmark --browser=trybot-all-mac page_cycler.intl_ja_zh
https://codereview.chromium.org/1106833004
./tools/perf/run_benchmark --browser=trybot-all-linux page_cycler.intl_ja_zh
https://codereview.chromium.org/1102673005
Review URL: https://codereview.chromium.org/1106043003
Cr-Commit-Position: refs/heads/master@{#326961}
Diffstat (limited to 'testing')
0 files changed, 0 insertions, 0 deletions