This is an automated email from the ASF dual-hosted git repository.
swebb2066 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/logging-log4cxx.git
The following commit(s) were added to refs/heads/master by this push:
new 9ce5cdd1 Correct async benchmark descriptions (#555)
9ce5cdd1 is described below
commit 9ce5cdd13dfb9e1326f1d8af0770316bbc768400
Author: Stephen Webb <[email protected]>
AuthorDate: Wed Oct 15 12:17:18 2025 +1100
Correct async benchmark descriptions (#555)
---
src/site/markdown/performance.md | 4 ++--
src/test/cpp/benchmark/benchmark.cpp | 10 +++++-----
2 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/src/site/markdown/performance.md b/src/site/markdown/performance.md
index e741d018..2cefd64d 100644
--- a/src/site/markdown/performance.md
+++ b/src/site/markdown/performance.md
@@ -111,8 +111,8 @@ The "Iterations" column derivation is explained in [Google
Benchmark documentati
| Appending int+10float using FMT, pattern: \%m\%n/threads:6 | 1275 ns | 7297
ns | 96222 |
| Async, Sending int+10float using FMT and AsyncBuffer | 784 ns | 783 ns |
891953 |
| Async, Sending int+10float using FMT and AsyncBuffer/threads:6 | 1375 ns |
7692 ns | 88554 |
-| Async, Sending int+10float using operator<< and AsyncBuffer, pattern: \%m\%n
| 1211 ns | 1211 ns | 578034 |
-| Async, Sending int+10float using operator<< and AsyncBuffer, pattern:
\%m\%n/threads:6 | 1351 ns | 7670 ns | 90912 |
+| Async, Sending int+10float using operator<< and AsyncBuffer | 1211 ns | 1211
ns | 578034 |
+| Async, Sending int+10float using operator<< and AsyncBuffer/threads:6 | 1351
ns | 7670 ns | 90912 |
| Logging int+float using MessageBuffer, pattern: \%d \%m\%n | 1073 ns | 1073
ns | 656652 |
| Logging int+float using MessageBuffer, pattern: \%d \%m\%n/threads:6 | 1083
ns | 4895 ns | 142776 |
| Logging int+float using MessageBuffer, JSON | 1394 ns | 1394 ns | 507493 |
diff --git a/src/test/cpp/benchmark/benchmark.cpp
b/src/test/cpp/benchmark/benchmark.cpp
index 61a6655c..3e0f7baf 100644
--- a/src/test/cpp/benchmark/benchmark.cpp
+++ b/src/test/cpp/benchmark/benchmark.cpp
@@ -478,7 +478,7 @@ BENCHMARK_DEFINE_F(benchmarker,
logIntPlus10FloatValueFMT)(benchmark::State& sta
BENCHMARK_REGISTER_F(benchmarker, logIntPlus10FloatValueFMT)->Name("Appending
int+10float using FMT, pattern: %m%n");
BENCHMARK_REGISTER_F(benchmarker, logIntPlus10FloatValueFMT)->Name("Appending
int+10float using FMT, pattern: %m%n")->Threads(benchmarker::threadCount());
-BENCHMARK_DEFINE_F(benchmarker,
asyncIntPlus10FloatValueFmtBuffer)(benchmark::State& state)
+BENCHMARK_DEFINE_F(benchmarker,
asyncIntPlus10FloatFmtAsyncBuffer)(benchmark::State& state)
{
int x = 0;
for (auto _ : state)
@@ -510,8 +510,8 @@ BENCHMARK_DEFINE_F(benchmarker,
asyncIntPlus10FloatValueFmtBuffer)(benchmark::St
);
}
}
-BENCHMARK_REGISTER_F(benchmarker,
asyncIntPlus10FloatValueFmtBuffer)->Name("Async, Sending int+10float using FMT
and AsyncBuffer");
-BENCHMARK_REGISTER_F(benchmarker,
asyncIntPlus10FloatValueFmtBuffer)->Name("Async, Sending int+10float using FMT
and AsyncBuffer")->Threads(benchmarker::threadCount());
+BENCHMARK_REGISTER_F(benchmarker,
asyncIntPlus10FloatFmtAsyncBuffer)->Name("Async, Sending int+10float using FMT
and AsyncBuffer");
+BENCHMARK_REGISTER_F(benchmarker,
asyncIntPlus10FloatFmtAsyncBuffer)->Name("Async, Sending int+10float using FMT
and AsyncBuffer")->Threads(benchmarker::threadCount());
#endif
BENCHMARK_DEFINE_F(benchmarker,
asyncIntPlus10FloatAsyncBuffer)(benchmark::State& state)
@@ -546,8 +546,8 @@ BENCHMARK_DEFINE_F(benchmarker,
asyncIntPlus10FloatAsyncBuffer)(benchmark::State
);
}
}
-BENCHMARK_REGISTER_F(benchmarker,
asyncIntPlus10FloatAsyncBuffer)->Name("Async, Sending int+10float using
operator<< and AsyncBuffer, pattern: %m%n");
-BENCHMARK_REGISTER_F(benchmarker,
asyncIntPlus10FloatAsyncBuffer)->Name("Async, Sending int+10float using
operator<< and AsyncBuffer, pattern:
%m%n")->Threads(benchmarker::threadCount());
+BENCHMARK_REGISTER_F(benchmarker,
asyncIntPlus10FloatAsyncBuffer)->Name("Async, Sending int+10float using
operator<< and AsyncBuffer");
+BENCHMARK_REGISTER_F(benchmarker,
asyncIntPlus10FloatAsyncBuffer)->Name("Async, Sending int+10float using
operator<< and AsyncBuffer")->Threads(benchmarker::threadCount());
BENCHMARK_DEFINE_F(benchmarker,
fileIntPlusFloatValueMessageBuffer)(benchmark::State& state)
{