mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-04-27 03:00:12 -04:00
CommentBuilder: more timers.
This commit is contained in:
@@ -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 = []
|
||||
|
||||
|
||||
Reference in New Issue
Block a user