Re: Changing CI builds to RelWithDebInfo from Debug

Ben Cooksley <[email protected]> Thu, 30 Jul 2026 22:28:19 +1200
Newsgroups gmane.comp.kde.devel.general
Message-ID <CA+XidOGSNhUJnGdiQaNqjc_ukMeijP4pGnV7xxHB6Qz4fA37uA@mail.gmail.com>
--00000000000092b56e0657d18880
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

On Thu, Jul 30, 2026 at 1:51=E2=80=AFAM Nate Graham <[email protected]> wrote:

>
> On Wed, Jul 29, 2026 at 8:23=E2=80=AFPM Igor Mironchik
> <[email protected]> wrote:
> >     Hi. I did a local test on Linux with gcc version 15.3.0 (SUSE
> >     Linux)  on my
> >     project.
> >
> >     The results:
> >
> >     Debug
> >                   build time:       03:14
> >                   test time:         00:09
> >                   space on disk: 833.3 MiB
> >
> >     Release with -DECM_FORCE_ASSERTS=3DON
> >                   build time:       05:52
> >                   test time:         00:09
> >                   space on disk: 120.3 MiB
>
>
> That's a huge increase in build time. I fear this will exacerbate our
> existing problem of CI resource contention.
>
> Could we keep the debug builds and strip or throw away the unneeded
> debug symbols so they aren't taking up space on the builders?
>

You can strip debug symbols but then you lose out on backtraces when
something crashes on CI.

This particular proposal may need some test runs done to see what is
causing the significant increase in build time as I would not have expected
release optimisation to increase build times that substantially.


>
> Nate
>
>
Regards,
Ben

--00000000000092b56e0657d18880
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr"><span style=3D"background-color:transpare=
nt">On Thu, Jul 30, 2026 at 1:51=E2=80=AFAM Nate Graham &lt;<a href=3D"mail=
to:[email protected]">[email protected]</a>&gt; wrote:</span></div><div class=3D"gmai=
l_quote gmail_quote_container"><blockquote class=3D"gmail_quote" style=3D"m=
argin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left=
:1ex"><br>
On Wed, Jul 29, 2026 at 8:23=E2=80=AFPM Igor Mironchik <br>
&lt;<a href=3D"mailto:[email protected]" target=3D"_blank">igor.miro=
[email protected]</a>&gt; wrote:<br>
&gt;=C2=A0 =C2=A0 =C2=A0Hi. I did a local test on Linux with gcc version 15=
.3.0 (SUSE<br>
&gt;=C2=A0 =C2=A0 =C2=A0Linux)=C2=A0 on my<br>
&gt;=C2=A0 =C2=A0 =C2=A0project.<br>
&gt; <br>
&gt;=C2=A0 =C2=A0 =C2=A0The results:<br>
&gt; <br>
&gt;=C2=A0 =C2=A0 =C2=A0Debug<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0bu=
ild time:=C2=A0 =C2=A0 =C2=A0 =C2=A003:14<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0te=
st time:=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A000:09<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0sp=
ace on disk: 833.3 MiB<br>
&gt; <br>
&gt;=C2=A0 =C2=A0 =C2=A0Release with -DECM_FORCE_ASSERTS=3DON<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0bu=
ild time:=C2=A0 =C2=A0 =C2=A0 =C2=A005:52<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0te=
st time:=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A000:09<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0sp=
ace on disk: 120.3 MiB<br>
<br>
<br>
That&#39;s a huge increase in build time. I fear this will exacerbate our <=
br>
existing problem of CI resource contention.<br>
<br>
Could we keep the debug builds and strip or throw away the unneeded <br>
debug symbols so they aren&#39;t taking up space on the builders?<br></bloc=
kquote><div><br></div><div>You can strip debug symbols but then you lose ou=
t on backtraces when something crashes on CI.</div><div><br></div><div>This=
 particular proposal may need some test runs done to see what is causing th=
e significant increase in build time as I would not have expected release o=
ptimisation to increase build times that substantially.</div><div>=C2=A0</d=
iv><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;bord=
er-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
Nate<br><br></blockquote><div><br></div><div>Regards,</div><div>Ben=C2=A0</=
div></div></div>

--00000000000092b56e0657d18880--