forked from puppeteer/puppeteer
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remote Browser's remoteDebuggingPort option
This patch remove remoteDebuggingPort option. Instead, browser is launched with '--remote-debugging-port=0' flag, letting browser to pick any port. The puppeteer reads the port number from the browser's stderr stream. This change cuts average browser start time from 300ms to 250ms on my machine. This happens since puppeteer doesn't have to probe network once every 100ms, waiting for the remote debugging server to instantiate. Fixes puppeteer#21.
- Loading branch information
1 parent
d120e7e
commit 279cd4c
Showing
4 changed files
with
27 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters