DescriptionCollect tab timing information for use in telementry-based startup tests
Motivation: Data collection exposed in this CL is needed by upcoming startup tests we're writing using Telemtry.
Expose a new window.statsCollectionController object to JS and move existing histogram reading code into it since that seemed misplaced in DOMAutomationController.
Add a new --enable-stats-collection-bindings to activate said object.
Example usage in telemtry:
with browser.Create() as b:
b.tabs[0].Navigate("http://www.google.com")
b.tabs[0].WaitForDocumentReadyStateToBeComplete()
print b.tabs[0].EvaluateJavaScript('statsCollectionController.tabLoadTiming()')
BUG=None
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=202620
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=202955
Patch Set 1 #Patch Set 2 : #
Total comments: 7
Patch Set 3 : Fix review comments #
Total comments: 12
Patch Set 4 : z #
Total comments: 9
Patch Set 5 : #Patch Set 6 : Fix review comments #
Total comments: 6
Patch Set 7 : Send TabLoadTime over IPC instead of DictionaryValue #Patch Set 8 : Per-tab timing info. #Patch Set 9 : formatting/compile fix #
Total comments: 24
Patch Set 10 : Fix review comments #Patch Set 11 : Work in Progress #Patch Set 12 : Remove browser-side code #Patch Set 13 : Ready for review #
Total comments: 4
Patch Set 14 : Patch for landing #Patch Set 15 : Fix startup_measurement #Patch Set 16 : Fix telemetry tests with reference builds. #
Total comments: 1
Messages
Total messages: 48 (0 generated)
|