-
-
Notifications
You must be signed in to change notification settings - Fork 399
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WIP: fix line invalidation speed #891
base: master
Are you sure you want to change the base?
Conversation
|
||
print(len(accum)) | ||
|
||
asdf = bytes(2 * 10485767) |
Check notice
Code scanning / CodeQL
Unused local variable Note test
print(len(accum)) | ||
|
||
asdf = bytes(2 * 10485767) | ||
some_dead_line = None |
Check notice
Code scanning / CodeQL
Unused local variable Note test
|
||
print(len(accum)) | ||
|
||
asdf = bytes(2 * 10485767) |
Check notice
Code scanning / CodeQL
Unused local variable Note test
accum = bytes() | ||
for i in range(31): | ||
accum += bytes(2 * 10485767) # 2x the allocation sampling window | ||
bogus = None |
Check notice
Code scanning / CodeQL
Unused local variable Note test
bogus = None | ||
print(len(accum)) | ||
|
||
asdf = bytes(2 * 10485767) |
Check notice
Code scanning / CodeQL
Unused local variable Note test
|
||
print(len(accum)) | ||
|
||
asdf = bytes(2 * 10485767) |
Check notice
Code scanning / CodeQL
Unused local variable Note test
|
||
print(len(accum)) | ||
|
||
asdf = bytes(2 * 10485767) |
Check notice
Code scanning / CodeQL
Unused local variable Note test
import subprocess | ||
import tempfile | ||
import sys | ||
from typing import List |
Check notice
Code scanning / CodeQL
Unused import Note test
|
||
|
||
def get_profile(test_stem, outdir_p, test_dir): | ||
proc = subprocess.run( |
Check notice
Code scanning / CodeQL
Unused local variable Note test
WIP: Fixes #889
PyEval_SetTrace
callback incallee frames of "relevant" code. In pre-3.12, there's an easy short-circuiting process. Still a WIP because I'm still hunting down a better solution for 3.12.
PyEval_SetTrace
was invoked on the wrong frame.TODO: