mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-12 03:56:15 -08:00
docs(performance): note that Playwright pins pages visible
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
c4de74c8c0
commit
50b294c920
1 file changed
+7
@@ -89,6 +89,13 @@ The three worst offenders, in order:
|
||||
instruments. The instrumented pass had browser-process CPU of about 2.5 s
|
||||
per window and 550 wakeups/s, almost all of it the sampling profiler.
|
||||
|
||||
Playwright pins every page it attaches to as visible: `Emulation.setFocusEmulationEnabled`
|
||||
raises the page's capturer count. The minimized windows above were measured
|
||||
through Playwright. That is faithful for this build, because
|
||||
`backgroundThrottling: false` keeps the page visible anyway. Measuring a build
|
||||
where the window can become hidden needs a launch without Playwright over raw
|
||||
CDP. The follow-up PRs do that.
|
||||
|
||||
Harness artifacts that were excluded:
|
||||
|
||||
- The E2E fixture's own 60 Hz rAF frame counter (`startRendererFrameCapture`),
|
||||
|
||||
Reference in new issue
Block a user