From eda57a0070b2d40fd0c33f864a88a3662f5ff091 Mon Sep 17 00:00:00 2001 From: Josh Schmiedlin Date: Tue, 14 Jul 2020 09:52:50 -0400 Subject: [PATCH] * updated the complex formatting benchmark to include multiple ranges --- bench/formatter-bench.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bench/formatter-bench.cpp b/bench/formatter-bench.cpp index 34407c10..72f3bb2b 100644 --- a/bench/formatter-bench.cpp +++ b/bench/formatter-bench.cpp @@ -49,6 +49,9 @@ void bench_formatters() "[%D %X] [%l] [%n] %v", "[%Y-%m-%d %H:%M:%S.%e] [%l] [%n] %v", "[%Y-%m-%d %H:%M:%S.%e] [%l] [%n] [%t] %v", + "%^[%Y-%m-%d %H:%M:%S.%e]%$ [%l] [%n] [%t] %v", + "%^[%Y-%m-%d %H:%M:%S.%e]%$ [%l] %^[%n]%$ [%t] %v", + "%^[%Y-%m-%d %H:%M:%S.%e]%$ [%l] %^[%n]%$ [%t] %^%v%$", }; for (auto &pattern : patterns) {