[libcxx-commits] [PATCH] D72343: Add additional benchmark functions to libcxx/benchmarks/string.bench

Martijn Vels via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Tue Jan 7 09:18:37 PST 2020


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

This change adds the following benchmarks:

- StringAssignStr

Assign a const basic::string& value

- StringAssignAsciiz

Assign a const char* asciiz value

StringAssignAsciizMix
Assign mixed long/short const char* asciiz values

- StringResizeDefaultInit

Resize default init benchmark


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D72343

Files:
  libcxx/benchmarks/string.bench.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D72343.236613.patch
Type: text/x-patch
Size: 5610 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20200107/248ea2a3/attachment-0001.bin>


More information about the libcxx-commits mailing list