Skip to content

Instantly share code, notes, and snippets.

@readytheory
Created February 24, 2024 14:46
Show Gist options
  • Save readytheory/560c89003a34cdb66fb11d84eaf01cec to your computer and use it in GitHub Desktop.
Save readytheory/560c89003a34cdb66fb11d84eaf01cec to your computer and use it in GitHub Desktop.
example_output
{'event': 'opcode',
'file_name': 'C:\\py\\quicksand\\triangles.py',
'function_name': 'tri2',
'line': 12,
'number': 4144,
'opcode': 'STORE_FAST',
'time': 122333.7565349},
{'event': 'line',
'file_name': 'C:\\py\\quicksand\\triangles.py',
'function_name': 'tri2',
'line': 13,
'number': 4145,
'time': 122333.7565358},
{'event': 'opcode',
'file_name': 'C:\\py\\quicksand\\triangles.py',
'function_name': 'tri2',
'line': 13,
'number': 4146,
'opcode': 'LOAD_FAST',
'time': 122333.7565364},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment