CommentBuilder: more timers.

This commit is contained in:
Brian Simpson
2014-02-14 13:58:14 -05:00
parent 600700e3d7
commit 5a29a9518e

View File

@@ -793,7 +793,9 @@ class CommentBuilder(Builder):
comments = Comment._byID(items, data=True, return_dict=False,
stale=self.stale)
timer.intermediate("lookup_comments")
wrapped = self.wrap_items(comments)
timer.intermediate("wrap_comments")
wrapped_by_id = {comment._id: comment for comment in wrapped}
final = []