Skip to content
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

Pytracer improvements #1388

Merged
merged 4 commits into from May 30, 2022
Merged

Pytracer improvements #1388

merged 4 commits into from May 30, 2022

Commits on May 30, 2022

  1. cache the bound method of _trace on self

    this speeds up pure python tracing because we don't have to re-create a
    bound method object all the time
    cfbolz committed May 30, 2022
    Copy the full SHA
    e4bd4dd View commit details
    Browse the repository at this point in the history
  2. optimize checking whether a file should be traced

    the optimization works based on the following heuristic: in a
    majority of cases, functions call other functions in the same file. In
    that situation we don't have to re-check whether we should trace the
    file
    cfbolz committed May 30, 2022
    Copy the full SHA
    85d482b View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    893aed4 View commit details
    Browse the repository at this point in the history
  4. fix too long line

    cfbolz committed May 30, 2022
    Copy the full SHA
    6212c1a View commit details
    Browse the repository at this point in the history