mirror of
https://github.com/facebook/sapling.git
synced 2024-10-11 01:07:15 +03:00
b766407054
Summary: I'd like to lower the bar to entry as much as possible to use caching in e.g. mappings. One thing that's a little annoying to setup right now is stats. Let's unify those. This does mean the stats names for mappings that had them will change, but I think that's probably OK here. A few notes about the implementation: - I made the stats objects singletons, because ultimately that *is* what stats are under the hood. - I made a macro to define the singleton because that was otherwise really verbose. Reviewed By: farnz Differential Revision: D25461182 fbshipit-source-id: f30d0908c40d8e0010c546ec95a385a06d557757 |
||
---|---|---|
.. | ||
allocation_tracing | ||
async_limiter | ||
bounded_traversal | ||
dedupmap | ||
iterhelpers | ||
rust | ||
scribe_ext | ||
scuba_ext | ||
sql_construct | ||
topo_sort | ||
type_map | ||
uniqueheap |