1
0

chore: update build manual and script.

This commit is contained in:
2025-09-29 22:43:28 +08:00
parent 19d0a5bb4d
commit 05a80268ab
8 changed files with 83 additions and 235 deletions

View File

@ -7,12 +7,12 @@ using namespace std::literals::string_view_literals;
namespace yyccbench::string::op {
static void StringStrip(benchmark::State& state) {
static void BM_StringStrip(benchmark::State& state) {
std::u8string_view strl = u8" \thello\r\n"sv, words = u8" \t\r\n"sv;
for (auto _ : state) {
auto rv = OP::strip(strl, words);
}
}
BENCHMARK(StringStrip);
BENCHMARK(BM_StringStrip)->Name("StringStrip");
}