官术网_书友最值得收藏!

Chapter 4. Profiling and Optimization

In this chapter, we will cover the following topics:

  • Evaluating the time taken by a statement in IPython
  • Profiling your code easily with cProfile and IPython
  • Profiling your code line-by-line with line_profiler
  • Profiling the memory usage of your code with memory_profiler
  • Understanding the internals of NumPy to avoid unnecessary array copying
  • Using stride tricks with NumPy
  • Implementing an efficient rolling average algorithm with stride tricks
  • Making efficient array selections in NumPy
  • Processing huge NumPy arrays with memory mapping
  • Manipulating large arrays with HDF5 and PyTables
  • Manipulating large heterogeneous tables with HDF5 and PyTables
主站蜘蛛池模板: 长葛市| 连城县| 乃东县| 尚义县| 洛川县| 南汇区| 蓬安县| 新河县| 镇赉县| 雅江县| 凉城县| 济源市| 织金县| 鹤岗市| 彭州市| 安达市| 栾川县| 施甸县| 太白县| 阿瓦提县| 二连浩特市| 大悟县| 波密县| 于都县| 莒南县| 宜春市| 兰溪市| 东港市| 临漳县| 天镇县| 隆德县| 炉霍县| 赣州市| 延寿县| 沧源| 乌鲁木齐市| 西畴县| 荥阳市| 威远县| 新乡市| 盘山县|