-X jit-enable-jit-list-wildcards has high overhead

Open
#29 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
python

Research direction

Start by tracing the -X jit-enable-jit-list-wildcards option to the PyEntry_init entry point and reproduce the reported profiles with an empty JIT list. Compare wildcard-disabled and wildcard-enabled overhead, then confirm that the change removes the reported increase without changing wildcard behavior.

Written by the indexing model from the issue text.

Description

cinder-jit

The -X jit-enable-jit-list-wildcards option causes overhead of PyEntry_init to increase by 4x.

The following are measured with prof top -g -p ... on my app process.

empty jit list, wildcards disabled:
Screen Shot 2021-06-17 at 11 53 08 AM

empty jit list, -X jit-enable-jit-list-wildcards:
Screen Shot 2021-06-17 at 11 54 03 AM

(from discussion in #18)

Dominant language
Python
Stars
3.8k
Forks
139
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

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.

More from facebookincubator/MetaPython

All issues in facebookincubator/MetaPython

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.