Missing inlining opportunities in basic_string (libc++)
4
Missing function attributes (libc++)
5
Issues with number parsing in locale
6
sort (Average case)
7
vector vs. deque (push_back)
8
vector vs. deque (access)
9
vector vs. deque (push_back + access)
10
Associative vs Hashed Associative (Finding random integers)
11
compiler vs. programmer vs. hand- optimized
12
Lessons learned (Algorithms)
13
Lessons learned (containers) optimizing destructor of string
14
Lessons learned (Language/Library)
15
Size (in bytes) of empty containers 64 bit
16
Optimize for latency
Description:
Explore performance analysis and optimization techniques for C++ standard libraries in this CppNow conference talk. Dive into improvements made to libcxx and libstdc++, including enhancements to algorithms like string::find and basic_streambuf::xsgetn. Learn about the development of std-benchmark for cross-library performance analysis. Examine ongoing performance issues and potential solutions, such as optimizing number parsing in stringstream and improving std::sort. Gain insights into effective use of C++ standard libraries, including best practices for containers like std::vector and std::string. Discover the impact of compiler optimizations and function attributes on library performance. Benefit from lessons learned through extensive analysis of C++ standard libraries, covering topics like algorithm selection, container usage, and language features.
Performance Analysis and Optimization of C++ Standard Libraries