This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author rhettinger
Recipients rhettinger
Date 2021-05-04.18:19:14
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1620152354.35.0.099245224395.issue44037@roundup.psfhosted.org>
In-reply-to
Content
Running Tools/scripts/var_access_benchmark.py on the production macOS builds on python.org shows a performance drop-off between alpha-7 and beta-1.

Apple Silicon
-------------
read local            4.1ns ->  4.5ns
read non_local        4.1ns ->  4.6ns
read global           4.2ns ->  4.9ns
read builtin          4.2ns ->  5.3ns
classvar from cls    10.1ns -> 12.6ns
classvar from inst    9.5      11.7
read instvar          9.2      11.3
instvar with slots    5.8       8.2
namedtuple           11.1      14.2
  ...

Since the effects are seen in almost every category, I suspect a build problem, a change to the eval loop, or a failure to inline some of the shared functions that used to be macros.
History
Date User Action Args
2021-05-04 18:19:14rhettingersetrecipients: + rhettinger
2021-05-04 18:19:14rhettingersetmessageid: <1620152354.35.0.099245224395.issue44037@roundup.psfhosted.org>
2021-05-04 18:19:14rhettingerlinkissue44037 messages
2021-05-04 18:19:14rhettingercreate