Skip to content

Performance Analysis and Optimization of C++ Standard Libraries

Photo of Tim Simpson
Hosted By
Tim S.
Performance Analysis and Optimization of C++ Standard Libraries

Details

Join us at 7:00 PM on Wednesday, May 3rd as Austin's own Aditya Kumar presents "Performance Analysis and Optimization of C++ Standard Libraries"! The show starts at 7:00, though doors open at 6:30. Please arrive ahead of time so we can get ready and you can focus on enjoying delicious pizza, which will be sponsored once again by our friends at Globalscape.

We will present the performance analysis work on libcxx and libstdc++ and the changes we did to the libraries and to the LLVM compiler to optimize the code using the C++ standard libraries. This includes the improvements on standard library algorithms like string::find, libc++::basic_streambuf::xsgetn, libc++::stringstream. These algorithms were suboptimal and we improved those algorithms, particularly std::string which improved by more than 10x as a result of our work. Similarly, we enabled the inlining of constructor and destructor of libc++::std::string. We will present a systematic analysis of function attributes in libc++ and the places where we added missing attributes. We will present comparative analysis of libc++ vs. libstdc++ on commonly used algorithms, and show cases where std::sort of libstdc++ performs much better than that of libc++.

Aditya Kumar works at Samsung (SARC) as a Senior Compiler Engineer. Previously he worked at Qualcomm (Austin) also as a compiler engineer. He received his masters in Computer Science from Texas A&M University. His interests include C++ programming, compiler design, static analysis, software engineering, and artificial intelligence.

The talk will take place at Rackspace's Austin office, located on the East side of IH-35 right before Rundberg and after Henna Chevrolet (there is a sign for Rackspace which is visible from the highway). Feel free to park in the same lot as the big Rackspace flag.

Photo of Austin C++ Meetup Group/ cpp software programming CppMsg.com group
Austin C++ Meetup Group/ cpp software programming CppMsg.com
See more events