Skip to main content

search_batch_largest_round

Function search_batch_largest_round 

Source
pub fn search_batch_largest_round() -> Variables
Expand description

The page sizes of the most expensive graphql::SEARCH_BATCH round this source sends: every search and origin slot asking a whole page of MAX_PAGE_SIZE rows — what largest_page_sizes binds them to.

A search slot selects each hit’s scalar fields alone, so asking every row a slot can is what the round costs at most; tests/point_cost.rs prices it, and the credentialed lane reconciles GitHub’s own price of the document under it.