projects
/
mkws-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
11862a2
)
Add instrumentation for time taken to walk nodes.
author
Mike Taylor
<mike@indexdata.com>
Wed, 19 Feb 2014 21:47:59 +0000
(16:47 -0500)
committer
Mike Taylor
<mike@indexdata.com>
Wed, 19 Feb 2014 21:47:59 +0000
(16:47 -0500)
tools/htdocs/mkws.js
patch
|
blob
|
history
diff --git
a/tools/htdocs/mkws.js
b/tools/htdocs/mkws.js
index
1d0b793
..
b844b58
100644
(file)
--- a/
tools/htdocs/mkws.js
+++ b/
tools/htdocs/mkws.js
@@
-1401,6
+1401,7
@@
function team($, teamName) {
// Find all nodes with an class, and determine their team from
// the mkwsTeam_* class. Make all team objects.
+ var then = $.now();
$('[class^="mkws"],[class*=" mkws"]').each(function () {
var node = this;
mkws.handle_node_with_team(node, function(tname) {
@@
-1410,6
+1411,8
@@
function team($, teamName) {
}
});
});
+ var now = $.now();
+ debug("Walking MKWS nodes took " + (now-then) + " ms");
if (mkws_config.use_service_proxy) {
authenticate_session(mkws_config.service_proxy_auth,