From d3dfec6f52d8093db276adb62021ced8f58e590c Mon Sep 17 00:00:00 2001 From: Mitja Felicijan Date: Sun, 5 Nov 2023 12:17:03 +0100 Subject: Added lazy loading to images --- ...017-04-21-profiling-python-web-applications-with-visual-tools.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to '_posts/2017-04-21-profiling-python-web-applications-with-visual-tools.md') 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 Viewer](http://www.profilingviewer.com/) or [MacCallGrind](http://www.maccallgrind.com/). -![KCachegrind](/assets/posts/python-profiling/kcachegrind.png) +![KCachegrind](/assets/posts/python-profiling/kcachegrind.png){:loading="lazy"} We will be dividing this post into two main categories: @@ -147,7 +147,7 @@ will be using Profilling Viewer under MacOS. You can open image in new tab. As you can see from this example there is hierarchy of execution order of your code. -![Profilling Viewer](/assets/posts/python-profiling/profiling-viewer.png) +![Profilling Viewer](/assets/posts/python-profiling/profiling-viewer.png){:loading="lazy"} > Make sure you convert output of the cProfile output every time you want to refresh and take a look at your possible optimizations because cProfile updates @@ -178,7 +178,7 @@ $ snakeviz awesome_random_number.prof # shows visualized profile ``` -![SnakeViz](/assets/posts/python-profiling/snakeviz.png) +![SnakeViz](/assets/posts/python-profiling/snakeviz.png){:loading="lazy"} Reddit user [ccharles](https://www.reddit.com/user/ccharles) suggested a better way for installing pip software by targeting user level instead of using sudo. -- cgit v1.2.3