diff --git a/README.md b/README.md index 7e36166..1079fea 100644 --- a/README.md +++ b/README.md @@ -2614,7 +2614,7 @@ Line # Hits Time Per Hit % Time Line Contents ``` ### Call and Flame Graphs -```bash +```text $ pip3 install gprof2dot snakeviz $ apt/brew install graphviz $ python3 -m cProfile -o test.prof test.py diff --git a/index.html b/index.html index 4888989..5364f92 100644 --- a/index.html +++ b/index.html @@ -2144,7 +2144,7 @@ Line # Hits Time Per Hit % Time Line Contents 4 1 487.0 487.0 68.9 b = set(range(10000)) -

Call and Flame Graphs

$ pip3 install gprof2dot snakeviz
+

Call and Flame Graphs

$ pip3 install gprof2dot snakeviz
 $ apt/brew install graphviz
 $ python3 -m cProfile -o test.prof test.py
 $ gprof2dot -f pstats test.prof | dot -Tpng -o test.png; xdg-open/open test.png