Adding telemetry tests for touch text selection performance.
commit715cd9f61bf776c185e8a485d7c4fb1b0d0effee
authormfomitchev <mfomitchev@chromium.org>
Thu, 30 Jul 2015 15:55:09 +0000 (30 08:55 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 30 Jul 2015 15:55:44 +0000 (30 15:55 +0000)
treeef013e7c25e3cbd5dbead9506e456da45c114c16
parent23b1291ccbc7015b141ce51676db0ef0b0010628
Adding telemetry tests for touch text selection performance.

This CL adds a new page set |text_selection_sites|, which contains pages from
top_10_mobile page set and peforms text selection and selection handle drag on
the pages.

There's two benchmarks: one for "direction" selection strategy, and another one
for "character" selection strategy.

BUG=497779
CQ_EXTRA_TRYBOTS=tryserver.chromium.perf:linux_perf_bisect;tryserver.chromium.perf:mac_perf_bisect;tryserver.chromium.perf:win_perf_bisect

Review URL: https://codereview.chromium.org/1190423003

Cr-Commit-Position: refs/heads/master@{#341124}
tools/perf/benchmarks/benchmark_smoke_unittest.py
tools/perf/benchmarks/text_selection.py [new file with mode: 0644]
tools/perf/page_sets/text_selection_sites.py [new file with mode: 0644]
tools/telemetry/telemetry/web_perf/metrics/layout.py
tools/telemetry/telemetry/web_perf/metrics/layout_unittest.py [deleted file]
tools/telemetry/telemetry/web_perf/metrics/single_event.py [copied from tools/telemetry/telemetry/web_perf/metrics/layout.py with 51% similarity]
tools/telemetry/telemetry/web_perf/metrics/single_event_unittest.py [new file with mode: 0644]
tools/telemetry/telemetry/web_perf/metrics/text_selection.py [new file with mode: 0644]
tools/telemetry/telemetry/web_perf/timeline_based_measurement.py