Skip to content

Add diff batch startup api call

Stanislav Lashmanov requested to merge slashmanov/file-batch-startup-call into master

What does this MR do and why?

Related to Improve browser Total Blocking Time (TBT) perfo... (#338359 - closed)

This MR starts the first request to diff files batch as soon as possible, skipping the page initialization step.

Screenshots

before after
Screenshot_2022-11-10_at_13.05.35 Screenshot_2022-11-10_at_13.04.17

How to set up and validate locally

  1. Open MR Changes tab that contains any changes

You should see the request for the diff files batch (diffs_batch.json endpoint) start before the diffs app is loaded.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Jacques Erasmus

Merge request reports