Re: Changing CI builds to RelWithDebInfo from Debug

Xaver Hugl <[email protected]> Wed, 29 Jul 2026 13:01:08 +0200
Newsgroups gmane.comp.kde.devel.general
Message-ID <CAFZQkGy3UFBhEhqamsf17jArzndj=QUTK=KehORX2tnq7RoDww@mail.gmail.com>
--000000000000118fcb0657bde0e1
Content-Type: text/plain; charset="UTF-8"

On Wed, 29 Jul 2026, 10:23 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=ON
>              build time:       05:52
>              test time:         00:09
>              space on disk: 120.3 MiB
>

That's almost double the built time, which worries me.
At least with KWin, test runtime is nowadays much shorter than build time,
so changing to release builds would seem like a really bad tradeoff to me.
Especially considering that recently, CI is way too slow to begin with.

- Xaver

>

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

<div dir=3D"auto"><div dir=3D"auto">On Wed, 29 Jul 2026, 10:23 Igor Mironch=
ik, &lt;<a href=3D"mailto:[email protected]">[email protected]=
m</a>&gt; wrote:</div><div class=3D"gmail_quote gmail_quote_container" dir=
=3D"auto"><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;bord=
er-left:1px #ccc solid;padding-left:1ex">
Hi. I did a local test on Linux with gcc version 15.3.0 (SUSE Linux)=C2=A0 =
on my <br>
project.<br>
<br>
The results:<br>
<br>
Debug<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0build time:=C2=A0 =C2=A0 =
=C2=A0 =C2=A003:14<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0test time:=C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A000:09<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0space on disk: 833.3 MiB<br=
>
<br>
Release with -DECM_FORCE_ASSERTS=3DON <br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0build time:=C2=A0 =C2=A0 =
=C2=A0 =C2=A005:52<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0test time:=C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A000:09<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0space on disk: 120.3 MiB<br=
></blockquote></div><div dir=3D"auto"><br></div><div dir=3D"auto">That&#39;=
s almost double the built time, which worries me.</div><div dir=3D"auto">At=
 least with KWin, test runtime is nowadays much shorter than build time, so=
 changing to release builds would seem like a really bad tradeoff to me. Es=
pecially considering that recently, CI is way too slow to begin with.</div>=
<div dir=3D"auto"><br></div><div dir=3D"auto">- Xaver</div><div class=3D"gm=
ail_quote gmail_quote_container" dir=3D"auto"><blockquote class=3D"gmail_qu=
ote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex=
">
</blockquote></div></div>

--000000000000118fcb0657bde0e1--