Skip to content

Commit 96ea93a

Browse files
edit comment
1 parent 2e5e9e6 commit 96ea93a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Python/bytecodes.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2992,6 +2992,7 @@ dummy_func(
29922992
ADVANCE_ADAPTIVE_COUNTER(this_instr[1].counter);
29932993
}
29942994
// For some reason, RESUME_CHECK_JIT is quite expensive compared to RESUME.
2995+
// It's enough to show up as a 10-20% slowdown in some benchmarks!
29952996
// For that reason, we replace it back with RESUME immediately.
29962997
// In JIT builds, we thus stick only to RESUME and wait for it to specialize to RESUME_CHECK_JIT.
29972998
// This amkes RESUME slightly slower, but since the JIT is faster it makes up for it.

0 commit comments

Comments
 (0)