Re: Changing CI builds to RelWithDebInfo from Debug
Ben Cooksley <[email protected]> Wed, 29 Jul 2026 20:58:56 +1200
| Newsgroups | gmane.comp.kde.devel.general |
|---|---|
| Message-ID | <CA+XidOFAPnea+D25e_7RUV746wEw_VcRhenHv7dmWSr44rq9-A@mail.gmail.com> |
--0000000000001c931e0657bc2b48 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, Jul 29, 2026 at 8:23=E2=80=AFPM Igor Mironchik <igor.mironchik@gmai= l.com> wrote: > On Tuesday, 28 July 2026 15:30:14 Moscow Standard Time Albert Vaca Cintor= a > wrote: > > Seems like a good idea to me. Since trying it is cheap, I would say we = do > > that and compare both size and CI time. I expect the compile time to go > up > > but the test time to go down (thanks to the optimized code), so it's ha= rd > > to predict if overall we will gain or lose in total time. We can decide > if > > it's worth it when we see the difference in size and time. > > 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 > Thanks Igor. The reduction in disk space is largely what I was expecting. Did you do Release or RelWithDebInfo? Cheers, Ben --0000000000001c931e0657bc2b48 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 Wed, Jul 29, 2026 at 8:23=E2=80=AFPM Igor Mironchik <<a href=3D"m= ailto:[email protected]">[email protected]</a>> wrote:</sp= an></div><div class=3D"gmail_quote gmail_quote_container"><blockquote class= =3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rg= b(204,204,204);padding-left:1ex">On Tuesday, 28 July 2026 15:30:14 Moscow S= tandard Time Albert Vaca Cintora <br> wrote:<br> > Seems like a good idea to me. Since trying it is cheap, I would say we= do<br> > that and compare both size and CI time. I expect the compile time to g= o up<br> > but the test time to go down (thanks to the optimized code), so it'= ;s hard<br> > to predict if overall we will gain or lose in total time. We can decid= e if<br> > it's worth it when we see the difference in size and time.<br> <br> 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><br></div><div>Thanks Igor.</div><div><br></div><div>The= reduction in disk space is largely what I was expecting. Did you do Releas= e or RelWithDebInfo?</div><div><span style=3D"background-color:transparent"= ><br></span></div><div><span style=3D"background-color:transparent">Cheers,= </span></div><div><span style=3D"background-color:transparent">Ben=C2=A0</s= pan></div></div></div> --0000000000001c931e0657bc2b48--