Adding in fast timer for testing creation of 300 avatar list items vs folderview items.
parent
4308ac194e
commit
46c690bd50
|
|
@ -1792,8 +1792,12 @@ void LLPanelPeople::onFacebookAppSendClicked()
|
|||
openFacebookWeb(p);
|
||||
}
|
||||
|
||||
static LLFastTimer::DeclareTimer FTM_AVATAR_LIST_TEST("avatar list test");
|
||||
|
||||
void LLPanelPeople::onFacebookTestAddClicked()
|
||||
{
|
||||
LLFastTimer _(FTM_AVATAR_LIST_TEST);
|
||||
|
||||
mFacebookFriends->clear();
|
||||
|
||||
LL_INFOS("LLPanelPeople") << "start adding 300 users" << LL_ENDL;
|
||||
|
|
|
|||
|
|
@ -402,9 +402,13 @@ void LLParticipantList::addAvatarIDExceptAgent(const LLUUID& avatar_id)
|
|||
adjustParticipant(avatar_id);
|
||||
}
|
||||
|
||||
static LLFastTimer::DeclareTimer FTM_FOLDERVIEW_TEST("add test avatar agents");
|
||||
|
||||
|
||||
void LLParticipantList::addTestAvatarAgents()
|
||||
{
|
||||
LLFastTimer _(FTM_FOLDERVIEW_TEST);
|
||||
|
||||
LL_INFOS("LLParticipantList") << "start adding 300 users" << LL_ENDL;
|
||||
|
||||
for(int i = 0; i < 300; ++i)
|
||||
|
|
|
|||
Loading…
Reference in New Issue