@@ -28,18 +28,6 @@ static void Logging(benchmark::Bench& bench, const std::vector<const char*>& ext
28
28
bench.run ([&] { log (); });
29
29
}
30
30
31
- static void LogPrintLevelWithThreadNames (benchmark::Bench& bench)
32
- {
33
- Logging (bench, {" -logthreadnames=1" , " -debug=net" }, [] {
34
- LogPrintLevel (BCLog::NET, BCLog::Level::Error, " %s\n " , " test" ); });
35
- }
36
-
37
- static void LogPrintLevelWithoutThreadNames (benchmark::Bench& bench)
38
- {
39
- Logging (bench, {" -logthreadnames=0" , " -debug=net" }, [] {
40
- LogPrintLevel (BCLog::NET, BCLog::Level::Error, " %s\n " , " test" ); });
41
- }
42
-
43
31
static void LogWithDebug (benchmark::Bench& bench)
44
32
{
45
33
Logging (bench, {" -logthreadnames=0" , " -debug=net" }, [] { LogDebug (BCLog::NET, " %s\n " , " test" ); });
@@ -50,20 +38,6 @@ static void LogWithoutDebug(benchmark::Bench& bench)
50
38
Logging (bench, {" -logthreadnames=0" , " -debug=0" }, [] { LogDebug (BCLog::NET, " %s\n " , " test" ); });
51
39
}
52
40
53
- static void LogPrintfCategoryWithThreadNames (benchmark::Bench& bench)
54
- {
55
- Logging (bench, {" -logthreadnames=1" , " -debug=net" }, [] {
56
- LogPrintfCategory (BCLog::NET, " %s\n " , " test" );
57
- });
58
- }
59
-
60
- static void LogPrintfCategoryWithoutThreadNames (benchmark::Bench& bench)
61
- {
62
- Logging (bench, {" -logthreadnames=0" , " -debug=net" }, [] {
63
- LogPrintfCategory (BCLog::NET, " %s\n " , " test" );
64
- });
65
- }
66
-
67
41
static void LogWithThreadNames (benchmark::Bench& bench)
68
42
{
69
43
Logging (bench, {" -logthreadnames=1" }, [] { LogInfo (" %s\n " , " test" ); });
@@ -83,12 +57,8 @@ static void LogWithoutWriteToFile(benchmark::Bench& bench)
83
57
});
84
58
}
85
59
86
- BENCHMARK (LogPrintLevelWithThreadNames, benchmark::PriorityLevel::HIGH);
87
- BENCHMARK (LogPrintLevelWithoutThreadNames, benchmark::PriorityLevel::HIGH);
88
60
BENCHMARK (LogWithDebug, benchmark::PriorityLevel::HIGH);
89
61
BENCHMARK (LogWithoutDebug, benchmark::PriorityLevel::HIGH);
90
- BENCHMARK (LogPrintfCategoryWithThreadNames, benchmark::PriorityLevel::HIGH);
91
- BENCHMARK (LogPrintfCategoryWithoutThreadNames, benchmark::PriorityLevel::HIGH);
92
62
BENCHMARK (LogWithThreadNames, benchmark::PriorityLevel::HIGH);
93
63
BENCHMARK (LogWithoutThreadNames, benchmark::PriorityLevel::HIGH);
94
64
BENCHMARK (LogWithoutWriteToFile, benchmark::PriorityLevel::HIGH);
0 commit comments