-
-
Notifications
You must be signed in to change notification settings - Fork 34.2k
Open
Labels
performancePerformance or resource usagePerformance or resource usagetopic-JITtype-featureA feature request or enhancementA feature request or enhancement
Description
Feature or enhancement
Proposal:
To maximize traces executed, we should also trace from RESUME in the JIT.
Some things I learnt along the way of implementing this:
- We want a threshold for functions more than
JUMP_BACKWARDS. Thanks to correspondence from CF Bolz-Tereick, I learnt that PyPy sets function warmup to be 60% higher than loop warmup. IIRC, Luajit sets it to 2x. I chose 2x. This number could use further investigation. - We need to trace into function executors too, to avoid shortening the length of loop traces.
Linked PRs
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
performancePerformance or resource usagePerformance or resource usagetopic-JITtype-featureA feature request or enhancementA feature request or enhancement