Skip to content

Instantly share code, notes, and snippets.

@jclosure
Forked from jms/profile-svg.sh
Created February 27, 2018 05:02
Show Gist options
  • Select an option

  • Save jclosure/4cba31a7ed0277dd0deef54a7aa15635 to your computer and use it in GitHub Desktop.

Select an option

Save jclosure/4cba31a7ed0277dd0deef54a7aa15635 to your computer and use it in GitHub Desktop.

Revisions

  1. @jms jms created this gist Aug 20, 2017.
    3 changes: 3 additions & 0 deletions profile-svg.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,3 @@

    FLASK_CONFIG=test pytest --profile-svg
    for i in $(ls *.prof); do gprof2dot -f pstats $i | dot -Tsvg -o $i.svg ; done