Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Multithreaded scaling regression in 3.13.1t #131988

Closed
Labels
@colesbury

Description

@colesbury

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 slower

3.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 slower

CPython versions tested on:

3.13

Operating systems tested on:

No response

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2026 Movatter.jp