summaryrefslogtreecommitdiffstats
path: root/libcxx/benchmarks/stringstream.bench.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Add test macros for always_inline and noinlineEric Fiselier2018-10-101-1/+3
| | | | llvm-svn: 344167
* Update Google Benchmark libraryEric Fiselier2018-01-181-2/+2
| | | | llvm-svn: 322812
* [locale] Avoid copy of __atoms when char_type is charAditya Kumar2017-06-141-0/+38
The function num_get<_CharT>::stage2_int_prep makes unnecessary copy of src into atoms when char_type is char. This can be avoided by creating a switch on type and just returning __src when char_type is char. Added the test case to demonstrate performance improvement. In order to avoid ABI incompatibilities, the changes are guarded with a macro _LIBCPP_ABI_OPTIMIZED_LOCALE_NUM_GET Differential Revision: https://reviews.llvm.org/D30268 Reviewed by: EricWF llvm-svn: 305427
OpenPOWER on IntegriCloud