C++ is a powerful language usually preferred over other languages because of its potential to exploit hardware resources to extract maximum performance. However, its vast range of features should be used suitably to achieve the intended performance. In this repository, I have comprehensively evaluated the performance aspects of Modern C++ (C++11 and later), particularly focusing on the programming practices.
The following elements of C++ have been investigated:
-
std::vector
-
std::string
andstd::string_view
-
Smart pointers
-
Execution policies
To evaluate the performance of these features, comprehensive benchmarks were conducted using Quick-bench.com, a platform built on Google benchmark.
For execution policies, tests should be run locally on the local machine with Google Benchmark
installed locally. Please follow the official documentation for installing Google-benchmark.