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

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
主站蜘蛛池模板: 田林县| 浪卡子县| 静宁县| 廊坊市| 丹巴县| 鸡东县| 威宁| 克山县| 黄骅市| 青田县| 含山县| 香河县| 息烽县| 瑞安市| 锡林浩特市| 革吉县| 无棣县| 温州市| 黄冈市| 彰化市| 涟源市| 武乡县| 密山市| 都匀市| 云梦县| 望江县| 永胜县| 乐都县| 西平县| 武乡县| 台江县| 襄城县| 龙门县| 竹北市| 平潭县| 定日县| 华安县| 青岛市| 搜索| 海宁市| 汝阳县|