hanchenye-llvm-project/libcxx/benchmarks
Eric Fiselier a55333003d Optimize filesystem::path by providing weaker exception guarantees.
path uses string::append to construct, append, and concatenate paths. Unfortunatly
string::append has a strong exception safety guaranteed and if it can't prove
that the iterator operations don't throw then it will allocate a temporary
string copy to append to. However this extra allocation and copy is very
undesirable for path which doesn't have the same exception guarantees.

To work around this this patch adds string::__append_forward_unsafe which exposes
the std::string::append interface for forward iterators without enforcing
that the iterator is noexcept.

llvm-svn: 285532
2016-10-31 02:46:25 +00:00
..
CMakeLists.txt Optimize filesystem::path by providing weaker exception guarantees. 2016-10-31 02:46:25 +00:00
ContainerBenchmarks.hpp remove warnings from google-benchmarks in libcxx 2016-10-14 00:07:57 +00:00
GenerateInput.hpp Add start of filesystem benchmarks 2016-10-30 22:53:00 +00:00
algorithms.bench.cpp Update in-tree Google Benchmark to current ToT. 2016-08-09 18:56:48 +00:00
filesystem.bench.cpp Optimize filesystem::path by providing weaker exception guarantees. 2016-10-31 02:46:25 +00:00
unordered_set_operations.bench.cpp Update in-tree Google Benchmark to current ToT. 2016-08-09 18:56:48 +00:00
util_smartptr.bench.cpp Adding smart_ptr benchmark 2016-08-01 19:56:39 +00:00
vector_operations.bench.cpp Start adding benchmarks for vector 2016-07-24 06:51:55 +00:00