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

feat(profiling): Extract qualified name for each frame #1669

Merged
merged 8 commits into from Oct 13, 2022

Commits on Oct 6, 2022

  1. feat(profiling): Extract qualified name for each frame

    Currently, we use `code.co_name` for the frame name. This does not include the
    name of the class if it was a method. This tries to extract the qualified name
    for each frame where possible.
    
    - methods: *typically* have `self` as a positional argument and we can inspect
    	   it to extract the class name
    - class methods: *typically* have `cls` as a positional argument and we can
                     inspect it to extract the class name
    - static methods: no obvious way of extract the class name
    Zylphrex committed Oct 6, 2022
    Configuration menu
    Copy the full SHA
    830e5d0 View commit details
    Browse the repository at this point in the history

Commits on Oct 7, 2022

  1. small optimization

    Zylphrex committed Oct 7, 2022
    Configuration menu
    Copy the full SHA
    7c259de View commit details
    Browse the repository at this point in the history
  2. fix type

    Zylphrex committed Oct 7, 2022
    Configuration menu
    Copy the full SHA
    2f141c7 View commit details
    Browse the repository at this point in the history

Commits on Oct 12, 2022

  1. add tests

    Zylphrex committed Oct 12, 2022
    Configuration menu
    Copy the full SHA
    2289868 View commit details
    Browse the repository at this point in the history
  2. fix mypy errors

    Zylphrex committed Oct 12, 2022
    Configuration menu
    Copy the full SHA
    160b484 View commit details
    Browse the repository at this point in the history

Commits on Oct 13, 2022

  1. Configuration menu
    Copy the full SHA
    4308636 View commit details
    Browse the repository at this point in the history
  2. move test

    Zylphrex committed Oct 13, 2022
    Configuration menu
    Copy the full SHA
    a6a1f1b View commit details
    Browse the repository at this point in the history
  3. clean up tests

    Zylphrex committed Oct 13, 2022
    Configuration menu
    Copy the full SHA
    4f2820b View commit details
    Browse the repository at this point in the history