mirror of https://gitlab.com/bashrc2/epicyon
Extra benchmark
parent
899f006825
commit
213478ed42
|
@ -4464,11 +4464,26 @@ def individualPostAsHtml(recentPostsCache: {}, maxRecentPosts: int,
|
||||||
'<a href="' + inReplyTo + \
|
'<a href="' + inReplyTo + \
|
||||||
'">' + replyDisplayName + '</a>\n'
|
'">' + replyDisplayName + '</a>\n'
|
||||||
|
|
||||||
|
# benchmark 13.7
|
||||||
|
timeDiff = int((time.time() -
|
||||||
|
postStartTime) * 1000)
|
||||||
|
if timeDiff > 100:
|
||||||
|
print('TIMING INDIV ' + boxName +
|
||||||
|
' 13.7 = ' + str(timeDiff))
|
||||||
|
|
||||||
# show avatar of person replied to
|
# show avatar of person replied to
|
||||||
replyAvatarUrl = \
|
replyAvatarUrl = \
|
||||||
getPersonAvatarUrl(baseDir,
|
getPersonAvatarUrl(baseDir,
|
||||||
replyActor,
|
replyActor,
|
||||||
personCache)
|
personCache)
|
||||||
|
|
||||||
|
# benchmark 13.8
|
||||||
|
timeDiff = int((time.time() -
|
||||||
|
postStartTime) * 1000)
|
||||||
|
if timeDiff > 100:
|
||||||
|
print('TIMING INDIV ' + boxName +
|
||||||
|
' 13.8 = ' + str(timeDiff))
|
||||||
|
|
||||||
if replyAvatarUrl:
|
if replyAvatarUrl:
|
||||||
replyAvatarImageInPost = \
|
replyAvatarImageInPost = \
|
||||||
'<div class=' + \
|
'<div class=' + \
|
||||||
|
|
Loading…
Reference in New Issue