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