New issue
Advanced search Search tips

Issue 916103 link

Starred by 2 users

Issue metadata

Status: Started
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Task



Sign in to add a comment

CodeCache for inline script: Run some benchmark.

Project Member Reported by arthurso...@chromium.org, Dec 18

Issue description

The browser process commit a navigation by sending the response's header and response'body to a renderer process. In the renderer process, it should start loading immediately. Currently, this is not the case. There is now Javascript Code caching for inline scripts. It blocks loading and waits for an IPC roundtrip with the browser process (and network process) for a potential cached code.

I would like to benchmark a few things:
1) Instead of blocking the loader, block only the parser. It would allow the navigation to commit quickly.
2) Instead of blocking the loader, block only the parser when it encounters a inline script.
3) Request code cache earlier, when the navigation is still in the browser process.
4) Stop using code caching for the main resource.

1) and 4) are easy to do, so I will try them first.
 
I made a hackish version for 1)
https://chromium-review.googlesource.com/c/chromium/src/+/1382272

Added two pinpoint jobs:
https://pinpoint-dot-chromeperf.appspot.com/job/149711e9140000 (android-go)
https://pinpoint-dot-chromeperf.appspot.com/job/13ce132e140000 (linux)

Added one cluster telemetry on linux:
(... no link available ...)
😿 Pinpoint job stopped with an error.
https://pinpoint-dot-chromeperf.appspot.com/job/13ce132e140000

All of the runs failed. The most common error (1/20 runs) was:
IOError: [Errno 2] No such file or directory: '/b/s/w/itZz075W/tmpMBvNzStelemetry/histograms.json'
😿 Pinpoint job stopped with an error.
https://pinpoint-dot-chromeperf.appspot.com/job/15ff04a1140000

All of the runs failed. The most common error (1/20 runs) was:
IOError: [Errno 2] No such file or directory: '/b/s/w/itlpDV0d/tmpFF69Pztelemetry/histograms.json'
Cc: lizeb@chromium.org
📍 Job complete. See results below.
https://pinpoint-dot-chromeperf.appspot.com/job/116f788e140000
📍 Job complete. See results below.
https://pinpoint-dot-chromeperf.appspot.com/job/179d9da5140000
😿 Pinpoint job stopped with an error.
https://pinpoint-dot-chromeperf.appspot.com/job/12b095e6140000

All of the runs failed. The most common error (10/20 runs) was:
TimeoutException: Timed out while waiting 180s for HasReachedQuiescence.
📍 Job complete. See results below.
https://pinpoint-dot-chromeperf.appspot.com/job/175d03f1140000
😿 Pinpoint job stopped with an error.
https://pinpoint-dot-chromeperf.appspot.com/job/149711e9140000

All of the runs failed. The most common error (1/20 runs) was:
IOError: [Errno 2] No such file or directory: '/b/swarming/w/itUXgszZ/tmpmGTg4Jtelemetry/histograms.json'
😿 Pinpoint job stopped with an error.
https://pinpoint-dot-chromeperf.appspot.com/job/12307d5c140000

All of the runs failed. The most common error (1/20 runs) was:
IOError: [Errno 2] No such file or directory: '/b/swarming/w/itSRMMkN/tmp_ozLMwtelemetry/histograms.json'
😿 Pinpoint job stopped with an error.
https://pinpoint-dot-chromeperf.appspot.com/job/11e602d1140000

All of the runs failed. The most common error (1/20 runs) was:
IOError: [Errno 2] No such file or directory: '/b/swarming/w/itPOxnP0/tmpVl1_Gttelemetry/histograms.json'
😿 Pinpoint job stopped with an error.
https://pinpoint-dot-chromeperf.appspot.com/job/144a405e140000

All of the runs failed. The most common error (19/20 runs) was:
TimeoutException: Timed out while waiting 180s for HasReachedQuiescence.
📍 Job complete. See results below.
https://pinpoint-dot-chromeperf.appspot.com/job/16c46111140000
😿 Pinpoint job stopped with an error.
https://pinpoint-dot-chromeperf.appspot.com/job/121ffe7c140000

All of the runs failed. The most common error (18/20 runs) was:
TimeoutException: Timed out while waiting 180s for HasReachedQuiescence.
📍 Job complete. See results below.
https://pinpoint-dot-chromeperf.appspot.com/job/16a0eba5140000
😿 Pinpoint job stopped with an error.
https://pinpoint-dot-chromeperf.appspot.com/job/12e56cf6140000

All of the runs failed. The most common error (20/20 runs) was:
BuildError: Build failed: BUILD_FAILURE
📍 Job complete. See results below.
https://pinpoint-dot-chromeperf.appspot.com/job/16b46931140000
📍 Job complete. See results below.
https://pinpoint-dot-chromeperf.appspot.com/job/11a0eba5140000
📍 Job complete. See results below.
https://pinpoint-dot-chromeperf.appspot.com/job/16110145140000

Sign in to add a comment