pythonic code vs performance
play

Pythonic code vs. Performance ukasz K kol Who am I? Senior - PowerPoint PPT Presentation

Pythonic code vs. Performance ukasz K kol Who am I? Senior Python Developer @ STX Next Speaker @ PyCon UK, PySS and local meetups Optimization enthusiast Agenda Introduction Demo! Summary Q&A Introduction


  1. Pythonic code vs. Performance Ł ukasz K ą kol

  2. Who am I? ● Senior Python Developer @ STX Next ● Speaker @ PyCon UK, PySS and local meetups ● Optimization enthusiast

  3. Agenda ● Introduction ● Demo! ● Summary ● Q&A

  4. Introduction

  5. Performance aspects ● CPU time ● Memory ● I/O operations

  6. You can into performance ● Plan ● Measure ● Monitor ● Identify bottlenecks and quick-wins ● Optimize them all! (?)

  7. Profiling tools ● cProfile ● memory_profiler ● sys ● dis

  8. DEMO!

  9. Summary

  10. Summary ● Predict ● Don’t trust presumptions ● Profile everything ● Calculate ROI

  11. Q&A lukasz.kakol@stxnext.pl lukkol.pl/ep2018-performance github.com/lukaszkakol/python-performance goo.gl/gPDTuN

Recommend


More recommend