<?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>166832</bug_id>
          
          <creation_ts>2017-01-08 14:13:04 -0800</creation_ts>
          <short_desc>Explore combinations of timeout and work count as a metric for when to end an increment of constraint solving</short_desc>
          <delta_ts>2017-11-21 14:14:00 -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>JavaScriptCore</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</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>
          <dependson>166831</dependson>
          <blocked>165909</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Filip Pizlo">fpizlo</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1264853</commentid>
    <comment_count>0</comment_count>
    <who name="Filip Pizlo">fpizlo</who>
    <bug_when>2017-01-08 14:13:04 -0800</bug_when>
    <thetext>In steady state, after constraint solving marks something, we just yield to marking. But it seems like we could have a smarter metric, where we yield subject to timeout so long as we have at least one thing of new work but haven&apos;t yet hit some minimum quota of minimum work.  For example we might have a mutator mark stack that always has one damn thing in it.  It&apos;s probably more profitable to try to
run one extra constraint after that, so long as we haven&apos;t been running for too long.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1374089</commentid>
    <comment_count>1</comment_count>
    <who name="Filip Pizlo">fpizlo</who>
    <bug_when>2017-11-21 14:14:00 -0800</bug_when>
    <thetext>I think that we should get rid of timeout instead.  We should always full run constraints.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>