Chromium Code Reviews
DescriptionGive performance_browser_tests lots of love and attention.
This change started by fixing a bug where a trace event was missing,
causing failures on the Win7 bots. It quickly evolved into a number of
improvements, focusing on measurement stability, and adding a few
additional useful analyses. More-specifically:
1. The logic that tracks a frame in the CastV2PerformanceTest was
simplified since exact timestamps are now available in the tracing data
(i.e., no need for fabs(TS_a - TS_b) < 1 millisecond" searches for prior
events).
2. Trimmed events at both the start and end of the tests, and updated
the number of trimmed events, to promote more stable measurements in the
perf waterfall. Both CastV2PerformanceTests and
TabCapturePerformanceTests now run for 15 seconds (before, this was 20
and 10, respectively).
3. Added new "frame_drop_rate" measurement to CastV2PerformanceTest.
Similarly, added a CaptureFailRate measurement to
TabCapturePerformanceTest.
4. Added performance testing with auto throttling (aka "zero config")
enabled to CastV2PerformanceTest, through simulated "slow, but reliable
Wifi." If measurements are stable, we can add monitoring for the average
capture resolution (larger is better) and number of resolution changes
(lower is better) as way to detect perf regressions that will have a
direct impact on the user experience.
5. Enabled encryption on the Cast Streaming transport, to ensure crypto
is also being considered when measuring performance and alerting on
regressions.
6. Minor code clean-up: style stuff, de-duping utility functions, fixing
use of the deprecated MediaStream.stop() call, adding/clarifying
comments to account for changes over the past couple of years.
Added results:
CastV2Performance*: playout_resolution
CastV2Performance*: resolution_changes
CastV2Performance*: frame_drop_rate
TabCapturePerformance*: CaptureLatency
TabCapturePerformance*: CaptureFailRate
Removed results:
TabCapturePerformance*: CaptureSucceeded
BUG=567848, 709247
Review-Url: https://codereview.chromium.org/2866943002
Cr-Commit-Position: refs/heads/master@{#474189}
Committed: https://chromium.googlesource.com/chromium/src/+/50ca2ed80efff90dcc3192c1e3e1c2d782d14a91
Patch Set 1 #Patch Set 2 : rebase #
Total comments: 12
Patch Set 3 : rebase #Patch Set 4 : Fixed things xjz@ mentioned. #Patch Set 5 : fix compile error #Messages
Total messages: 35 (22 generated)
|