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

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
主站蜘蛛池模板: 彭泽县| 长垣县| 刚察县| 辉县市| 三江| 巧家县| 浦城县| 志丹县| 绥江县| 安远县| 碌曲县| 綦江县| 化州市| 辽源市| 大同市| 贵阳市| 武夷山市| 浪卡子县| 昆山市| 湾仔区| 龙口市| 噶尔县| 依兰县| 西充县| 临安市| 沭阳县| 霍邱县| 色达县| 类乌齐县| 体育| 阳原县| 神池县| 琼海市| 洪雅县| 西林县| 安康市| 天气| 长子县| 金塔县| 桓台县| 衡南县|