incubator-allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From john...@apache.org
Subject [12/16] git commit: [#5738] only instrument SequenceMatcher ratio methods, not internal methods
Date Mon, 04 Feb 2013 21:27:05 GMT
[#5738] only instrument SequenceMatcher ratio methods, not internal methods


Project: http://git-wip-us.apache.org/repos/asf/incubator-allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-allura/commit/5c286167
Tree: http://git-wip-us.apache.org/repos/asf/incubator-allura/tree/5c286167
Diff: http://git-wip-us.apache.org/repos/asf/incubator-allura/diff/5c286167

Branch: refs/heads/cj/5705
Commit: 5c2861679d5138fbb3fc0ed5f8d3567ed0805803
Parents: 813917b
Author: Dave Brondsema <dbrondsema@geek.net>
Authored: Mon Feb 4 18:10:41 2013 +0000
Committer: Dave Brondsema <dbrondsema@geek.net>
Committed: Mon Feb 4 18:10:41 2013 +0000

----------------------------------------------------------------------
 Allura/allura/lib/custom_middleware.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/5c286167/Allura/allura/lib/custom_middleware.py
----------------------------------------------------------------------
diff --git a/Allura/allura/lib/custom_middleware.py b/Allura/allura/lib/custom_middleware.py
index 10762b6..d302668 100644
--- a/Allura/allura/lib/custom_middleware.py
+++ b/Allura/allura/lib/custom_middleware.py
@@ -189,7 +189,7 @@ class AlluraTimerMiddleware(TimerMiddleware):
                 'generate'),
             Timer('urlopen', urllib2, 'urlopen'),
             Timer('_diffs_copied', allura.model.repo.Commit, '_diffs_copied'),
-            Timer('sm_ratio.{method_name}', allura.model.repo.SequenceMatcher, '*'),
+            Timer('sequencematcher.{method_name}', allura.model.repo.SequenceMatcher, 'ratio',
'quick_ratio', 'real_quick_ratio'),
             Timer('unified_diff', allura.model.repo, 'unified_diff'),
         ] + [Timer('sidebar', ep.load(), 'sidebar_menu') for ep in tool_entry_points]
 


Mime
View raw message