<?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>139738</bug_id>
          
          <creation_ts>2014-12-17 11:49:59 -0800</creation_ts>
          <short_desc>[iOS] run-webkit-tests significantly slows down when running the last bunch of tests</short_desc>
          <delta_ts>2022-02-12 19:08:30 -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>Tools / Tests</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>iPhone / iPad</rep_platform>
          <op_sys>iOS 8.1</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>CONFIGURATION CHANGED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Daniel Bates">dbates</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ap</cc>
    
    <cc>bfulgham</cc>
    
    <cc>ddkilzer</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1056487</commentid>
    <comment_count>0</comment_count>
    <who name="Daniel Bates">dbates</who>
    <bug_when>2014-12-17 11:49:59 -0800</bug_when>
    <thetext>I noticed when using run-webkit-tests to run iOS layout tests using WebKit1 an WebKit2 that the rate at which tests are run significantly slows down as run-webkit-tests nears completion. This behavior tends to be more noticeable when running large batches of tests (&gt; 10000). I am using a Mac Pro with 2 x 2.66 GHz 6-Core Intel Xeon processors, 12 GB RAM, OS X Yosemite (14A378) with a debug build of WebKit at r177430.

I invoke run-webkit-tests to run tests using WebKit2 with a command line of the form:

Tools/Scripts/run-webkit-tests --ios-sim --runtime com.apple.CoreSimulator.SimRuntime.iOS-[...] --device-type com.apple.CoreSimulator.SimDeviceType.iPhone-5s --no-sample-on-timeout --results-directory layout-test-results-rebase -2 [...]

(I omit the argument -2 in the above command to run the specified tests using WebKit1).

When invoked with [...] as the empty string (i.e. to run the full suite of layout tests), run-webkit-test will run 24 instances of WebKitTestRunnerApp.app in parallel.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1056491</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2014-12-17 12:04:19 -0800</bug_when>
    <thetext>&lt;rdar://problem/19282201&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1056518</commentid>
    <comment_count>2</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2014-12-17 13:04:43 -0800</bug_when>
    <thetext>Is it just that some workers finish, and there are only a few of them remaining at the end? Running run-webkit-tests with --debug-rwt-logging should tell.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>