diff options
author | Lars Wirzenius <liw@liw.fi> | 2015-08-02 18:09:20 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2015-08-02 18:44:02 +0300 |
commit | 80474a5fbb0264b0283e223d896afb267fcea333 (patch) | |
tree | 5cd5b4b2a59a1066e894d9117db82a78021840a7 | |
parent | 0b6bfe1d217b85cb926724949bd32d20bbfe5d06 (diff) | |
download | obnam-80474a5fbb0264b0283e223d896afb267fcea333.tar.gz |
Drop tracing calls
They're about 1% of total runtime in benchmark. That's too many.
-rw-r--r-- | obnamlib/fmt_ga/tree.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/obnamlib/fmt_ga/tree.py b/obnamlib/fmt_ga/tree.py index cbe36c22..1c59ceed 100644 --- a/obnamlib/fmt_ga/tree.py +++ b/obnamlib/fmt_ga/tree.py @@ -53,11 +53,8 @@ class GATree(object): def get_directory(self, pathname): if pathname in self._cache: - tracing.trace('cache hit: pathname=%r', pathname) return self._cache.get(pathname) - tracing.trace('cache miss: pathname=%r', pathname) - if self._root_dir_id is None: return None |