performance api

About this tag
The performance api tag on WindowsForum.com covers discussions about browser and web application performance measurement tools, with a focus on Microsoft's WebView2 and Windows 11. A recent thread explores the Delayed Message Timing API, a proposed tool for diagnosing cross-context messaging delays in WebView2. This API helps developers identify performance bottlenecks in modern web apps that use postMessage between windows, iframes, or workers. The discussion highlights how Windows 11's increasing reliance on WebView2 for UI surfaces makes such performance diagnostics relevant. Topics include using PerformanceObserver to trace delayed messages and understanding cross-context timing issues.
  1. Delayed Message Timing API: Diagnosing Cross Context Delays in WebView2 on Windows 11

    Microsoft’s browser team has quietly proposed a focused, practical tool to help developers diagnose one of the trickiest performance problems in modern web apps — delayed cross-context messaging — at the same time Windows 11 continues to lean on WebView2 to deliver more web-driven UI surfaces...