<?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>137818</bug_id>
          
          <creation_ts>2014-10-17 07:21:42 -0700</creation_ts>
          <short_desc>[meta][EFL] Speedup incremental builds</short_desc>
          <delta_ts>2017-03-11 10:32:23 -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>Unspecified</rep_platform>
          <op_sys>Unspecified</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>137605</dependson>
    
    <dependson>137949</dependson>
    
    <dependson>137953</dependson>
    
    <dependson>138464</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Csaba Osztrogonác">ossy</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>gyuyoung.kim</cc>
    
    <cc>mcatanzaro</cc>
    
    <cc>ossy</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1042371</commentid>
    <comment_count>0</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2014-10-17 07:21:42 -0700</bug_when>
    <thetext>Now the incremental build takes too long if you touch only one cpp.
In my opinion it slows down the development, so we need to speed up it.

Some ideas:
- Don&apos;t run cmake, just run ninja directly --&gt; the developer can do it, no fix needed
- Reduce always running targets to zero, simiar to GTK ( bug130075 ), now only 
  forwarding header generator runs 4 times always, and it takes ~ 5-6 seconds
- use gold linker (really faster)
- be able to disable API tests easily (87 relinking --&gt; 9 relinking)

My quick and dirty fixes for these task reduced the incremental build from ~2 minutes to 10 seconds. 
I&apos;m going to add subtasks to the depends on list soon and upstream fixes.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1043436</commentid>
    <comment_count>1</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2014-10-22 06:35:19 -0700</bug_when>
    <thetext>(In reply to comment #0)
&gt; - Don&apos;t run cmake, just run ninja directly --&gt; the developer can do it, no
&gt; fix needed
We can do it automatically too, new bug report for it: bug137949
performance win: ~ 0.5 minutes

&gt; - Reduce always running targets to zero, simiar to GTK ( bug130075 ),
&gt; now only forwarding header generator runs 4 times always,
&gt; and it takes ~ 5-6 &gt; seconds
It can cause problems like mentioned here: https://bugs.webkit.org/show_bug.cgi?id=137394#c6

&gt; - use gold linker (really faster)
new bug report for it: bug137953
performance win: ~ 1 minute

&gt; - be able to disable API tests easily (87 relinking --&gt; 9 relinking)
It is already possible with build-webkit --cmakeargs=&quot;-DENABLE_API_TESTS=OFF&quot;
performance win: ~ 1 minute

If we use these 3 optimizations together, the incremental build 
takes only 10 seconds instead of 1m51s seconds.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1286177</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2017-03-11 10:32:23 -0800</bug_when>
    <thetext>Closing this bug because the EFL port has been removed from trunk.

If you feel this bug applies to a different upstream WebKit port and was closed in error, please either update the title and reopen the bug, or leave a comment to request this.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>