Module bench_util

Source
Expand description

Utils to make benchmarking easier

Functionsยง

create_binary_array
Creates an random (but fixed-seeded) binary array of a given size and null density
create_boolean_array
Creates a random (but fixed-seeded) array of a given size and null density
create_dict_from_values
Creates a random (but fixed-seeded) dictionary array of a given size and null density with the provided values array
create_f16_array
Creates a random (but fixed-seeded) f16 array of a given size and nan-value density
create_f32_array
Creates a random (but fixed-seeded) f32 array of a given size and nan-value density
create_f64_array
Creates a random (but fixed-seeded) f64 array of a given size and nan-value density
create_fsb_array
Creates an random (but fixed-seeded) array of a given size and null density
create_month_day_nano_array_with_seed
Creates a PrimitiveArray of a given size and null_density filling it with random IntervalMonthDayNano generated using the provided seed.
create_primitive_array
Creates an random (but fixed-seeded) array of a given size and null density
create_primitive_array_with_seed
Creates a PrimitiveArray of a given size and null_density filling it with random numbers generated using the provided seed.
create_primitive_run_array
Create primitive run array for given logical and physical array lengths
create_sparse_dict_from_values
Creates a random (but fixed-seeded) dictionary array of a given size and null density with the provided values array and key range
create_string_array
Creates a random (but fixed-seeded) string array of a given size and null density.
create_string_array_for_runs
Create string array to be used by run array builder. The string array will result in run array with physical length of physical_array_len and logical length of logical_array_len
create_string_array_with_len
Creates a random (but fixed-seeded) array of a given size, null density and length
create_string_array_with_max_len ๐Ÿ”’
Creates a random (but fixed-seeded) array of rand size with a given max size, null density and length
create_string_dict_array
Creates an random (but fixed-seeded) array of a given size and null density consisting of random 4 character alphanumeric strings
create_string_view_array
Creates a random (but fixed-seeded) string view array of a given size and null density.
create_string_view_array_with_len
Creates a random (but fixed-seeded) array of a given size, null density and length
create_string_view_array_with_max_len ๐Ÿ”’
Creates a random (but fixed-seeded) array of rand size with a given max size, null density and length