<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>305251</bug_id>
          
          <creation_ts>2026-01-10 00:39:46 -0800</creation_ts>
          <short_desc>High INP (Interaction to Next Paint) for interactions with no immediate screen updates</short_desc>
          <delta_ts>2026-01-24 01:31:38 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebCore Misc.</component>
          <version>Safari 16</version>
          <rep_platform>Mac (Apple Silicon)</rep_platform>
          <op_sys>macOS 15</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Barry Pollard">barry</reporter>
          <assigned_to name="Franco Vieira de Souza">franco_vieira</assigned_to>
          <cc>franco_vieira</cc>
    
    <cc>rreno</cc>
    
    <cc>ryan</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2170877</commentid>
    <comment_count>0</comment_count>
    <who name="Barry Pollard">barry</who>
    <bug_when>2026-01-10 00:39:46 -0800</bug_when>
    <thetext>When I visit this simple demo page:
https://www.tunetheweb.com/experiments/event-timing/
and click on the `&lt;h1&gt;` I see PerformanceEventTiming entries (used to measure INP) of 504ms or more when it should be much closer to 150ms.

I even see it when there are no event handlers at all:
https://www.tunetheweb.com/experiments/event-timing/no-event-handlers.html

Curiously I don&apos;t often see it with this more complex page:
https://chrome.dev/inp-demo/
That has a widget causing constant frame updates - Maybe that is why?

So here&apos;s a copy of my origin demo that does a screen update:
https://www.tunetheweb.com/experiments/event-timing/with-update.html
And now pointerup/click is as expected, and usually too fast to even register (except for the first first-input).

We still see a somewhat slow pointerdown, so let&apos;s add an event handler to that:
https://www.tunetheweb.com/experiments/event-timing/with-both-updates.html
And now that&apos;s also fixed.

If there is no screen update to make, then `first-input` and `event` should return quickly/almost instantly rather than appear to show a poor responsiveness. I can&apos;t see this explicitly mentioned in the spec (https://w3c.github.io/event-timing/#sec-performance-event-timing) but it&apos;s how Chrome and Firefox work.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2171263</commentid>
    <comment_count>1</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2026-01-12 13:54:33 -0800</bug_when>
    <thetext>Thank you for the report!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2171265</commentid>
    <comment_count>2</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2026-01-12 13:59:55 -0800</bug_when>
    <thetext>&lt;rdar://problem/168016487&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2171848</commentid>
    <comment_count>3</comment_count>
    <who name="Franco Vieira de Souza">franco_vieira</who>
    <bug_when>2026-01-14 10:03:14 -0800</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/56574</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2174714</commentid>
    <comment_count>4</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2026-01-24 01:31:36 -0800</bug_when>
    <thetext>Committed 306142@main (8af8a7cdd78d): &lt;https://commits.webkit.org/306142@main&gt;

Reviewed commits have been landed. Closing PR #56574 and removing active labels.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>