diff options
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.md | 6 |
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 | |||
| 22 | Viewer](http://www.profilingviewer.com/) or | 22 | Viewer](http://www.profilingviewer.com/) or |
| 23 | [MacCallGrind](http://www.maccallgrind.com/). | 23 | [MacCallGrind](http://www.maccallgrind.com/). |
| 24 | 24 | ||
| 25 |  | 25 | {:loading="lazy"} |
| 26 | 26 | ||
| 27 | We will be dividing this post into two main categories: | 27 | We 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 | |||
| 147 | you can see from this example there is hierarchy of execution order of your | 147 | you can see from this example there is hierarchy of execution order of your |
| 148 | code. | 148 | code. |
| 149 | 149 | ||
| 150 |  | 150 | {: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 |
| 153 | refresh and take a look at your possible optimizations because cProfile updates | 153 | refresh 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 |  | 181 | {:loading="lazy"} |
| 182 | 182 | ||
| 183 | Reddit user [ccharles](https://www.reddit.com/user/ccharles) suggested a better | 183 | Reddit user [ccharles](https://www.reddit.com/user/ccharles) suggested a better |
| 184 | way for installing pip software by targeting user level instead of using sudo. | 184 | way for installing pip software by targeting user level instead of using sudo. |
