Skip to main content

resolve

Function resolve 

Source
pub fn resolve(cores: usize, ram_gib: Option<f64>) -> Profile
Expand description

Classify a machine from its core count and (optionally known) total RAM in GiB.

Low when ≤2 cores or ≤2 GiB. High when ≥8 cores and (RAM unknown or ≥16 GiB). Balanced otherwise.