Skip to content

Run valgrind with release build of Python - #303

Open
hugovk wants to merge 1 commit into
python-pillow:mainfrom
hugovk:valgrind-release
Open

hugovk wants to merge 1 commit into
python-pillow:mainfrom
hugovk:valgrind-release

Conversation

@hugovk

@hugovk hugovk commented Dec 4, 2026 •

Copy link
Copy Markdown
Member

I don't think we need to use the debug build of Python here? The release build is faster, we're not testing Python here, and I think this shouldn't affect the way Pillow is built and tested.

Job main PR
ubuntu-24.04-noble-amd64-valgrind build 7m 35s 7m 52s
ubuntu-24.04-noble-amd64-valgrind 1 44m 40s 24m 29s
ubuntu-24.04-noble-amd64-valgrind 2 30m 51s 15m 40s
ubuntu-24.04-noble-amd64-valgrind 3 38m 55s 21m 27s
ubuntu-24.04-noble-amd64-valgrind 4 48m 07s 17m 49s
Total 170m 08s 87m 17s

That's about twice as fast, slowest job from ~48 to 24 minutes.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant