DescriptionInspectorController should lazily initialize InspectorAgents which begin instrumenting at later stage.
Presently InspectorController creates and initializes all the InspectorAgents in the InspectorController.
InspectorController is installed during the Page construction i.e. from the Page() constructor.
Most of these agents are required to instrument at the later stage and hence need not be created/initialized
during the Page construction.
This saves about ~2.5KB of memory allocation during the startup of the page.
BUG=337789
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=165814
Patch Set 1 #Patch Set 2 : Patch after rebase! #
Total comments: 1
Patch Set 3 : Patch for landing! #
Messages
Total messages: 10 (0 generated)
|