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

Chapter 4. Profiling and Optimization

In this chapter, we will cover the following topics:

  • Evaluating the time taken by a command 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
  • Processing large NumPy arrays with memory mapping
  • Manipulating large arrays with HDF5
主站蜘蛛池模板: 韶关市| 秦安县| 五台县| 宝清县| 婺源县| 宿松县| 石狮市| 丰镇市| 宁晋县| 望都县| 绥江县| 茂名市| 汤原县| 城固县| 麟游县| 宁乡县| 扬州市| 吴堡县| 东海县| 叙永县| 读书| 兴国县| 江孜县| 深州市| 固始县| 黎平县| 永年县| 虹口区| 阿坝县| 云林县| 桑植县| 原平市| 宁德市| 云浮市| 泽州县| 吉水县| 若尔盖县| 闵行区| 磐石市| 南昌市| 土默特右旗|