]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-125985: Add free threading scaling micro benchmarks (#125986)
authorSam Gross <colesbury@gmail.com>
Mon, 28 Oct 2024 21:47:23 +0000 (17:47 -0400)
committerGitHub <noreply@github.com>
Mon, 28 Oct 2024 21:47:23 +0000 (17:47 -0400)
commit00ea179879726ae221ac7084bdc14752c45ff558
tree5bfd8c45ce1fc162b608e050baf821adaf3613aa
parentb5b06349eb71b7cf9e5082e26e6fe0145875f95b
gh-125985: Add free threading scaling micro benchmarks (#125986)

These consist of a number of short snippets that help identify scaling
bottlenecks in the free threaded interpreter.

The current bottlenecks are in calling functions in benchmarks that call
functions (due to `LOAD_ATTR` not yet using deferred reference counting)
and when accessing thread-local data.
Tools/ftscalingbench/ftscalingbench.py [new file with mode: 0644]