chapter 12: Performance – Tracking and Reducing Your Memory and CPU Usage¶
What is performance? 1182 Timeit – comparing code snippet performance 1183 cProfile – finding the slowest components 1187 Line profiler 1197 Improving performance 1199 Memory usage 1205 Performance monitoring 1218 Summary
12.1 What is performance?¶
12.1.1 Linux¶
Automatic Install Script
$ sudo wget -qO- https://get.docker.com/ | sh
remove hell-world
$ sudo docker rm `sudo docker ps -aq`
$ sudo docker rmi hello-world
.