Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork34.1k
Closed
Description
Bug report
Bug description:
#127114 changed the logic to immortalize certain objects when the first thread is created instead of the firstnon-main thread.
3.13.0:
sgross@devfair0453:/raid/sgross/clean-cpython/Tools/ftscalingbench$ uv run -p 3.13.0t ftscalingbench.pyRunning benchmarks with 20 threadsobject_cfunction 14.3x fastercmodule_function 14.3x fasterobject_lookup_special 14.3x fastermult_constant 13.8x fastergenerator 13.8x fasterpymethod 14.3x fasterpyfunction 14.0x fastermodule_function 14.2x fasterload_string_const 2.5x slowerload_tuple_const 13.5x fastercreate_pyobject 14.0x fastercreate_closure 14.0x fastercreate_dict 13.0x fasterthread_local_read 3.0x slower3.13.1:
sgross@devfair0453:/raid/sgross/clean-cpython/Tools/ftscalingbench$ uv run -p 3.13.1t ftscalingbench.pyRunning benchmarks with 20 threadsobject_cfunction 1.6x slowercmodule_function 1.9x slowerobject_lookup_special 1.7x slowermult_constant 14.3x fastergenerator 2.7x fasterpymethod 2.3x slowerpyfunction 3.1x slowermodule_function 2.1x slowerload_string_const 2.1x slowerload_tuple_const 13.1x fastercreate_pyobject 3.6x slowercreate_closure 4.3x slowercreate_dict 15.0x fasterthread_local_read 3.0x slowerCPython versions tested on:
3.13
Operating systems tested on:
No response
Linked PRs
Metadata
Metadata
Assignees
Labels
Projects
Status
Done