SERVER-137029Investigating
Minimize the cost of trace sampling decisions
h2. Goal Make the decision "should this request be traced?" cheap: free when nothing can be sampled, and near-free at the default sampling rate, where nearly every request is still rejected. The scope doc's target is under 2% CPU at the default level. h2. Changes h3. 1. Fast sampling roll (land first) Every sampleable root span draws a roll with \{{PseudoRandom::nextCanonicalDouble()}}, i.e. libstdc++'s \{{std::generate_canonical}}, which computes in \{{long double}} with two \{{logl}} c