<?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>20814</bug_id>
          
          <creation_ts>2008-09-12 16:20:25 -0700</creation_ts>
          <short_desc>V8 tests spend fair amount of time in property lookup cache misses</short_desc>
          <delta_ts>2012-09-23 16:31:33 -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>JavaScriptCore</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>WONTFIX</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>
          
          <blocked>20813</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Maciej Stachowiak">mjs</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>barraclough</cc>
    
    <cc>webmaster</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>90984</commentid>
    <comment_count>0</comment_count>
    <who name="Maciej Stachowiak">mjs</who>
    <bug_when>2008-09-12 16:20:25 -0700</bug_when>
    <thetext>A number of the V8 tests spend significant time in cti_op_get_by_id_generic, indicating misses of the polymorphic inline cache. Some of the causes include:

- Math object properties being accessed in a pattern that makes the structure ID change (since the function properties are created on demand). We might want to pre-populate all at once, perhaps, or at least prebuild the structure ID and leave &quot;placeholder&quot; values of some kind.
- Legitimate polymorphism, which we could handle either by making the generic case faster, or by making the polymorphic inline cache truly polymorphic up to some limit.
- Unknown causes perhaps due to bugs in our cache logic.

This most heavily affects DeltaBlue (to the tune of 23.2%) but Richards (6.4%), Raytrace (3.2%), and Crypto(1.9%) are also somewhat affected. See bug 20813 for profiles.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>572620</commentid>
    <comment_count>1</comment_count>
    <who name="Gavin Barraclough">barraclough</who>
    <bug_when>2012-03-07 00:05:10 -0800</bug_when>
    <thetext>*** Bug 20813 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>726313</commentid>
    <comment_count>2</comment_count>
    <who name="Gavin Barraclough">barraclough</who>
    <bug_when>2012-09-23 16:31:33 -0700</bug_when>
    <thetext>Our caching has improved a lot in the last 4 years, I don&apos;t think this bug is still tracking useful work (which is not to say our caching in v8 is perfect yet!).</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>