mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 21:31:04 +00:00
d8e7d5c150
The log and exp calls in base::Histogram::InitializeBucketRange() were showing up in profiles. This patch uses the precomputed buckets for exponential histograms instead of computing them at runtime. Though linear histograms do show up in the profile that prompted this change, they contribute much less, and due to the trivial nature of generating these, it's unlikely that a static cache would provide much if any speedup. MozReview-Commit-ID: IavFwoWjFhk --HG-- extra : rebase_source : ad7d641ab2982f5cf8d202c7c382bfc26daa4bd5 |
||
---|---|---|
.. | ||
atomics | ||
src | ||
chromium-config.mozbuild | ||
moz.build |