[Python-Dev] Micro-benchmarks for PEP 580
Stefan Behnel
stefan_ml at behnel.de
Wed Jul 11 01:39:05 EDT 2018
More information about the Python-Dev mailing list
Wed Jul 11 01:39:05 EDT 2018
- Previous message (by thread): [Python-Dev] Micro-benchmarks for PEP 580
- Next message (by thread): [Python-Dev] Micro-benchmarks for PEP 580
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
INADA Naoki schrieb am 11.07.2018 um 02:01: > On Wed, Jul 11, 2018 at 7:47 AM Victor Stinner wrote: >> I proposed something simpler, but nobody tried to implement it. >> Instead of calling the long and complex PyArg_Parse...() functions, >> why not generating C code to parse arguments instead? The idea looks >> like "inlining" PyArg_Parse...() in its caller, but technically it >> means that Argument Clinic generates C code to parse arguments. > > But I have worrying about it. If we do it for all function, it makes Python > binary fatter, consume more CPU cache. Once CPU cache is start > stashing, application performance got slower quickly. Now, I'd like to see benchmark numbers for that before I believe it. Macro benchmarks, not micro benchmarks! *wink* Stefan
- Previous message (by thread): [Python-Dev] Micro-benchmarks for PEP 580
- Next message (by thread): [Python-Dev] Micro-benchmarks for PEP 580
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list