<?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>271336</bug_id>
          
          <creation_ts>2024-03-20 13:47:29 -0700</creation_ts>
          <short_desc>Web Inspector: File search is extremely slow – needs debounce</short_desc>
          <delta_ts>2025-05-14 07:24:49 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Web Inspector</component>
          <version>Safari 17</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>289036</dup_id>
          
          <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="Chris Paterson">paterson</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>inspector-bugzilla-changes</cc>
    
    <cc>paterson</cc>
    
    <cc>rcaliman</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2022545</commentid>
    <comment_count>0</comment_count>
    <who name="Chris Paterson">paterson</who>
    <bug_when>2024-03-20 13:47:29 -0700</bug_when>
    <thetext>Summary:

When inspecting a complex site with many files (example https://new.express.adobe.com/new) opening the sources tab and attempting a search for a file (via CMD+P) the input freezes for a time as you type.  My speculation is that on each letter inputted the entire list of files is being searched.  Instead, if a search has begun and a new letter has been inputted the previous search should be canceled and a new one created (commonly referred to as debouncing).

Reproduction:

1. open Safari to https://new.express.adobe.com/new
2. open Page Resources
3. Search for &quot;AudioThumbnail&quot; (CMD+P)
4. Observe that the first letter takes the longest while each subsequent letter the search speeds up</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2024283</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2024-03-27 13:48:11 -0700</bug_when>
    <thetext>&lt;rdar://problem/125508078&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2117027</commentid>
    <comment_count>2</comment_count>
    <who name="Razvan Caliman">rcaliman</who>
    <bug_when>2025-05-14 07:24:49 -0700</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 289036 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>