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

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?
The content script injection at document_start has some fairly sizable cost associated. 50ms on my modern MacBook Air.
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?