should be it
This commit is contained in:
18
external/duckdb/benchmark/micro/result_collection/arrow_result.benchmark
vendored
Normal file
18
external/duckdb/benchmark/micro/result_collection/arrow_result.benchmark
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
# name: benchmark/micro/result_collection/arrow_result.benchmark
|
||||
# description: Show the performance of the ArrowQueryResult
|
||||
# group: [result_collection]
|
||||
|
||||
name arrow_result
|
||||
group micro
|
||||
subgroup result_collection
|
||||
|
||||
resultmode arrow
|
||||
|
||||
# Disable order preservation to test the parallel result collector
|
||||
load
|
||||
pragma preserve_insertion_order=false;
|
||||
create table tbl (a varchar);
|
||||
insert into tbl select 'this is a long string' from range(300000000)
|
||||
|
||||
run
|
||||
select * from tbl;
|
||||
17
external/duckdb/benchmark/micro/result_collection/batched_arrow_result.benchmark
vendored
Normal file
17
external/duckdb/benchmark/micro/result_collection/batched_arrow_result.benchmark
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
# name: benchmark/micro/result_collection/batched_arrow_result.benchmark
|
||||
# description: Show the performance of the Batched ArrowQueryResult
|
||||
# group: [result_collection]
|
||||
|
||||
name batched_arrow_result
|
||||
group micro
|
||||
subgroup result_collection
|
||||
|
||||
resultmode arrow 10000
|
||||
|
||||
# By not disabling order preservation we make use of the batched collector
|
||||
load
|
||||
create table tbl (a varchar);
|
||||
insert into tbl select 'this is a long string' from range(300000000)
|
||||
|
||||
run
|
||||
select * from tbl;
|
||||
17
external/duckdb/benchmark/micro/result_collection/batched_stream_query.benchmark
vendored
Normal file
17
external/duckdb/benchmark/micro/result_collection/batched_stream_query.benchmark
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
# name: benchmark/micro/result_collection/batched_stream_query.benchmark
|
||||
# description: Show the performance of the Batched StreamQueryResult
|
||||
# group: [result_collection]
|
||||
|
||||
name batched_stream_query
|
||||
group micro
|
||||
subgroup result_collection
|
||||
|
||||
resultmode streaming
|
||||
|
||||
load
|
||||
set streaming_buffer_size = '100gb';
|
||||
create table tbl (a varchar);
|
||||
insert into tbl select 'this is a long string' from range(500000000) t(i) where i % 20 == 0;
|
||||
|
||||
run
|
||||
select * from tbl;
|
||||
Reference in New Issue
Block a user