<?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>33556</bug_id>
          
          <creation_ts>2010-01-12 15:46:22 -0800</creation_ts>
          <short_desc>Gtk build system is way too slow</short_desc>
          <delta_ts>2025-06-22 20:24:20 -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>Tools / Tests</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>OS X 10.5</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</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>33295</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Eric Seidel (no email)">eric</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>abarth</cc>
    
    <cc>evan</cc>
    
    <cc>gustavo</cc>
    
    <cc>Kyleronsidine191</cc>
    
    <cc>mrobinson</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>180010</commentid>
    <comment_count>0</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2010-01-12 15:46:22 -0800</bug_when>
    <thetext>Gtk build system is way too slow

Looking at the last few builds:
http://build.webkit.org/builders/GTK%20Linux%2064-bit%20Debug/builds/2335 447s compile
http://build.webkit.org/builders/GTK%20Linux%2064-bit%20Debug/builds/2334 511s compile
http://build.webkit.org/builders/GTK%20Linux%2064-bit%20Debug/builds/2333 513s compile
http://build.webkit.org/builders/GTK%20Linux%2064-bit%20Debug/builds/2333 1885s compile!

Adam Barth also complains that basically all of the time on the machine running the linux EWSes is spent building Gtk.  What&apos;s going on here?  Why is the gtk build so abysmally slow?  This hinders our ability to run gtk bots and keep the gtk build green. :(

I&apos;d be very interested to hear from people who actually work on the Gtk port theories as to what could be going on here.

The code for what the EWS runs is here:
http://trac.webkit.org/browser/trunk/WebKitTools/Scripts/webkitpy/commands/early_warning_system.py#L76

The code for what the gtk builder runs is here:
http://trac.webkit.org/browser/trunk/WebKitTools/BuildSlaveSupport/build.webkit.org-config/master.cfg#L70

To see logs of the build commands, see the above urls or any build linked from build.webkit.org.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>180011</commentid>
    <comment_count>1</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2010-01-12 15:47:30 -0800</bug_when>
    <thetext>I&apos;m also certain that the Gtk folks are well aware of this. :) I just wanted to make sure this was documented in the bug system, and hopefully spur some constructive relevant discussion and patches for this bug. :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>180012</commentid>
    <comment_count>2</comment_count>
    <who name="Adam Barth">abarth</who>
    <bug_when>2010-01-12 15:56:46 -0800</bug_when>
    <thetext>&quot;Adam Barth also complains&quot;

I&apos;m not sure I&apos;m complaining...  The bot needs something to do to keep itself entertained.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>180289</commentid>
    <comment_count>3</comment_count>
    <who name="Gustavo Noronha (kov)">gustavo</who>
    <bug_when>2010-01-13 10:49:03 -0800</bug_when>
    <thetext>This concern is already documented in the bug system, in a way: https://bugs.webkit.org/show_bug.cgi?id=32921

We have landed one patch that makes it faster, but I am having big trouble trying to give the second step. To be honest, the only way we&apos;ll get this build really faster seems to be by dropping automake, perhaps autotools as a whole, but that would lose us some advantages.

Notice you are looking at debug builds, too - are the EWS bots doing debug builds?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>180304</commentid>
    <comment_count>4</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2010-01-13 11:18:36 -0800</bug_when>
    <thetext>The EWS currently only does either release or debug, but once all the builds are fast enough, it will do both.  The commit-queue for instance, does both Debug and Release builds and then tests on Release.  Once are tests are faster (soon!) it will test on both.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>277217</commentid>
    <comment_count>5</comment_count>
    <who name="Martin Robinson">mrobinson</who>
    <bug_when>2010-09-10 08:45:39 -0700</bug_when>
    <thetext>Is this still an issue? A quick check of recent builds shows the length of our debug builds are on the same order as those for Debug Leopard.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>994390</commentid>
    <comment_count>6</comment_count>
    <who name="Martin Robinson">mrobinson</who>
    <bug_when>2014-03-25 15:27:03 -0700</bug_when>
    <thetext>It&apos;s actually much faster now with CMake + ninja. I think it&apos;s safe to close this weirdly enough.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2125131</commentid>
    <comment_count>7</comment_count>
    <who name="Ashtyn Schaefer">Kyleronsidine191</who>
    <bug_when>2025-06-22 20:24:20 -0700</bug_when>
    <thetext>CMake + ninja is also quite a potential solution at the moment, although it has been through a long time of testing.
Visit: https://poor-bunny.com</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>