Skip to content

Minimize page startup cost #728

@paulirish

Description

@paulirish

The content script injection at document_start has some fairly sizable cost associated. 50ms on my modern MacBook Air.

image

To be fair, it appears the cost is actually all the extension subsystem. Nearly all cost is once chrome.runtime.connect({name: vAPI.sessionId}) is called.

Is there any opportunity to 1) avoid the content script injection or 2) avoid this runtime.connect call under certain circumstances?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions