aboutsummaryrefslogtreecommitdiff
path: root/_posts/2017-04-21-profiling-python-web-applications-with-visual-tools.md
diff options
context:
space:
mode:
authorMitja Felicijan <mitja.felicijan@gmail.com>2023-11-05 12:17:03 +0100
committerMitja Felicijan <mitja.felicijan@gmail.com>2023-11-05 12:17:03 +0100
commitd3dfec6f52d8093db276adb62021ced8f58e590c (patch)
tree91136e5b803a7058d42f998660cd4ba86fdf379d /_posts/2017-04-21-profiling-python-web-applications-with-visual-tools.md
parente490ef9a85ff161305d5647281ed316b54366bca (diff)
downloadmitjafelicijan.com-d3dfec6f52d8093db276adb62021ced8f58e590c.tar.gz
Added lazy loading to images
Diffstat (limited to '_posts/2017-04-21-profiling-python-web-applications-with-visual-tools.md')
-rw-r--r--_posts/2017-04-21-profiling-python-web-applications-with-visual-tools.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/_posts/2017-04-21-profiling-python-web-applications-with-visual-tools.md b/_posts/2017-04-21-profiling-python-web-applications-with-visual-tools.md
index 70e25f9..2e2ec70 100644
--- a/_posts/2017-04-21-profiling-python-web-applications-with-visual-tools.md
+++ b/_posts/2017-04-21-profiling-python-web-applications-with-visual-tools.md
@@ -22,7 +22,7 @@ If you are using MacOS you should check out [Profiling
22Viewer](http://www.profilingviewer.com/) or 22Viewer](http://www.profilingviewer.com/) or
23[MacCallGrind](http://www.maccallgrind.com/). 23[MacCallGrind](http://www.maccallgrind.com/).
24 24
25![KCachegrind](/assets/posts/python-profiling/kcachegrind.png) 25![KCachegrind](/assets/posts/python-profiling/kcachegrind.png){:loading="lazy"}
26 26
27We will be dividing this post into two main categories: 27We will be dividing this post into two main categories:
28 28
@@ -147,7 +147,7 @@ will be using Profilling Viewer under MacOS. You can open image in new tab. As
147you can see from this example there is hierarchy of execution order of your 147you can see from this example there is hierarchy of execution order of your
148code. 148code.
149 149
150![Profilling Viewer](/assets/posts/python-profiling/profiling-viewer.png) 150![Profilling Viewer](/assets/posts/python-profiling/profiling-viewer.png){:loading="lazy"}
151 151
152> Make sure you convert output of the cProfile output every time you want to 152> Make sure you convert output of the cProfile output every time you want to
153refresh and take a look at your possible optimizations because cProfile updates 153refresh and take a look at your possible optimizations because cProfile updates
@@ -178,7 +178,7 @@ $ snakeviz awesome_random_number.prof
178# shows visualized profile 178# shows visualized profile
179``` 179```
180 180
181![SnakeViz](/assets/posts/python-profiling/snakeviz.png) 181![SnakeViz](/assets/posts/python-profiling/snakeviz.png){:loading="lazy"}
182 182
183Reddit user [ccharles](https://www.reddit.com/user/ccharles) suggested a better 183Reddit user [ccharles](https://www.reddit.com/user/ccharles) suggested a better
184way for installing pip software by targeting user level instead of using sudo. 184way for installing pip software by targeting user level instead of using sudo.