curl / Mailing Lists / curl-distros / Single Mail
Buy commercial curl support. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder Daniel himself.

Re: curl test bundles and "unity" builds

From: Viktor Szakats via curl-distros <curl-distros_at_lists.haxx.se>
Date: Sat, 12 Apr 2025 02:32:40 +0200

Hi Matt,

Thanks for testing it!

> I ran some quick tests last night, no noticeable difference in build /
> test times with any combination of the options enabled (autotools).

That's unexpected. The differences we saw so far in CI and local
dev machines, were noticeable and for tests: significant.

Here's a comparison run on Ubuntu, GitHub Actions:
```
                                core tests
----------------------------- ------ ------
configure -j5 !unity !bundle 35s 32s
configure -j5 unity !bundle 12s 33s
configure -j5 !unity bundle 36s 9s
configure -j5 unity bundle 13s 8s

cmake/ninja !unity !bundle 10s 35s
cmake/ninja unity !bundle 5s 16s
cmake/ninja !unity bundle 10s 11s
cmake/ninja unity bundle 5s 5s
```
via: https://github.com/curl/curl/actions/runs/14409391982/attempts/1 (top 8 jobs)

On a Raspberry 5, bookworm, ./configure, -j4, gcc,
latest master (should be the same as 8.13.0), got these results:

- default lib/src: 88s -> with unity: 60s (1.5x speedup)
- default tests: 96s -> with bundles: 14s (7x speedup)

If you have logs or config to share, I'm happy to have look.

Cheers,
Viktor
-- 
Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-distros
Etiquette:   https://curl.se/mail/etiquette.html
Received on 2025-04-12