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

Severe performance degradation for tracing under 3.11 #93516

Open
Assignees
markshannon
Labels
3.11only security fixesinterpreter-core(Objects, Python, Grammar, and Parser dirs)type-bugAn unexpected behavior, bug, or error
@nedbat

Description

@nedbat

Bug report

Coverage.py is seeing a significant increase in overhead for tracing code in 3.11 compared to 3.10:nedbat/coveragepy#1287

As an example:

covprojpython3.10python3.113.11 vs 3.10
nonebug1339.py0.184 s0.142 s76%
nonebm_sudoku.py10.789 s9.901 s91%
nonebm_spectral_norm.py14.305 s9.185 s64%
6.4.1bug1339.py0.450 s0.854 s189%
6.4.1bm_sudoku.py27.141 s55.504 s204%
6.4.1bm_spectral_norm.py36.793 s67.970 s184%

(This is the output oflab/benchmark.py.)

Your environment

  • CPython versions tested on: 3.10, 3.11
  • Operating system and architecture: MacOS, Intel

Linked PRs

Metadata

Metadata

Assignees

Labels

3.11only security fixesinterpreter-core(Objects, Python, Grammar, and Parser dirs)type-bugAn unexpected behavior, bug, or error

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


    [8]ページ先頭

    ©2009-2025 Movatter.jp