You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by br...@apache.org on 2013/02/04 19:11:01 UTC

[3/3] git commit: [#5738] only instrument SequenceMatcher ratio methods, not internal methods

Updated Branches:
  refs/heads/master 0fb0b2ada -> 5c2861679


[#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/master
Commit: 5c2861679d5138fbb3fc0ed5f8d3567ed0805803
Parents: 813917b
Author: Dave Brondsema <db...@geek.net>
Authored: Mon Feb 4 18:10:41 2013 +0000
Committer: Dave Brondsema <db...@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]