KDE Gear projects with failing CI (master + stable) (11 February 2026)

Stefan Brüns stefan.bruens at rwth-aachen.de
Mon Feb 16 16:19:34 GMT 2026


On Freitag, 13. Februar 2026 22:35:31 Mitteleuropäische Normalzeit Nicolas 
Fella wrote:

> >> 
> >> I don't follow what's going on there.
> >> 
> >> Locally that benchmark finishes in ~1 second here, so no problem
> >> whatsoever.
> >> 
> >> On CI the first two sub-benchmarks seem completely fine, but
> >> voidTestMD5Performance seems to hand/time out. It's not clear to me
> >> how many iterations it does.
> >> 
> >> It looks like QBENCHMARK automatically adjusts the number of
> >> iterations until the results are "good" (whatever that exactly
> >> means). Possibly some CI conditions trigger that to go haywire.

It is often useful to run benchmarks with just a single iteration on CI, to 
make sure it compiles and runs. The actual performance is often irrelevant, 
and varies too much anyway.

Unfortunately, this requires to pass a custom COMMAND with args to CMake's 
add_test, and AFAICS this is not possible to do via ecm_add_test(s).


```
add_executable(mboxbenchmark_bin
    mboxbenchmark.cpp
)
target_link_libraries(mboxbenchmark_bin
    Qt6::Test
    KPim6MBox
)
ecm_mark_as_test(mboxbenchmark_bin)
add_test(NAME mboxbenchmark COMMAND mboxbenchmark_bin "-iterations" "1")

```

Regards, Stefan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 232 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-devel/attachments/20260216/2e1ef07b/attachment.sig>


More information about the kde-devel mailing list