Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add PyList_Extend & PyList_Clear to pyo3-ffi #4667

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

bschoenmaeckers
Copy link
Contributor

Pulled the binding of PyList_Extend out of #4664 and included PyList_Clear for completeness so we can ship this in the upcoming release.

Copy link

codspeed-hq bot commented Oct 29, 2024

CodSpeed Performance Report

Merging #4667 will improve performances by 15.59%

Comparing bschoenmaeckers:pylist-clear-extend (ee2f4cc) with main (2d3bdc0)

🎉 Hooray! pytest-codspeed just leveled up to 3.0.0!

A heads-up, this is a breaking change and it might affect your current performance baseline a bit. But here's the exciting part - it's packed with new, cool features and promises improved result stability 🥳!
Curious about what's new? Visit our releases page to delve into all the awesome details about this new version.

Summary

⚡ 5 improvements
✅ 78 untouched benchmarks

Benchmarks breakdown

Benchmark main bschoenmaeckers:pylist-clear-extend Change
test_empty_class_init_py 15.3 µs 13.8 µs +10.85%
test_args_kwargs_py 21.1 µs 18.5 µs +14.09%
test_args_kwargs_rs 15.8 µs 13.7 µs +15.59%
test_simple_kwargs_py 22.3 µs 20 µs +11.83%
test_simple_kwargs_rs 21.6 µs 18.8 µs +14.55%

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