Skip to content

Enable type checking code fragment using perf_compare tool #18291

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

Merged
merged 1 commit into from
Dec 14, 2024

Conversation

JukkaL
Copy link
Collaborator

@JukkaL JukkaL commented Dec 13, 2024

Previously the tool only supported measuring self-check performance. Now a code fragment can be passed using -c "...".

A typical use case would be something like perf_compare.py -c "import torch" ..., to measure the speed of processing torch.

Previously the tool only supported measuring self-check performance.

Typical use case would be something like `perf_compare.py -c "import torch"`,
to measure the speed of processing `torch`.
@JukkaL JukkaL merged commit 7abcffe into master Dec 14, 2024
13 checks passed
@JukkaL JukkaL deleted the perf-compare-5 branch December 14, 2024 11:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant