pytest-dev / pytest-dev/pluggy

Cythonize the call loop

Open
#261 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement performance
Dominant language
Python
Stars
1.7k
Forks
160
Avg merge
21h 4m
Merged PRs (30d)
6

Description

@RonnyPfannschmidt has had this idea for a long while and I just remembered I coded it up for a pycon a couple years ago.

See the very outdated diff here:
https://github.com/pytest-dev/pluggy/compare/master...goodboy:cythonize_call_loop

It would probably be neato to update that and get it running under the benchmark tests from #37 for comparison with our current _multicall().

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Review the outdated cythonize_call_loop diff and the benchmark tests from issue #37, then compare their setup with the current _multicall(). The work is done when an updated Cythonized call loop runs under those benchmarks and its performance can be compared with the current implementation.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
performance
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.