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

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
主站蜘蛛池模板: 博爱县| 新乡县| 永登县| 大同市| 清苑县| 永靖县| 监利县| 濮阳县| 湟源县| 三江| 怀柔区| 自治县| 郁南县| 宁明县| 五原县| 鄂尔多斯市| 吴江市| 卢氏县| 堆龙德庆县| 富蕴县| 古蔺县| 民和| 巴彦淖尔市| 泾川县| 兰西县| 吴桥县| 公安县| 黄龙县| 刚察县| 泸水县| 兴仁县| 滦南县| 洛阳市| 绥阳县| 衡水市| 娱乐| 松江区| 浙江省| 深圳市| 许昌县| 威信县|