Memory and scheduling metrics of a DuckDB profile.
Summary
Functions
Decodes a JSON string into this struct.
Decodes a JSON string into this struct, raising on failure.
Dumps this struct into JSON-shaped data, respecting JSON field names.
Builds this struct from a decoded JSON map.
Builds this struct from a decoded JSON map, raising on failure.
Returns a JSON Schema-compatible schema map.
Types
@type t() :: %QuackDB.Profile.System{ blocked_thread_time: number() | nil, peak_buffer_memory: non_neg_integer() | nil, peak_streaming_buffer_size: non_neg_integer() | nil, peak_temp_dir_size: non_neg_integer() | nil, total_memory_allocated: non_neg_integer() | nil }
Functions
Decodes a JSON string into this struct.
Decodes a JSON string into this struct, raising on failure.
Dumps this struct into JSON-shaped data, respecting JSON field names.
Builds this struct from a decoded JSON map.
Builds this struct from a decoded JSON map, raising on failure.
Returns a JSON Schema-compatible schema map.