HomePhabricator

[libc++] Add additional benchmark functions to libcxx/benchmarks/string.bench

Authored by EricWF on Jan 7 2020, 1:31 PM.

Description

[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@google.com)
Reviewed as D72343

Details

Committed
EricWFJan 7 2020, 1:31 PM
Parents
rG9685cf709ff2: [X86] Enable v2i64->v2f32 uint_to_fp code in ReplaceNodeResults on SSE4.1 target
Branches
Unknown
Tags
Unknown