mirror of
https://github.com/facebook/sapling.git
synced 2024-10-09 16:31:02 +03:00
b75516fcff
Summary: This diff removes `self.ui = ui` in metricscollector to address stale ui issues with chg. Also clean up unnecessary sample merges since there is only one collector per process. Test Plan: Run with `fastmanifest.debugmetrics=1` and confirm see lines like: [FM-METRICS] Begin metrics [FM-METRICS] kind: cachehitratio, kwargs: [('ratio', 100.0)] [FM-METRICS] kind: diffcachehitratio, kwargs: [('ratio', -1)] [FM-METRICS] kind: filesnotincachehitratio, kwargs: [('ratio', 0.0)] [FM-METRICS] End metrics Reviewers: #mercurial, ttung, lcharignon Reviewed By: lcharignon Subscribers: mjpieters Differential Revision: https://phabricator.intern.facebook.com/D3504442 Signature: t1:3504442:1467311563:5904bd06b210fa8550b2e1f7e85c2133ad7a1a0e |
||
---|---|---|
.. | ||
__init__.py | ||
cachemanager.py | ||
concurrency.py | ||
constants.py | ||
debug.py | ||
implementation.py | ||
metrics.py |