René's URL Explorer Experiment


Title: The -fprofile-update=atomic flag makes the PGO build way slower on i686 · Issue #148535 · python/cpython · GitHub

Open Graph Title: The -fprofile-update=atomic flag makes the PGO build way slower on i686 · Issue #148535 · python/cpython

X Title: The -fprofile-update=atomic flag makes the PGO build way slower on i686 · Issue #148535 · python/cpython

Description: The recent Python releases, 3.13.13, 3.14.4, and 3.15.0a8, are all slower when running tests for the profile generation (--enable-optimizations). Comparisons of profile task tests "Total Duration": --build (cpu) 3.14.3 3.14.4 x86_64-linu...

Open Graph Description: The recent Python releases, 3.13.13, 3.14.4, and 3.15.0a8, are all slower when running tests for the profile generation (--enable-optimizations). Comparisons of profile task tests "Total Duration":...

X Description: The recent Python releases, 3.13.13, 3.14.4, and 3.15.0a8, are all slower when running tests for the profile generation (--enable-optimizations). Comparisons of profile task tests "Total Durat...

Opengraph URL: https://github.com/python/cpython/issues/148535

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"The -fprofile-update=atomic flag makes the PGO build way slower on i686","articleBody":"The recent Python releases, `3.13.13`, `3.14.4`, and `3.15.0a8`, are all slower when running tests for the profile generation (`--enable-optimizations`).\n\nComparisons of profile task tests \"Total Duration\":\n\n| `--build` (cpu)                                | `3.14.3`     | `3.14.4`       |\n|------------------------------------------------|--------------|----------------|\n| `x86_64-linux-gnu` (12th Gen Intel i9)         | 56.3 sec     | 2 min 32 sec   |\n| `i686-linux-gnu` (12th Gen Intel i9)           | 10 min 2 sec | 28 min 19 sec  |\n| `x86_64-linux-gnu` (Intel Xeon Platinum 8488C) | 1 min 8 sec  | 3 min 21 sec   |\n|                                                |              |                |\n| `i686-linux-gnu` (Intel Xeon Platinum 8488C)   | 12 min       | 9 hour 27 min  |\n| `i686-linux-gnu` (AMD EPYC 9R14)               |              | 27 min 36 sec  |\n| `i686-linux-musl` (Intel Xeon Platinum 8488C)  |              | 27 hour 24 min |\n|                                                |              |                |\n| `aarch64-linux-gnu` (AWS Graviton3E)           | 1 min 35 sec | 3 min 28 sec   |\n| `arm-linux-gnueabihf` (AWS Graviton3E)         | 2 min 53 sec | 5 min 5 sec    |\n| `arm-linux-gnueabi` (AWS Graviton3E)           | 3 min 39 sec | 3 min 43 sec * |\n| `powerpc64le-linux-gnu` (Power9)               | 3 min 10 sec | 12 min 10 sec  |\n| `s390x-linux-gnu` (IBM/S390)                   | 2 min 5 sec  | 2 min 53 sec   |\n\n\\* warning: target does not support atomic profile update, single mode is selected\n\n\nWhile this is mostly an inconvenience, it is really exacerbated on some CPUs and build architectures. As seen in the table, when compiled for `i686` on Linux (Debian or Alpine) the tests are extraordinarily slow on an Intel Xeon Platinum 8488C (AWS `c7i.2xlarge`). But it is not as bad if compiled and run on an AMD EPYC 9R14 (AWS `c7a.2xlarge`) with the same configure and make flags.\n\nIf built without `--enable-optimizations` on configure, then a manual test run is speedy (`LD_LIBRARY_PATH=/usr/src/python ./python -m test --pgo --timeout=`). My guess is that this is related to the addition of `-fprofile-update=atomic` from https://github.com/python/cpython/pull/145802.\n\nI understand that 32-bit Linux is not a PEP-11 supported architecture and just hope that this is interesting enough to fix. If not, we can workaround this by dropping `--enable-optimizations` for `i386` like we do on Alpine-based images or perhaps changing the instance type that we use for building.\n\n---\n\nFull build setup (either build with `--platform=linux/i386` or swap `FROM` to `FROM i386/debian:trixie-slim`): [Dockerfile](https://github.com/docker-library/python/blob/ced4ac7ca9f8f8bdbb113f06fe02c42895875aa4/3.14/slim-trixie/Dockerfile).\n\n`configure` and `make` invocations:\n\n```console\n$ ./configure --build=i686-linux-gnu --enable-loadable-sqlite-extensions --enable-optimizations --enable-option-checking=fatal --enable-shared --with-lto --with-ensurepip\n...\n$ make -j 8 EXTRA_CFLAGS=-'g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/usr/src/python=. -fstack-protector-strong -Wformat -Werror=format-security' LDFLAGS='-Wl,-z,relro -Wl,--strip-all'\n\n$ # alpine uses a different build arg for configure: --build=i686-linux-musl\n$ # and used a shorter make command:\n$ make -j 8 'EXTRA_CFLAGS=-DTHREAD_STACK_SIZE=0x100000' 'LDFLAGS= -Wl,--strip-all'\n```\n\nExample fast run on AMD EPYC:\n\n```console\n+ make -j 8 EXTRA_CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/usr/src/python=. -fstack-protector-strong -Wformat -Werror=format-security LDFLAGS=-Wl,-z,relro -Wl,--strip-all\n...\n# Next, run the profile task to generate the profile information.\nLD_LIBRARY_PATH=/usr/src/python ./python -m test --pgo --timeout=\nUsing random seed: 2335155114\n0:00:00 load avg: 3.86 Run 43 tests sequentially in a single process\n0:00:00 load avg: 3.86 [ 1/43] test_array\n0:00:45 load avg: 2.35 [ 1/43] test_array passed in 45.7 sec\n0:00:45 load avg: 2.35 [ 2/43] test_base64\n0:00:52 load avg: 2.24 [ 2/43] test_base64 passed\n0:00:52 load avg: 2.24 [ 3/43] test_binascii\n0:00:55 load avg: 2.14 [ 3/43] test_binascii passed\n0:00:55 load avg: 2.14 [ 4/43] test_binop\n0:00:58 load avg: 2.14 [ 4/43] test_binop passed\n0:00:58 load avg: 2.14 [ 5/43] test_bisect\n0:01:01 load avg: 2.05 [ 5/43] test_bisect passed\n0:01:01 load avg: 2.05 [ 6/43] test_bytes\n0:03:54 load avg: 1.06 [ 6/43] test_bytes passed in 2 min 52 sec\n0:03:54 load avg: 1.06 [ 7/43] test_bz2\n0:04:02 load avg: 1.05 [ 7/43] test_bz2 passed\n0:04:02 load avg: 1.05 [ 8/43] test_cmath\n0:04:08 load avg: 1.05 [ 8/43] test_cmath passed\n0:04:08 load avg: 1.05 [ 9/43] test_codecs\n0:04:36 load avg: 1.03 [ 9/43] test_codecs passed\n0:04:36 load avg: 1.03 [10/43] test_collections\n0:04:57 load avg: 1.02 [10/43] test_collections passed\n0:04:57 load avg: 1.02 [11/43] test_complex\n0:05:04 load avg: 1.02 [11/43] test_complex passed\n0:05:04 load avg: 1.02 [12/43] test_dataclasses\n0:05:24 load avg: 1.01 [12/43] test_dataclasses passed\n0:05:24 load avg: 1.01 [13/43] test_datetime\n0:06:34 load avg: 1.48 [13/43] test_datetime passed in 1 min 9 sec\n0:06:34 load avg: 1.48 [14/43] test_decimal\n0:07:57 load avg: 1.30 [14/43] test_decimal passed in 1 min 23 sec\n0:07:57 load avg: 1.30 [15/43] test_difflib\n0:08:21 load avg: 1.20 [15/43] test_difflib passed\n0:08:21 load avg: 1.20 [16/43] test_float\n0:08:29 load avg: 1.18 [16/43] test_float passed\n0:08:29 load avg: 1.18 [17/43] test_fstring\n0:08:49 load avg: 1.13 [17/43] test_fstring passed\n0:08:49 load avg: 1.13 [18/43] test_functools\n0:09:54 load avg: 1.04 [18/43] test_functools passed in 1 min 5 sec\n0:09:54 load avg: 1.04 [19/43] test_generators\n0:10:11 load avg: 1.03 [19/43] test_generators passed\n0:10:11 load avg: 1.03 [20/43] test_hashlib\n0:10:22 load avg: 1.02 [20/43] test_hashlib passed\n0:10:22 load avg: 1.02 [21/43] test_heapq\n0:10:44 load avg: 1.02 [21/43] test_heapq passed\n0:10:44 load avg: 1.02 [22/43] test_int\n0:11:04 load avg: 1.01 [22/43] test_int passed\n0:11:04 load avg: 1.01 [23/43] test_itertools\n0:13:02 load avg: 1.00 [23/43] test_itertools passed in 1 min 57 sec\n0:13:02 load avg: 1.00 [24/43] test_json\n0:13:34 load avg: 1.00 [24/43] test_json passed in 31.9 sec\n0:13:34 load avg: 1.00 [25/43] test_long\n0:14:28 load avg: 1.00 [25/43] test_long passed in 54.1 sec\n0:14:28 load avg: 1.00 [26/43] test_lzma\n0:14:34 load avg: 1.00 [26/43] test_lzma passed\n0:14:34 load avg: 1.00 [27/43] test_math\n0:15:24 load avg: 1.00 [27/43] test_math passed in 50.3 sec\n0:15:24 load avg: 1.00 [28/43] test_memoryview\n0:15:59 load avg: 1.00 [28/43] test_memoryview passed in 34.2 sec\n0:15:59 load avg: 1.00 [29/43] test_operator\n0:16:04 load avg: 1.00 [29/43] test_operator passed\n0:16:04 load avg: 1.00 [30/43] test_ordered_dict\n0:16:56 load avg: 1.00 [30/43] test_ordered_dict passed in 51.8 sec\n0:16:56 load avg: 1.00 [31/43] test_patma\n0:17:04 load avg: 1.00 [31/43] test_patma passed\n0:17:04 load avg: 1.00 [32/43] test_pickle\n0:19:37 load avg: 1.00 [32/43] test_pickle passed in 2 min 32 sec\n0:19:37 load avg: 1.00 [33/43] test_pprint\n0:19:45 load avg: 1.00 [33/43] test_pprint passed\n0:19:45 load avg: 1.00 [34/43] test_re\n0:20:10 load avg: 1.08 [34/43] test_re passed\n0:20:10 load avg: 1.08 [35/43] test_set\n0:22:25 load avg: 1.01 [35/43] test_set passed in 2 min 15 sec\n0:22:25 load avg: 1.01 [36/43] test_sqlite3\n0:22:46 load avg: 1.00 [36/43] test_sqlite3 passed\n0:22:46 load avg: 1.00 [37/43] test_statistics\n0:23:56 load avg: 1.00 [37/43] test_statistics passed in 1 min 10 sec\n0:23:56 load avg: 1.00 [38/43] test_str\n0:25:29 load avg: 1.00 [38/43] test_str passed in 1 min 32 sec\n0:25:29 load avg: 1.00 [39/43] test_struct\n0:25:47 load avg: 1.00 [39/43] test_struct passed\n0:25:47 load avg: 1.00 [40/43] test_tabnanny\n0:25:58 load avg: 1.00 [40/43] test_tabnanny passed\n0:25:58 load avg: 1.00 [41/43] test_time\n0:26:08 load avg: 1.00 [41/43] test_time passed\n0:26:08 load avg: 1.00 [42/43] test_xml_etree\n0:26:46 load avg: 1.00 [42/43] test_xml_etree passed in 38.3 sec\n0:26:46 load avg: 1.00 [43/43] test_xml_etree_c\n0:27:36 load avg: 1.00 [43/43] test_xml_etree_c passed in 50.1 sec\n\nTotal duration: 27 min 36 sec\nTotal tests: run=9,827 skipped=260\nTotal test files: run=43/43\nResult: SUCCESS\n```\n\nExample slow run on Intel Xeon:\n\n```console\n+ make -j 8 EXTRA_CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/usr/src/python=. -fstack-protector-strong -Wformat -Werror=format-security LDFLAGS=-Wl,-z,relro -Wl,--strip-all\n...\n# Next, run the profile task to generate the profile information.\nLD_LIBRARY_PATH=/usr/src/python ./python -m test --pgo --timeout=\nUsing random seed: 2791744646\n0:00:00 load avg: 1.03 Run 43 tests sequentially in a single process\n0:00:00 load avg: 1.03 [ 1/43] test_array\n0:22:04 load avg: 1.00 [ 1/43] test_array passed in 22 min 4 sec\n0:22:04 load avg: 1.00 [ 2/43] test_base64\n0:25:48 load avg: 1.00 [ 2/43] test_base64 passed in 3 min 43 sec\n0:25:48 load avg: 1.00 [ 3/43] test_binascii\n0:27:04 load avg: 1.00 [ 3/43] test_binascii passed in 1 min 15 sec\n0:27:04 load avg: 1.00 [ 4/43] test_binop\n0:28:11 load avg: 1.00 [ 4/43] test_binop passed in 1 min 7 sec\n0:28:11 load avg: 1.00 [ 5/43] test_bisect\n0:29:26 load avg: 1.00 [ 5/43] test_bisect passed in 1 min 14 sec\n0:29:26 load avg: 1.00 [ 6/43] test_bytes\n1:26:49 load avg: 1.00 [ 6/43] test_bytes passed in 57 min 22 sec\n1:26:49 load avg: 1.00 [ 7/43] test_bz2\n1:29:52 load avg: 1.00 [ 7/43] test_bz2 passed in 3 min 2 sec\n1:29:52 load avg: 1.00 [ 8/43] test_cmath\n1:31:42 load avg: 1.06 [ 8/43] test_cmath passed in 1 min 50 sec\n1:31:42 load avg: 1.06 [ 9/43] test_codecs\n1:38:25 load avg: 1.00 [ 9/43] test_codecs passed in 6 min 43 sec\n1:38:25 load avg: 1.00 [10/43] test_collections\n1:42:24 load avg: 1.00 [10/43] test_collections passed in 3 min 58 sec\n1:42:24 load avg: 1.00 [11/43] test_complex\n1:47:13 load avg: 1.00 [11/43] test_complex passed in 4 min 49 sec\n1:47:13 load avg: 1.00 [12/43] test_dataclasses\n1:53:54 load avg: 1.00 [12/43] test_dataclasses passed in 6 min 40 sec\n1:53:54 load avg: 1.00 [13/43] test_datetime\n2:15:44 load avg: 1.03 [13/43] test_datetime passed in 21 min 50 sec\n2:15:44 load avg: 1.03 [14/43] test_decimal\n2:39:28 load avg: 1.00 [14/43] test_decimal passed in 23 min 44 sec\n2:39:28 load avg: 1.00 [15/43] test_difflib\n2:41:48 load avg: 1.00 [15/43] test_difflib passed in 2 min 19 sec\n2:41:48 load avg: 1.00 [16/43] test_float\n2:44:24 load avg: 1.00 [16/43] test_float passed in 2 min 36 sec\n2:44:24 load avg: 1.00 [17/43] test_fstring\n2:49:09 load avg: 1.05 [17/43] test_fstring passed in 4 min 45 sec\n2:49:09 load avg: 1.05 [18/43] test_functools\n3:07:18 load avg: 1.00 [18/43] test_functools passed in 18 min 8 sec\n3:07:18 load avg: 1.00 [19/43] test_generators\n3:14:05 load avg: 1.00 [19/43] test_generators passed in 6 min 47 sec\n3:14:05 load avg: 1.00 [20/43] test_hashlib\n3:17:40 load avg: 1.00 [20/43] test_hashlib passed in 3 min 34 sec\n3:17:40 load avg: 1.00 [21/43] test_heapq\n3:28:38 load avg: 1.00 [21/43] test_heapq passed in 10 min 58 sec\n3:28:38 load avg: 1.00 [22/43] test_int\n3:48:18 load avg: 1.00 [22/43] test_int passed in 19 min 39 sec\n3:48:18 load avg: 1.00 [23/43] test_itertools\n4:10:19 load avg: 1.00 [23/43] test_itertools passed in 22 min 1 sec\n4:10:19 load avg: 1.00 [24/43] test_json\n4:18:34 load avg: 1.00 [24/43] test_json passed in 8 min 14 sec\n4:18:34 load avg: 1.00 [25/43] test_long\n4:25:29 load avg: 1.00 [25/43] test_long passed in 6 min 54 sec\n4:25:29 load avg: 1.00 [26/43] test_lzma\n4:27:52 load avg: 1.00 [26/43] test_lzma passed in 2 min 22 sec\n4:27:52 load avg: 1.00 [27/43] test_math\n4:39:35 load avg: 1.00 [27/43] test_math passed in 11 min 42 sec\n4:39:35 load avg: 1.00 [28/43] test_memoryview\n4:53:47 load avg: 1.00 [28/43] test_memoryview passed in 14 min 12 sec\n4:53:47 load avg: 1.00 [29/43] test_operator\n4:55:55 load avg: 1.00 [29/43] test_operator passed in 2 min 7 sec\n4:55:55 load avg: 1.00 [30/43] test_ordered_dict\n5:19:04 load avg: 1.00 [30/43] test_ordered_dict passed in 23 min 8 sec\n5:19:04 load avg: 1.00 [31/43] test_patma\n5:21:45 load avg: 1.00 [31/43] test_patma passed in 2 min 41 sec\n5:21:45 load avg: 1.00 [32/43] test_pickle\n6:29:32 load avg: 1.00 [32/43] test_pickle passed in 1 hour 7 min\n6:29:32 load avg: 1.00 [33/43] test_pprint\n6:33:25 load avg: 1.01 [33/43] test_pprint passed in 3 min 52 sec\n6:33:25 load avg: 1.01 [34/43] test_re\n6:45:49 load avg: 1.03 [34/43] test_re passed in 12 min 24 sec\n6:45:49 load avg: 1.03 [35/43] test_set\n7:19:18 load avg: 1.00 [35/43] test_set passed in 33 min 28 sec\n7:19:18 load avg: 1.00 [36/43] test_sqlite3\ntest_sqlite3: testing with SQLite version 3.46.1\n...\ntest_ctx_mgr_rollback_if_commit_failed (test.test_sqlite3.test_dbapi.MultiprocessTests.test_ctx_mgr_rollback_if_commit_failed) ... ERROR\n...\n\n======================================================================\nERROR: test_ctx_mgr_rollback_if_commit_failed (test.test_sqlite3.test_dbapi.MultiprocessTests.test_ctx_mgr_rollback_if_commit_failed)\n----------------------------------------------------------------------\nTraceback (most recent call last):\n  File \"/usr/src/python/Lib/test/test_sqlite3/test_dbapi.py\", line 1972, in test_ctx_mgr_rollback_if_commit_failed\n    proc.communicate(input=\"end\", timeout=SHORT_TIMEOUT)\n    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  File \"/usr/src/python/Lib/subprocess.py\", line 1221, in communicate\n    stdout, stderr = self._communicate(input, endtime, timeout)\n                     ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^\n  File \"/usr/src/python/Lib/subprocess.py\", line 2154, in _communicate\n    self._check_timeout(endtime, orig_timeout, stdout, stderr)\n    ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  File \"/usr/src/python/Lib/subprocess.py\", line 1268, in _check_timeout\n    raise TimeoutExpired(\n    ...\u003c2 lines>...\n            stderr=b''.join(stderr_seq) if stderr_seq else None)\nsubprocess.TimeoutExpired: Command '['/usr/src/python/python', '-c', 'if 1:\\n            import sqlite3\\n            def wait():\\n                print(\"started\")\\n                assert \"database is locked\" in input()\\n\\n            cx = sqlite3.connect(\"@test_14264_tmpæ\", timeout=0)\\n            cx.create_function(\"wait\", 0, wait)\\n            with cx:\\n                cx.execute(\"create table t(t)\")\\n            try:\\n                # execute two transactions; both will try to lock the db\\n                cx.executescript(\\'\\'\\'\\n                    -- start a transaction and wait for parent\\n                    begin transaction;\\n                    select * from t;\\n                    select wait();\\n                    rollback;\\n\\n                    -- start a new transaction; would fail if parent holds lock\\n                    begin transaction;\\n                    select * from t;\\n                    rollback;\\n                \\'\\'\\')\\n            finally:\\n                cx.close()\\n        ']' timed out after 30.0 seconds\n\n----------------------------------------------------------------------\nRan 503 tests in 385.278s\n\nFAILED (errors=1, skipped=4)\ntest test_sqlite3 failed\n7:28:56 load avg: 1.00 [36/43] test_sqlite3 failed (1 error) in 9 min 38 sec\n7:28:56 load avg: 1.00 [37/43] test_statistics\n7:56:12 load avg: 1.00 [37/43] test_statistics passed in 27 min 15 sec\n7:56:12 load avg: 1.00 [38/43] test_str\n8:30:31 load avg: 1.00 [38/43] test_str passed in 34 min 19 sec\n8:30:31 load avg: 1.00 [39/43] test_struct\n8:38:50 load avg: 1.01 [39/43] test_struct passed in 8 min 18 sec\n8:38:50 load avg: 1.01 [40/43] test_tabnanny\n8:43:37 load avg: 1.00 [40/43] test_tabnanny passed in 4 min 46 sec\n8:43:37 load avg: 1.00 [41/43] test_time\n8:46:45 load avg: 0.99 [41/43] test_time passed in 3 min 8 sec\n8:46:45 load avg: 0.99 [42/43] test_xml_etree\n9:03:20 load avg: 1.04 [42/43] test_xml_etree passed in 16 min 35 sec\n9:03:20 load avg: 1.04 [43/43] test_xml_etree_c\n9:27:26 load avg: 1.00 [43/43] test_xml_etree_c passed in 24 min 5 sec\n\nTotal duration: 9 hour 27 min\nTotal tests: run=9,827 skipped=260\nTotal test files: run=43/43 failed=1\nResult: FAILURE\n```\n\nThe sqlite random test failure is likely irrelevant, but kept for completeness.\n\n----\n\nAborted full build logs (auto cancelled after 3 hours, but you can see the slow tests at the end):\n - 3.15.0a8 (Debian Bookworm): https://doi-janky.infosiftr.net/job/meta/view/builds/job/i386/job/build/16353/consoleFull\n - 3.14.4: https://doi-janky.infosiftr.net/job/meta/view/builds/job/i386/job/build/16357/consoleFull\n - 3.13.13: https://doi-janky.infosiftr.net/job/meta/view/builds/job/i386/job/build/16338/consoleFull\n\n\n\u003c!-- gh-linked-prs -->\n### Linked PRs\n* gh-148554\n* gh-148655\n* gh-148656\n\u003c!-- /gh-linked-prs -->\n","author":{"url":"https://github.com/yosifkit","@type":"Person","name":"yosifkit"},"datePublished":"2026-04-13T23:06:51Z","url":"https://github.com/python/cpython/issues/148535"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:7654a482-1c7c-77fb-f4a3-a20f7ce28972
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id951C:29FFA9:3ABAA6C:4A5C266:6B01F9B7
html-safe-nonce39ea8176bd5ff0e4f1d3dc6803cc8cd040d7b8015375adc66559903b5d1849f8
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NTFDOjI5RkZBOTozQUJBQTZDOjRBNUMyNjY6NkIwMUY5QjciLCJ2aXNpdG9yX2lkIjoiMjg2MDA4MTU3MjQ1ODEzMzk0NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac283ce9f07e0641255e6859d2a1f3cb1e8a83e457a7bb2b4fc67ee0afe4635be9
hovercard-subject-tagissue:4258395113
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/148535/issue_layout
twitter:imagehttps://opengraph.githubassets.com/17cb3814e3f2a1749008ab893e9aa62740f0e016a4b587fa7be48b0afefa736d/python/cpython/issues/148535
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/17cb3814e3f2a1749008ab893e9aa62740f0e016a4b587fa7be48b0afefa736d/python/cpython/issues/148535
og:image:altThe recent Python releases, 3.13.13, 3.14.4, and 3.15.0a8, are all slower when running tests for the profile generation (--enable-optimizations). Comparisons of profile task tests "Total Duration":...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameyosifkit
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
turbo-cache-controlno-preview
go-importgithub.com/python/cpython git https://github.com/python/cpython.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id81598961
octolytics-dimension-repository_nwopython/cpython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id81598961
octolytics-dimension-repository_network_root_nwopython/cpython
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release423dbb54c5e7bfecc838eb387c1435eb3d0e760d
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/python/cpython/issues/148535#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fissues%2F148535
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fissues%2F148535
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/issues/148535
Reloadhttps://github.com/python/cpython/issues/148535
Reloadhttps://github.com/python/cpython/issues/148535
pythonhttps://github.com/python
cpythonhttps://github.com/python/cpython
Codehttps://github.com/python/cpython
Issues5k+ (5k+)https://github.com/python/cpython/issues
Pull requests2.4k (2.4k)https://github.com/python/cpython/pulls
Actionshttps://github.com/python/cpython/actions
Projectshttps://github.com/python/cpython/projects
Security and qualityhttps://github.com/python/cpython/security
Insightshttps://github.com/python/cpython/insights
https://github.com/python/cpython
New issuehttps://github.com/login?return_to=https://github.com/python/cpython/issues/148535
New issuehttps://github.com/login?return_to=https://github.com/python/cpython/issues/148535
The -fprofile-update=atomic flag makes the PGO build way slower on i686https://github.com/python/cpython/issues/148535#top
OS-unsupportedhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22OS-unsupported%22
testsTests in the Lib/test dirhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22tests%22
topic-profilinghttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22topic-profiling%22
type-bugAn unexpected behavior, bug, or errorhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-bug%22
https://github.com/yosifkit
yosifkithttps://github.com/yosifkit
on Apr 13, 2026https://github.com/python/cpython/issues/148535#issue-4258395113
#145802https://github.com/python/cpython/pull/145802
PEP-11https://peps.python.org/11
Dockerfilehttps://github.com/docker-library/python/blob/ced4ac7ca9f8f8bdbb113f06fe02c42895875aa4/3.14/slim-trixie/Dockerfile
https://doi-janky.infosiftr.net/job/meta/view/builds/job/i386/job/build/16353/consoleFullhttps://doi-janky.infosiftr.net/job/meta/view/builds/job/i386/job/build/16353/consoleFull
https://doi-janky.infosiftr.net/job/meta/view/builds/job/i386/job/build/16357/consoleFullhttps://doi-janky.infosiftr.net/job/meta/view/builds/job/i386/job/build/16357/consoleFull
https://doi-janky.infosiftr.net/job/meta/view/builds/job/i386/job/build/16338/consoleFullhttps://doi-janky.infosiftr.net/job/meta/view/builds/job/i386/job/build/16338/consoleFull
gh-148535: Don't use gcc -fprofile-update=atomic flag on i686 #148554https://github.com/python/cpython/pull/148554
[3.14] gh-148535: Don't use gcc -fprofile-update=atomic flag on i686 (GH-148554) #148655https://github.com/python/cpython/pull/148655
[3.13] gh-148535: Don't use gcc -fprofile-update=atomic flag on i686 (#148554) #148656https://github.com/python/cpython/pull/148656
Nexthttps://github.com/python/cpython/issues/148535?timeline_page=1
picnixzhttps://github.com/picnixz
testsTests in the Lib/test dirhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22tests%22
OS-unsupportedhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22OS-unsupported%22
topic-profilinghttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22topic-profiling%22
on Apr 14, 2026https://github.com/python/cpython/issues/148535#event-24467268485
github-project-automationhttps://github.com/apps/github-project-automation
Unsupported platformshttps://github.com/orgs/python/projects/27
on Apr 14, 2026https://github.com/python/cpython/issues/148535#event-24467269374
picnixzhttps://github.com/picnixz
type-bugAn unexpected behavior, bug, or errorhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-bug%22
on Apr 14, 2026https://github.com/python/cpython/issues/148535#event-24467269347
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
on Apr 14, 2026https://github.com/python/cpython/issues/148535#issuecomment-4243449467
using threadshttps://github.com/python/cpython/issues/145801#issuecomment-4038496263
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
on Apr 14, 2026https://github.com/python/cpython/issues/148535#issuecomment-4243601349
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
on Apr 14, 2026https://github.com/python/cpython/issues/148535#issuecomment-4243628446
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
on Apr 14, 2026https://github.com/python/cpython/issues/148535#issuecomment-4243872335
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
on Apr 14, 2026https://github.com/python/cpython/issues/148535#issuecomment-4244002091
PEP-11https://peps.python.org/11
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
on Apr 14, 2026https://github.com/python/cpython/issues/148535#issuecomment-4244104307
Fedora Koji buildhttps://koji.fedoraproject.org/koji/buildinfo?buildID=2976391
vstinnerhttps://github.com/vstinner
on Apr 14, 2026https://github.com/python/cpython/issues/148535#event-24491423024
pythongh-148535: Don't use gcc -fprofile-update=atomic flag on i686https://github.com/vstinner/cpython/commit/0a1b07fa9caaa5a5696a0a1ff8e6d40e703ce671
pythongh-148535https://github.com/python/cpython/issues/148535
0a1b07fhttps://github.com/vstinner/cpython/commit/0a1b07fa9caaa5a5696a0a1ff8e6d40e703ce671
pythongh-148535: Don't use gcc -fprofile-update=atomic flag on i686https://github.com/vstinner/cpython/commit/20f7c98c9e3df2462ad6a4d5eeda3ac4362d0082
pythongh-148535https://github.com/python/cpython/issues/148535
20f7c98https://github.com/vstinner/cpython/commit/20f7c98c9e3df2462ad6a4d5eeda3ac4362d0082
vstinnerhttps://github.com/vstinner
on Apr 14, 2026https://github.com/python/cpython/issues/148535#event-24491550713
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
on Apr 14, 2026https://github.com/python/cpython/issues/148535#issuecomment-4244715577
@yosifkithttps://github.com/yosifkit
#148554https://github.com/python/cpython/pull/148554
https://github.com/hroncok
hroncokhttps://github.com/hroncok
on Apr 14, 2026https://github.com/python/cpython/issues/148535#issuecomment-4247263737
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
on Apr 15, 2026https://github.com/python/cpython/issues/148535#issuecomment-4251191728
https://bugzilla.redhat.com/show_bug.cgi?id=2430184https://bugzilla.redhat.com/show_bug.cgi?id=2430184
NOGIL build of 3.15.0~a7 fails in Objects/typeobject.c@type_new_set_slots: internal compiler error: Segmentation fault #145803 (comment)https://github.com/python/cpython/issues/145803#issue-4057608706
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
on Apr 15, 2026https://github.com/python/cpython/issues/148535#issuecomment-4251350661
gh-148554https://github.com/python/cpython/pull/148554
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
on Apr 15, 2026https://github.com/python/cpython/issues/148535#issuecomment-4251561231
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
on Apr 15, 2026https://github.com/python/cpython/issues/148535#issuecomment-4253281440
https://github.com/hroncok
hroncokhttps://github.com/hroncok
on Apr 15, 2026https://github.com/python/cpython/issues/148535#issuecomment-4253442073
vstinnerhttps://github.com/vstinner
on Apr 16, 2026https://github.com/python/cpython/issues/148535#event-24576535466
gh-148535: Don't use gcc -fprofile-update=atomic flag on i686 (#148554)https://github.com/python/cpython/commit/2faceeec5c0fb06498a9654d429180ac4610c65a
gh-148535https://github.com/python/cpython/issues/148535
#148554https://github.com/python/cpython/pull/148554
2faceeehttps://github.com/python/cpython/commit/2faceeec5c0fb06498a9654d429180ac4610c65a
miss-islingtonhttps://github.com/miss-islington
on Apr 16, 2026https://github.com/python/cpython/issues/148535#event-24576547071
pythongh-148535: Don't use gcc -fprofile-update=atomic flag on i686 (p…https://github.com/miss-islington/cpython/commit/3085a82c235570940eccb1e6526a4191c2cd9e23
pythongh-148535https://github.com/python/cpython/issues/148535
p…https://github.com/python/cpython/pull/148554
3085a82https://github.com/miss-islington/cpython/commit/3085a82c235570940eccb1e6526a4191c2cd9e23
vstinnerhttps://github.com/vstinner
on Apr 16, 2026https://github.com/python/cpython/issues/148535#event-24577571237
[3.14] gh-148535: Don't use gcc -fprofile-update=atomic flag on i686 (G…https://github.com/python/cpython/commit/2fdccb3f88603cb72d311ca304ab7fcf9df12d00
gh-148535https://github.com/python/cpython/issues/148535
G…https://github.com/python/cpython/pull/148554
2fdccb3https://github.com/python/cpython/commit/2fdccb3f88603cb72d311ca304ab7fcf9df12d00
[3.13] gh-148535: Don't use gcc -fprofile-update=atomic flag on i686 (#…https://github.com/python/cpython/commit/53e07256802327521d06cc7c8bcd317301f6a6e0
gh-148535https://github.com/python/cpython/issues/148535
#…https://github.com/python/cpython/pull/148554
53e0725https://github.com/python/cpython/commit/53e07256802327521d06cc7c8bcd317301f6a6e0
ljfphttps://github.com/ljfp
on Apr 25, 2026https://github.com/python/cpython/issues/148535#event-24868341776
pythongh-148535: Don't use gcc -fprofile-update=atomic flag on i686 (p…https://github.com/ljfp/cpython/commit/50d708794716ff5412fe902630a9f2ac569d0705
pythongh-148535https://github.com/python/cpython/issues/148535
p…https://github.com/python/cpython/pull/148554
50d7087https://github.com/ljfp/cpython/commit/50d708794716ff5412fe902630a9f2ac569d0705
https://github.com/mcepl
mceplhttps://github.com/mcepl
on Apr 30, 2026https://github.com/python/cpython/issues/148535#issuecomment-4350716845
#145803https://github.com/python/cpython/issues/145803
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
on Apr 30, 2026https://github.com/python/cpython/issues/148535#issuecomment-4351396850
vstinnerhttps://github.com/vstinner
completedhttps://github.com/python/cpython/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Apr 30, 2026https://github.com/python/cpython/issues/148535#event-25027993771
github-project-automationhttps://github.com/apps/github-project-automation
Unsupported platformshttps://github.com/orgs/python/projects/27
on Apr 30, 2026https://github.com/python/cpython/issues/148535
Sign up for freehttps://github.com/signup?return_to=https://github.com/python/cpython/issues/148535
Sign in to commenthttps://github.com/login?return_to=https://github.com/python/cpython/issues/148535
OS-unsupportedhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22OS-unsupported%22
testsTests in the Lib/test dirhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22tests%22
topic-profilinghttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22topic-profiling%22
type-bugAn unexpected behavior, bug, or errorhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-bug%22
Unsupported platformshttps://github.com/orgs/python/projects/27
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.