Understand jsongrep benchmark groups
mainThe benchmark suite is divided into four distinct measurement groups to isolate different performance characteristics:
document_parse: Measures the time taken to parse raw JSON into the tool's in-memory representation (e.g.,serde_json_borrow::Valueforjsongrep).query_compile: Measures the cost of constructing the query engine (e.g., DFA construction forjsongrepor expression compilation forjmespath).query_search: The core performance metric. It measures only the traversal/execution time by using pre-compiled queries and pre-parsed documents.end_to_end: Simulates a real CLI usage by running the full pipeline (parse + compile + search) without any caching.