Product details
- ASIN : 1491922060
- Publisher : O'Reilly Media; 1st edition (May 31, 2016)
- Language : English
- Paperback : 388 pages
- ISBN-10 : 9781491922064
- ISBN-13 : 978-1491922064
کتاب Product details ASIN : 1491922060 Publisher : O'Reilly Media; 1st edition (May 31, 2016) Language : English Paperback : 388 pages ISBN-10 : 9781491922064 ISBN-13 : 978-1491922064
In today’s fast and competitive world, a program’s performance is just as important to customers as the features it provides. This practical guide teaches developers performance-tuning principles that enable optimization in C++. You’ll learn how to make code that already embodies best practices of C++ design run faster and consume fewer resources on any computer—whether it’s a watch, phone, workstation, supercomputer, or globe-spanning network of servers.
Author Kurt Guntheroth provides several running examples that demonstrate how to apply these principles incrementally to improve existing code so it meets customer requirements for responsiveness and throughput. The advice in this book will prove itself the first time you hear a colleague exclaim, “Wow, that was fast. Who fixed something?”
- Locate performance hot spots using the profiler and software timers
- Learn to perform repeatable experiments to measure performance of code changes
- Optimize use of dynamically allocated variables
- Improve performance of hot loops and functions
- Speed up string handling functions
- Recognize efficient algorithms and optimization patterns
- Learn the strengths—and weaknesses—of C++ container classes
- View searching and sorting through an optimizer’s eye
- Make efficient use of C++ streaming I/O functions
- Use C++ thread-based concurrency features effectively
منابع کتاب کتاب Product details ASIN : 1491922060 Publisher : O'Reilly Media; 1st edition (May 31, 2016) Language : English Paperback : 388 pages ISBN-10 : 9781491922064 ISBN-13 : 978-1491922064
در دنیای سریع و رقابتی امروزی، عملکرد یک برنامه به اندازه ویژگی هایی که ارائه می دهد برای مشتریان مهم است. این راهنمای عملی به توسعه دهندگان اصول تنظیم عملکرد را می آموزد که بهینه سازی را در C++ امکان پذیر می کند. شما یاد خواهید گرفت که چگونه کدی را بسازید که در حال حاضر بهترین شیوه های طراحی C++ را در بر می گیرد، سریعتر اجرا شود و منابع کمتری را در هر رایانه ای مصرف کند - خواه ساعت، تلفن، ایستگاه کاری، ابر رایانه یا شبکه سرورهای سراسر جهان باشد.
نویسنده Kurt Guntheroth چندین مثال در حال اجرا ارائه میدهد که نشان میدهد چگونه میتوان این اصول را به صورت تدریجی برای بهبود کد موجود به کار برد تا نیازهای مشتری برای پاسخگویی و توان عملیاتی را برآورده کند. توصیههای این کتاب اولین باری که یکی از همکارها را میشنوید خود را ثابت میکند: «وای، این سریع بود. چه کسی چیزی را اصلاح کرد؟»
- با استفاده از پروفایلر و نرم افزار تایمر نقاط داغ عملکرد را پیدا کنید
- آموزش انجام آزمایش های تکرارپذیر برای اندازه گیری عملکرد تغییرات کد
- استفاده بهینه از متغیرهای تخصیص یافته به صورت پویا
- بهبود عملکرد حلقه ها و عملکردها
- سرعت بخشیدن به عملکردهای مدیریت رشته
- الگوریتم های کارآمد و الگوهای بهینه سازی را بشناسید
- با نقاط قوت و ضعف کلاس های کانتینری C++ آشنا شوید
- جستجو و مرتب سازی را از طریق چشم یک بهینه ساز مشاهده کنید
- از توابع ورودی/خروجی استریم C++ استفاده بهینه کنید
- از ویژگی های همزمانی مبتنی بر رشته C++ به طور موثر استفاده کنید
ارسال نظر درباره کتاب Product details ASIN : 1491922060 Publisher : O'Reilly Media; 1st edition (May 31, 2016) Language : English Paperback : 388 pages ISBN-10 : 9781491922064 ISBN-13 : 978-1491922064