Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Hands-On High Performance Programming with Qt 5

You're reading from   Hands-On High Performance Programming with Qt 5 Build cross-platform applications using concurrency, parallel programming, and memory management

Arrow left icon
Product type Paperback
Published in Jan 2019
Publisher Packt
ISBN-13 9781789531244
Length 384 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Marek Krajewski Marek Krajewski
Author Profile Icon Marek Krajewski
Marek Krajewski
Arrow right icon
View More author details
Toc

Table of Contents (14) Chapters Close

Preface 1. Understanding Performant Programs FREE CHAPTER 2. Profiling to Find Bottlenecks 3. Deep Dive into C++ and Performance 4. Using Data Structures and Algorithms Efficiently 5. An In-Depth Guide to Concurrency and Multithreading 6. Performance Failures and How to Overcome Them 7. Understanding I/O Performance and Overcoming Related Problems 8. Optimizing Graphical Performance 9. Optimizing Network Performance 10. Qt Performance on Embedded and Mobile Platforms 11. Testing and Deploying Qt Applications 12. Assessments 13. Other Books You May Enjoy

Questions

As in previous chapters, here are some questions so that you can test your understanding of the discussed topics:

  1. What did Linus say about C++ performance?
  2. What is an arena?
  3. What are PGO, FDO, LTO, LTCG, and WPO and what do they have in common?
  1. Have you looked into the compiler optimization example code from this book? Do you know what scalar replacement of aggregates is now?
  2. What do you think? How big is the overhead of a function call?
  3. What is dead stack pinning? Wasn't it a movie? Or was that dead stack walking?
  4. What is RTTI and is it expensive or not?
  5. What would change in the mutatingFunc() example discussed in the section about compiler optimization tricks, if it were defined in the same compilation unit?
  6. What is register pressure? Hint—it has to do with one of a compiler's main tasks, that is, register allocation.
...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image