brave / brave-browser

Brave browser for Android, iOS, Linux, macOS, Windows.
https://brave.com
Mozilla Public License 2.0
17.02k stars 2.22k forks source link

[Perf] Estimate Leo performance impact #37834

Open atuchin-m opened 2 months ago

atuchin-m commented 2 months ago

We need to verify there is no negative performance impact with Leo opt-in during regular browsing. The plan:

  1. make a code or a test perf profile with opt-in Leo;
  2. run the regular perf tests, compare with the baseline (no Leo);
  3. Check the chrome://tracing for dropped frames and long blocking task, check javascript injections.
atuchin-m commented 1 month ago

Leo opt-in was enabled in the perf tests for both Desktop and Android. There is no meaningful changes in high-level metrics. So it's looks like we don't have obvious perf issues related to Leo in general scenarios. Better to also check tracing to be sure.