<?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>24627</bug_id>
          
          <creation_ts>2009-03-16 13:56:04 -0700</creation_ts>
          <short_desc>Large SVG documents have performance issues</short_desc>
          <delta_ts>2022-07-15 14:46:17 -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>SVG</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.5</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>CONFIGURATION CHANGED</resolution>
          
          
          <bug_file_loc>http://code.haskell.org/~dons/images/svg/hackage-circo.svg</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>14015</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Kevin Ballard">kevin</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bfulgham</cc>
    
    <cc>emacemac7</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>113922</commentid>
    <comment_count>0</comment_count>
    <who name="Kevin Ballard">kevin</who>
    <bug_when>2009-03-16 13:56:04 -0700</bug_when>
    <thetext>Rendering a large SVG document in WebKit has irritating performance implications. The following document was used to observe this behavior:

http://code.haskell.org/~dons/images/svg/hackage-circo.svg
(there are some other large SVG documents in the same directory)

Any attempt to interact with the page causes a significant CPU spike. For example, clicking away to another app causes a second delay before the window deactivates (and similarly for reactivating). Even just clicking causes a CPU spike even though the document doesn&apos;t define any click handling.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>115880</commentid>
    <comment_count>1</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2009-03-30 14:08:30 -0700</bug_when>
    <thetext>I think this is partially due to https://bugs.webkit.org/show_bug.cgi?id=14015 (we seem to be painting more than we&apos;re displaying?).  It&apos;s also probably partially due to the SVG depending on stroke hittesting.  Or at least we seem to be hit-testing some path&apos;s stroke quite a bit, which is slow.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>115881</commentid>
    <comment_count>2</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2009-03-30 14:11:02 -0700</bug_when>
    <thetext>We also seem to hit-test the SVG every time, even if the hittest result isn&apos;t needed.  I think the major slowness seen in mouse-move is due to the fact that we&apos;re hit-testing every time.  We could invent a solution where the hit-testing wasn&apos;t done until the result was needed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1884249</commentid>
    <comment_count>3</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2022-07-15 14:46:17 -0700</bug_when>
    <thetext>It&apos;s difficult to confirm this bug without a test case. We don&apos;t believe there is an ongoing issue here. If you do feel there is a problem, please REOPEN this bug and include a test case illustrating the issue.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>