Open Bug 1813060 Opened 2 months ago Updated 2 months ago

Investigate performance impact of global CMP cookie banner rules


(Core :: Privacy: Anti-Tracking, task, P2)





(Reporter: pbz, Unassigned)


(Blocks 1 open bug)


Supporting global rules means we need to run banner detection (and clicking) code on every site. We need to run performance tests to see if this is feasible. Open questions include:

  • Does our global rule mechanism regress page performance? If so, how much?
    • Test on Desktop
    • Test on Android
    • Test on slow devices
  • How many global rules can be deployed to minimize performance impact while still providing good banner handling coverage?

We can test by:

  • Running a set of global rules on Nightly to see if we get perf alerts or bugs filed
  • Run mach try perf with different amounts of global rules (e.g. browsertime)
  • Record performance profiles comparing feature fully disabled, site-specific rules enabled, global rules enabled
  • Adding performance markers for better analysis via the profiler
You need to log in before you can comment on or make changes to this bug.