Closed moylop260 closed 1 year ago
The check eval-referenced is heavy to compute since it needs to check
the inferred node for each variable name
eval-used will detect almost of case using this way
eval-referenced detected the following cases:
my_var = eval
eval-used is only detecting the following cases:
eval("...")
So, they are less cases but without heavy process
Running the following command:
py-spy record -o /tmp/py_spy.svg --threads --subprocesses -r 89 -- pytest -k test_20_expected_errors
The heavy process in the profiler result is:
The check eval-referenced is heavy to compute since it needs to check
the inferred node for each variable name
eval-used will detect almost of case using this way
eval-referenced detected the following cases:
eval-used is only detecting the following cases:
So, they are less cases but without heavy process
Running the following command:
py-spy record -o /tmp/py_spy.svg --threads --subprocesses -r 89 -- pytest -k test_20_expected_errors
The heavy process in the profiler result is: