-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable type checking code fragment using perf_compare tool (#18291)
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`.
- Loading branch information
Showing
1 changed file
with
23 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters