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