[Python-Dev] Micro-benchmarks for function calls (PEP 576/579/580)
INADA Naoki
songofacandy at gmail.com
Tue Jul 10 00:19:10 EDT 2018
More information about the Python-Dev mailing list
Tue Jul 10 00:19:10 EDT 2018
- Previous message (by thread): [Python-Dev] Micro-benchmarks for function calls (PEP 576/579/580)
- Next message (by thread): [Python-Dev] Micro-benchmarks for function calls (PEP 576/579/580)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Tue, Jul 10, 2018 at 7:23 AM Jeroen Demeyer <J.Demeyer at ugent.be> wrote: > > Here is an initial version of a micro-benchmark for C function calling: > > https://github.com/jdemeyer/callbench > > I don't have results yet, since I'm struggling to find the right options > to "perf timeit" to get a stable result. If somebody knows how to do > this, help is welcome. > I suggest `--duplicate 10` option. While it is good for start point, please don't forget we need "application" benchmark. Even if some function call overhead can be 3x faster, if it takes only 3% of application execution time, total execution time only 1% faster. It's too small to accept PEP 580 complexity. Realistic application benchmark demonstrates not only "how much faster", but also "how important it is". Regards, > > Jeroen. > _______________________________________________ > Python-Dev mailing list > Python-Dev at python.org > https://mail.python.org/mailman/listinfo/python-dev > Unsubscribe: https://mail.python.org/mailman/options/python-dev/songofacandy%40gmail.com -- INADA Naoki <songofacandy at gmail.com>
- Previous message (by thread): [Python-Dev] Micro-benchmarks for function calls (PEP 576/579/580)
- Next message (by thread): [Python-Dev] Micro-benchmarks for function calls (PEP 576/579/580)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list