Skip to content

Conversation

Fidget-Spinner
Copy link
Member

@Fidget-Spinner Fidget-Spinner commented Dec 25, 2024

Benchmark bm_float from pyperformance:

Mean +- std dev: [no_allow_slots] 107 ms +- 1 ms -> [allow_slots] 98.7 ms +- 0.8 ms: 1.08x faster

A significant improvement!

@markshannon
Copy link
Member

This looks like a nice improvement

@markshannon
Copy link
Member

Benchmarks shows a small improvement.
As expected, there is a significant improvement on the float benchmark. Mostly noise otherwise.

@markshannon markshannon self-requested a review December 30, 2024 22:03
@Fidget-Spinner Fidget-Spinner merged commit 7ef4907 into python:main Dec 31, 2024
59 checks passed
@Fidget-Spinner Fidget-Spinner deleted the init_slots branch December 31, 2024 04:24
srinivasreddy pushed a commit to srinivasreddy/cpython that referenced this pull request Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants