[all-commits] [llvm/llvm-project] 0c5102: [libc++] Add additional benchmark functions to lib...

Eric via All-commits all-commits at lists.llvm.org
Tue Jan 7 13:31:47 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 0c5102bd939131b27105b74e73fc25b90207ef36
      https://github.com/llvm/llvm-project/commit/0c5102bd939131b27105b74e73fc25b90207ef36
  Author: Eric Fiselier <eric at efcs.ca>
  Date:   2020-01-07 (Tue, 07 Jan 2020)

  Changed paths:
    M libcxx/benchmarks/string.bench.cpp

  Log Message:
  -----------
  [libc++] Add additional benchmark functions to libcxx/benchmarks/string.bench

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

Patch by Martijn Vels (mvels at google.com)
Reviewed as D72343




More information about the All-commits mailing list