[libcxx-commits] [PATCH] D67667: Add benchmarks for string assign methods

Martijn Vels via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Tue Sep 17 09:33:16 PDT 2019


mvels created this revision.
Herald added subscribers: libcxx-commits, christof.
Herald added a project: libc++.
mvels added a reviewer: EricWF.

string.assign() heavily contributes to application's CPU usage.

This change adds benchmarks for the assign(const basic_string&) and assign(const char*) methods to be used to benchmark current usage and potential optimizations.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D67667

Files:
  libcxx/benchmarks/string.bench.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D67667.220521.patch
Type: text/x-patch
Size: 4474 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20190917/fba24ca2/attachment.bin>


More information about the libcxx-commits mailing list