<?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>102858</bug_id>
          
          <creation_ts>2012-11-20 19:08:45 -0800</creation_ts>
          <short_desc>[v8] 4% regression in dom_traverse tests</short_desc>
          <delta_ts>2013-09-01 10:34:38 -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>WebCore Misc.</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>103821</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ojan Vafai">ojan</reporter>
          <assigned_to name="Adam Barth">abarth</assigned_to>
          <cc>abarth</cc>
    
    <cc>andersca</cc>
    
    <cc>cdumez</cc>
    
    <cc>haraken</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>772378</commentid>
    <comment_count>0</comment_count>
    <who name="Ojan Vafai">ojan</who>
    <bug_when>2012-11-20 19:08:45 -0800</bug_when>
    <thetext>haraken, abarth, looks to be one of your patches.

http://build.chromium.org/f/chromium/perf/chromium-rel-win7-webkit/dromaeo_domcoretraverse/report.html?rev=168181&amp;graph=dom_traverse_previousSibling&amp;trace=score&amp;history=150

http://build.chromium.org/f/chromium/perf/chromium-rel-win7-webkit/dromaeo_domcoretraverse/report.html?rev=168181&amp;graph=dom_traverse_nextSibling&amp;trace=score&amp;history=150

http://build.chromium.org/f/chromium/perf/chromium-rel-win7-webkit/dromaeo_domcoretraverse/report.html?rev=168181&amp;graph=dom_traverse_previousSibling&amp;history=150

http://build.chromium.org/f/chromium/perf/chromium-rel-win7-webkit/dromaeo_domcoretraverse/report.html?rev=168181&amp;graph=dom_traverse_nextSibling&amp;history=150

Regression range seems to be http://trac.webkit.org/log/?verbose=on&amp;rev=134736&amp;stop_rev=134728.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>776996</commentid>
    <comment_count>1</comment_count>
    <who name="Ojan Vafai">ojan</who>
    <bug_when>2012-11-27 11:12:06 -0800</bug_when>
    <thetext>ping</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>777342</commentid>
    <comment_count>2</comment_count>
    <who name="Kentaro Hara">haraken</who>
    <bug_when>2012-11-27 16:24:01 -0800</bug_when>
    <thetext>(In reply to comment #0)
&gt; Regression range seems to be http://trac.webkit.org/log/?verbose=on&amp;rev=134736&amp;stop_rev=134728.

abarth: Maybe the culprit is r134729 ? Other changes in the range don&apos;t change generated code at all.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>777345</commentid>
    <comment_count>3</comment_count>
    <who name="Adam Barth">abarth</who>
    <bug_when>2012-11-27 16:25:27 -0800</bug_when>
    <thetext>Sure.  We can revert that patch to see.  We&apos;ll need to do the revert manually though.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>777944</commentid>
    <comment_count>4</comment_count>
      <attachid>176492</attachid>
    <who name="Adam Barth">abarth</who>
    <bug_when>2012-11-28 08:47:48 -0800</bug_when>
    <thetext>Created attachment 176492
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>777948</commentid>
    <comment_count>5</comment_count>
      <attachid>176492</attachid>
    <who name="Adam Barth">abarth</who>
    <bug_when>2012-11-28 08:50:59 -0800</bug_when>
    <thetext>Comment on attachment 176492
Patch

Clearing flags on attachment: 176492

Committed r136015: &lt;http://trac.webkit.org/changeset/136015&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>777950</commentid>
    <comment_count>6</comment_count>
    <who name="Adam Barth">abarth</who>
    <bug_when>2012-11-28 08:51:43 -0800</bug_when>
    <thetext>I&apos;m leaving this bug open to remind us to check where the bot is actually healed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>778381</commentid>
    <comment_count>7</comment_count>
    <who name="Adam Barth">abarth</who>
    <bug_when>2012-11-28 14:52:38 -0800</bug_when>
    <thetext>No luck.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>778705</commentid>
    <comment_count>8</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2012-11-28 22:42:18 -0800</bug_when>
    <thetext>After the roll out, the following bindings generation test is failing:

FAIL: (V8) V8TestNode.h
--- WebCore/bindings/scripts/test/V8/V8TestNode.h	2012-11-19 18:49:35.208640094 -0800
+++ /tmp/tmpIYlIMK/V8TestNode.h	2012-11-28 09:23:10.983184745 -0800
@@ -88,10 +88,11 @@
     // in an isolated world. The fastest way we know how to do that is to check
     // whether the holder&apos;s inline wrapper is the same wrapper we see in the
     // v8::AccessorInfo.
-    v8::Handle&lt;v8::Object&gt; wrapper = (holder-&gt;wrapper() == info.Holder()) ? impl-&gt;wrapper() : DOMDataStore::getNode(impl, info.GetIsolate());
+    v8::Handle&lt;v8::Object&gt; holderWrapper = info.Holder();
+    v8::Handle&lt;v8::Object&gt; wrapper = (holder-&gt;wrapper() == holderWrapper) ? impl-&gt;wrapper() : DOMDataStore::getNode(impl, info.GetIsolate());
     if (!wrapper.IsEmpty())
         return wrapper;
-    return wrap(impl, info.Holder(), info.GetIsolate());
+    return wrap(impl, holderWrapper, info.GetIsolate());
 }
 
 inline v8::Handle&lt;v8::Value&gt; toV8(PassRefPtr&lt; TestNode &gt; impl, v8::Handle&lt;v8::Object&gt; creationContext = v8::Handle&lt;v8::Object&gt;(), v8::Isolate* isolate = 0)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>778706</commentid>
    <comment_count>9</comment_count>
    <who name="Kentaro Hara">haraken</who>
    <bug_when>2012-11-28 22:45:31 -0800</bug_when>
    <thetext>(In reply to comment #8)
&gt; After the roll out, the following bindings generation test is failing:

Sorry, fixed in r136100.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>780558</commentid>
    <comment_count>10</comment_count>
    <who name="Ojan Vafai">ojan</who>
    <bug_when>2012-11-30 17:02:37 -0800</bug_when>
    <thetext>(In reply to comment #7)
&gt; No luck.

Not only that, it may have caused https://bugs.webkit.org/show_bug.cgi?id=103791.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>923513</commentid>
    <comment_count>11</comment_count>
    <who name="Anders Carlsson">andersca</who>
    <bug_when>2013-09-01 10:34:38 -0700</bug_when>
    <thetext>V8 is gone.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>176492</attachid>
            <date>2012-11-28 08:47:48 -0800</date>
            <delta_ts>2012-11-28 08:50:59 -0800</delta_ts>
            <desc>Patch</desc>
            <filename>bug-102858-20121128084523.patch</filename>
            <type>text/plain</type>
            <size>1987</size>
            <attacher name="Adam Barth">abarth</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMTM2MDA5CmRpZmYgLS1naXQgYS9Tb3VyY2UvV2ViQ29yZS9D
aGFuZ2VMb2cgYi9Tb3VyY2UvV2ViQ29yZS9DaGFuZ2VMb2cKaW5kZXggY2QxZjc2MGFhMDI4ZGI4
ZDg2ZTZmMjk0NTk4Y2ZlNmIzMTFkNGNmNS4uMjZkNzM4ZTRiNjZiN2ZjYWEyMTM4NDVmOWJjNzI3
MTc1OGI2ZDhkYSAxMDA2NDQKLS0tIGEvU291cmNlL1dlYkNvcmUvQ2hhbmdlTG9nCisrKyBiL1Nv
dXJjZS9XZWJDb3JlL0NoYW5nZUxvZwpAQCAtMSwzICsxLDE3IEBACisyMDEyLTExLTI4ICBBZGFt
IEJhcnRoICA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by5I
b2xkZXIoKSwgaW5mby5HZXRJc29sYXRlKCkpOworICAgIHJldHVybiB3cmFwKGltcGwsIGhvbGRl
cldyYXBwZXIsIGluZm8uR2V0SXNvbGF0ZSgpKTsKIH0KIEVORAogICAgICAgICB9Cg==
</data>

          </attachment>
      

    </bug>

</bugzilla>