Skip to content

Commit

Permalink
Change the profile visualizer to snakeviz
Browse files Browse the repository at this point in the history
  • Loading branch information
tabatkins committed Nov 13, 2023
1 parent 7399186 commit 02ffbca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bikeshed/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -684,7 +684,7 @@ def handleProfile(options: argparse.Namespace) -> None:
)
else:
os.system(
f"time python -m cProfile -o /tmp/stat.prof -m bikeshed -f spec && gprof2dot -f pstats --skew=.0001 {root} {leaf} /tmp/stat.prof | xdot &", # noqa: S605
f"time python -m cProfile -o /tmp/stat.prof -m bikeshed -f spec && snakeviz /tmp/stat.prof", # noqa: S605
)


Expand Down

0 comments on commit 02ffbca

Please sign in to comment.