You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The profiler is not filtering out non-project code when running on Windows. The culprit seems to be these lines in the is_project_func method. The forward slashes in the paths will never be in the path when on windows and all non project code gets included in the profile.
I was able to fix the issue locally by simply removing the forward slashes from the two paths. If this is an acceptable fix, I'd be happy to submit a PR.
The text was updated successfully, but these errors were encountered:
Hmm, there's probably a better way to inspect the filepath. I think we'd want to check that these are directories in the filepath and not simply check for the directory name in the filepath. A PR is definitely welcome!
The profiler is not filtering out non-project code when running on Windows. The culprit seems to be these lines in the
is_project_func
method. The forward slashes in the paths will never be in the path when on windows and all non project code gets included in the profile.I was able to fix the issue locally by simply removing the forward slashes from the two paths. If this is an acceptable fix, I'd be happy to submit a PR.
The text was updated successfully, but these errors were encountered: