should be it
This commit is contained in:
10
external/duckdb/benchmark/micro/logger/disabled/logging_disabled_client_context.benchmark
vendored
Normal file
10
external/duckdb/benchmark/micro/logger/disabled/logging_disabled_client_context.benchmark
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
# name: benchmark/micro/logger/disabled/logging_disabled_client_context.benchmark
|
||||
# description: Benchmarking the Client Context logger
|
||||
# group: [disabled]
|
||||
|
||||
name Client Context NopLogger
|
||||
group logger
|
||||
|
||||
# Note: this will call the Logger, but logging is disabled so this will call the NopLogger
|
||||
run
|
||||
SELECT write_log('hello world', scope := 'connection') from range(0,50000000);
|
||||
10
external/duckdb/benchmark/micro/logger/disabled/logging_disabled_file_opener.benchmark
vendored
Normal file
10
external/duckdb/benchmark/micro/logger/disabled/logging_disabled_file_opener.benchmark
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
# name: benchmark/micro/logger/disabled/logging_disabled_file_opener.benchmark
|
||||
# description: Benchmarking the File Opener logger (has an extra step of indirection so will be a little slower)
|
||||
# group: [disabled]
|
||||
|
||||
name FileOpener NopLogger
|
||||
group logger
|
||||
|
||||
# Note: this will call the Logger, but logging is disabled so this will call the NopLogger
|
||||
run
|
||||
SELECT write_log('hello world', scope := 'file_opener') from range(0,50000000);
|
||||
10
external/duckdb/benchmark/micro/logger/disabled/logging_disabled_global.benchmark
vendored
Normal file
10
external/duckdb/benchmark/micro/logger/disabled/logging_disabled_global.benchmark
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
# name: benchmark/micro/logger/disabled/logging_disabled_global.benchmark
|
||||
# description: Benchmarking the Global logger
|
||||
# group: [disabled]
|
||||
|
||||
name Global NopLogger
|
||||
group case
|
||||
|
||||
# Note: this will call the Logger, but logging is disabled so this will call the NopLogger
|
||||
run
|
||||
SELECT write_log('hello world', scope := 'database') from range(0,50000000);
|
||||
10
external/duckdb/benchmark/micro/logger/disabled/logging_disabled_reference.benchmark
vendored
Normal file
10
external/duckdb/benchmark/micro/logger/disabled/logging_disabled_reference.benchmark
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
# name: benchmark/micro/logger/disabled/logging_disabled_reference.benchmark
|
||||
# description: Logger disabled benchmark without Logger calls (for reference)
|
||||
# group: [disabled]
|
||||
|
||||
name Disabled logger reference
|
||||
group case
|
||||
|
||||
# Note: this will NOT call any logger code, it's simply for reference for the other benchmarks
|
||||
run
|
||||
SELECT write_log('hello world', scope := 'database', disable_logging := true) from range(0,50000000);
|
||||
Reference in New Issue
Block a user