<?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>11908</bug_id>
          
          <creation_ts>2006-12-21 05:16:14 -0800</creation_ts>
          <short_desc>WebKit spends 40% of its time displaying &quot;bamboo.svg&quot; executing Regexes</short_desc>
          <delta_ts>2006-12-27 15:27:39 -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>SVG</component>
          <version>420+</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.4</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>http://xml2.mweb.co.za/clipart/plants/bamboo_01.svg</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>11108</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Eric Seidel (no email)">eric</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>mitz</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>40977</commentid>
    <comment_count>0</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2006-12-21 05:16:14 -0800</bug_when>
    <thetext>WebKit spends 40% of its time displaying &quot;bamboo.svg&quot; executing Regexes

This function:
bool SVGTransformable::parseTransformAttribute(SVGTransformList* list, const AtomicString&amp; transform)

Uses a regex for parsing.  Ick.

that&apos;s eating 40% of our time while parsing, at least when displaying bamboo.svg  I think a simpler, custom parser is in order.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>40978</commentid>
    <comment_count>1</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2006-12-21 05:17:19 -0800</bug_when>
    <thetext>it&apos;s actually bamboo_01.svg

http://xml2.mweb.co.za/clipart/plants/bamboo_01.svg

Save it locally for proper testing.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>40771</commentid>
    <comment_count>2</comment_count>
    <who name="">mitz</who>
    <bug_when>2006-12-21 06:47:40 -0800</bug_when>
    <thetext>(In reply to comment #0)

&gt; I think a simpler, custom parser is in order.

See attachment 10944 in bug 11108.
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>40358</commentid>
    <comment_count>3</comment_count>
    <who name="Rob Buis">rwlbuis</who>
    <bug_when>2006-12-22 13:46:38 -0800</bug_when>
    <thetext>Hi Eric, Mitz,

(In reply to comment #2)
&gt; (In reply to comment #0)
&gt; 
&gt; &gt; I think a simpler, custom parser is in order.
&gt; 
&gt; See attachment 10944 [edit] in bug 11108.

I created a new patch that actually compiles on ToT :) I&apos;d love it if someone could take it and shark it with bamboo.svg, since I am away for at least 24h.
Cheers,

Rob.
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>39381</commentid>
    <comment_count>4</comment_count>
    <who name="Rob Buis">rwlbuis</who>
    <bug_when>2006-12-27 15:25:25 -0800</bug_when>
    <thetext>Landed in r18440.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>39382</commentid>
    <comment_count>5</comment_count>
    <who name="Rob Buis">rwlbuis</who>
    <bug_when>2006-12-27 15:27:39 -0800</bug_when>
    <thetext>Landed in r18440.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>