Mastering Python High Performance:Measure, optimize, and improve the performance of your Python code with this easy-to-follow guide

Mastering Python High Performance:Measure, optimize, and improve the performance of your Python code with this easy-to-follow guide
分享
扫描下方二维码分享到微信
打开微信,点击右上角”+“,
使用”扫一扫“即可将网页分享到朋友圈。
作者:
出版社: Packt Publishing
2015-09
ISBN: 9781783989300
装帧: 其他
开本: 其他
页数: 260页
  • Measure, optimize, and improve the performance of your Python code with this easy-to-follow guide
    About This Book
    Master the do's and don'ts of Python performance programmingLearn how to use exiting new tools that will help you improve your scriptsA step-by-step, conceptual guide to teach you how to optimize and fine-tune your critical pieces of code
    Who This Book Is For
    If you're a Python developer looking to improve the speed of your scripts or simply wanting to take your skills to the next level, then this book is perfect for you.
    What You Will Learn
    Master code optimization step-by-step and learn how to use different toolsUnderstand what a profiler is and how to read its outputInterpret visual output from profiling tools and improve the performance of your scriptUse Cython to create fast applications using Python and CTake advantage of PyPy to improve performance of Python codeOptimize number-crunching code with NumPy, Numba, Parakeet, and Pandas
    In Detail
    Simply knowing how to code is not enough; on mission-critical pieces of code, every bit of memory and every CPU cycle counts, and knowing how to squish every bit of processing power out of your code is a crucial and sought-after skill. Nowadays, Python is used for many scientific projects, and sometimes the calculations done in those projects require some serious fine-tuning. Profilers are tools designed to help you measure the performance of your code and help you during the optimization process, so knowing how to use them and read their output is very handy.
    This book starts from the basics and progressively moves on to more advanced topics. You'll learn everything from profiling all the way up to writing a real-life application and applying a full set of tools designed to improve it in different ways. In the middle, you'll stop to learn about the major profilers used in Python and about some graphic tools to help you make sense of their output. You'll then move from generic optimization techniques onto Python-specific ones, going over the main constructs of the language that will help you improve your speed without much of a change. Finally, the book covers some number-crunching-specific libraries and how to use them properly to get the best speed out of them.
    After reading this book, you will know how to take any Python code, profile it, find out where the bottlenecks are, and apply different techniques to remove them.
    Style and approach
    This easy-to-follow, practical guide will help you enhance your optimization skills by improving real-world code. Fernando Doglio has been working as a Web Developer for the past 10 years. In that time, he's come to love the web, and has had the opportunity of working with most of the leading technologies at the time, suchs as PHP, Ruby on Rails, MySQL, Node. js, Angular.js, AJAX, REST APIs and others.
    In his spare time, he likes to tinker and learn new things, which is why his Github account keeps getting new repos every month. He's also a big Open Source supporter, trying to convert new people into it with the help of the site he created: www.lookingforpullrequests.com.
    He can be contacted on twitter at: @deleteman123
    When not programming, he can be seen spending time with his family.
  • 内容简介:
    Measure, optimize, and improve the performance of your Python code with this easy-to-follow guide
    About This Book
    Master the do's and don'ts of Python performance programmingLearn how to use exiting new tools that will help you improve your scriptsA step-by-step, conceptual guide to teach you how to optimize and fine-tune your critical pieces of code
    Who This Book Is For
    If you're a Python developer looking to improve the speed of your scripts or simply wanting to take your skills to the next level, then this book is perfect for you.
    What You Will Learn
    Master code optimization step-by-step and learn how to use different toolsUnderstand what a profiler is and how to read its outputInterpret visual output from profiling tools and improve the performance of your scriptUse Cython to create fast applications using Python and CTake advantage of PyPy to improve performance of Python codeOptimize number-crunching code with NumPy, Numba, Parakeet, and Pandas
    In Detail
    Simply knowing how to code is not enough; on mission-critical pieces of code, every bit of memory and every CPU cycle counts, and knowing how to squish every bit of processing power out of your code is a crucial and sought-after skill. Nowadays, Python is used for many scientific projects, and sometimes the calculations done in those projects require some serious fine-tuning. Profilers are tools designed to help you measure the performance of your code and help you during the optimization process, so knowing how to use them and read their output is very handy.
    This book starts from the basics and progressively moves on to more advanced topics. You'll learn everything from profiling all the way up to writing a real-life application and applying a full set of tools designed to improve it in different ways. In the middle, you'll stop to learn about the major profilers used in Python and about some graphic tools to help you make sense of their output. You'll then move from generic optimization techniques onto Python-specific ones, going over the main constructs of the language that will help you improve your speed without much of a change. Finally, the book covers some number-crunching-specific libraries and how to use them properly to get the best speed out of them.
    After reading this book, you will know how to take any Python code, profile it, find out where the bottlenecks are, and apply different techniques to remove them.
    Style and approach
    This easy-to-follow, practical guide will help you enhance your optimization skills by improving real-world code.
  • 作者简介:
    Fernando Doglio has been working as a Web Developer for the past 10 years. In that time, he's come to love the web, and has had the opportunity of working with most of the leading technologies at the time, suchs as PHP, Ruby on Rails, MySQL, Node. js, Angular.js, AJAX, REST APIs and others.
    In his spare time, he likes to tinker and learn new things, which is why his Github account keeps getting new repos every month. He's also a big Open Source supporter, trying to convert new people into it with the help of the site he created: www.lookingforpullrequests.com.
    He can be contacted on twitter at: @deleteman123
    When not programming, he can be seen spending time with his family.
查看详情
相关图书 / 更多
Mastering Python High Performance:Measure, optimize, and improve the performance of your Python code with this easy-to-follow guide
Mastering Audio:The Art and the Science
Bob Katz
Mastering Python High Performance:Measure, optimize, and improve the performance of your Python code with this easy-to-follow guide
MasteringXcode4
Joshua Nozzi 著
Mastering Python High Performance:Measure, optimize, and improve the performance of your Python code with this easy-to-follow guide
MasteringtheArtofBeading:EssentialToolsandTechniquesEveryJewelryMakerMustKnow
Genevieve A. Sterbenz 著
Mastering Python High Performance:Measure, optimize, and improve the performance of your Python code with this easy-to-follow guide
Mastering the Nikon D90
Darrell Young 著
Mastering Python High Performance:Measure, optimize, and improve the performance of your Python code with this easy-to-follow guide
MasteringTechnicalSales:TheSalesEngineer'sHandbook
John Care 著
Mastering Python High Performance:Measure, optimize, and improve the performance of your Python code with this easy-to-follow guide
MasteringYourKeyAccounts:MaximizeRelationships;CreateStrategicPartnerships;IncreaseSales
Stephan Schiffman 著
Mastering Python High Performance:Measure, optimize, and improve the performance of your Python code with this easy-to-follow guide
Mastering Windows Server 2003, Upgrade Edition for SP1 and R2
Mark Minasi 著
Mastering Python High Performance:Measure, optimize, and improve the performance of your Python code with this easy-to-follow guide
Mastering Canon EOS Flash Photography
NK Guy 著
Mastering Python High Performance:Measure, optimize, and improve the performance of your Python code with this easy-to-follow guide
MasteringMountainBikeSkills
Brian Lopes 著
Mastering Python High Performance:Measure, optimize, and improve the performance of your Python code with this easy-to-follow guide
MasteringtheNikonD800
Darrell Young 著
Mastering Python High Performance:Measure, optimize, and improve the performance of your Python code with this easy-to-follow guide
MasteringtheArtofMcTavishing[WithDVD]
Karen C. McTavish 著
Mastering Python High Performance:Measure, optimize, and improve the performance of your Python code with this easy-to-follow guide
MasteringESLandBilingualMethods
Socorro G. Herrera 著
您可能感兴趣 / 更多
Mastering Python High Performance:Measure, optimize, and improve the performance of your Python code with this easy-to-follow guide
群、环、域导引(影印版)
Fernando Q. Gouvêa
Mastering Python High Performance:Measure, optimize, and improve the performance of your Python code with this easy-to-follow guide
El Greco: Life and Work - A New History
Fernando Marias 著
Mastering Python High Performance:Measure, optimize, and improve the performance of your Python code with this easy-to-follow guide
UnderstandingPain:ExploringthePerceptionofPain
Fernando Cervero 著
Mastering Python High Performance:Measure, optimize, and improve the performance of your Python code with this easy-to-follow guide
MassEffect3:PrimaOfficialGameGuide
Fernando Bueno 著
Mastering Python High Performance:Measure, optimize, and improve the performance of your Python code with this easy-to-follow guide
The Food and Cooking of Brazil: Traditions, Ingredients, Tastes, Techniques, 65 Classic Recipes
Fernando Farah 著
Mastering Python High Performance:Measure, optimize, and improve the performance of your Python code with this easy-to-follow guide
Bedrooms
Fernando de Haro 著
Mastering Python High Performance:Measure, optimize, and improve the performance of your Python code with this easy-to-follow guide
PauloCoelhoaWarriorsLife[保罗·科埃略:勇士的一生]
Fernando Morais 著
Mastering Python High Performance:Measure, optimize, and improve the performance of your Python code with this easy-to-follow guide
Ideas:Apartments(Ideas(AMEditores))
Fernando de Haro、Omar Fuentes 著
Mastering Python High Performance:Measure, optimize, and improve the performance of your Python code with this easy-to-follow guide
The Collected Poems of Alvaro de Campos Vol. 2
Fernando Pessoa
Mastering Python High Performance:Measure, optimize, and improve the performance of your Python code with this easy-to-follow guide
TheTimeSeller:ABusinessSatire
Fernando Trías De Bes 著
Mastering Python High Performance:Measure, optimize, and improve the performance of your Python code with this easy-to-follow guide
TheBookofDisquiet
Fernando Pessoa 著;Richard Zenith 编;Richard Zenith 译
Mastering Python High Performance:Measure, optimize, and improve the performance of your Python code with this easy-to-follow guide
Automata, Languages and Programming 自动化、编程和语言
Fernando Orejas;Paul G.Spirakis